Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add td branding #237

Merged
merged 4 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
MIT License

Copyright (c) 2023 Jose Maria Valera Reales <chema@typeddevs.com>
Emmanuel Valverde Ramos <manu@typeddevs.com>
Antonio Gonzalez Gea <antonio@typeddevs.com>
Fabrizio Fasanando Sotelo <fabrizio@typeddevs.com>
Copyright (c) 2023 TypedDevs <team@typeddevs.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<br>
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/public/logo_name_dark.svg">
<img alt="bashunit" src="docs/public/logo_name.svg" width="400">
<source media="(prefers-color-scheme: dark)" srcset="docs/public/logo-name-dark.svg">
<img alt="bashunit" src="docs/public/logo-name.svg" width="400">
</picture>
</p>

Expand Down
14 changes: 10 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export default defineConfig({
},

logo: {
light: '/logo_navbar.svg',
dark: '/logo_navbar_dark.svg',
light: '/logo-navbar.svg',
dark: '/logo-navbar-dark.svg',
alt: 'bashunit'
},

Expand Down Expand Up @@ -103,8 +103,14 @@ export default defineConfig({
},

footer: {
message: 'Released under the MIT License.',
copyright: 'Copyright Β© 2023-present TypedDevs'
message: 'Released with ❀️ under the MIT License.',
copyright: `
Copyright Β© 2023-present
<a class="typeddevs-link" href="https://typeddevs.com/" target="_blank">
<img class="typeddevs-logo" src="/typeddevs.svg">
TypedDevs
</a>
`
}
},

Expand Down
10 changes: 10 additions & 0 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,13 @@ time {
.VPNavScreenMenu .VPNavScreenMenuLink {
font-weight: 600;
}

.typeddevs-link {
text-decoration: none !important;
}

.typeddevs-logo {
display: inline-block;
width: 1rem;
margin-left: 0.2rem;
}
48 changes: 48 additions & 0 deletions docs/ProductHuntBanner.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<template>
<div class="product-hunt-banner__container">
<a
href="https://www.producthunt.com/posts/bashunit?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-bashunit"
target="_blank"
rel="noreferrer"
title="bashunit - Product Hunt"
>
<img
class="product-hunt-banner__logo--light"
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=417750&theme=light"
alt=""
/>
<img
class="product-hunt-banner__logo--dark"
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=417750&theme=dark"
alt=""
/>
</a>
</div>
</template>

<script>
export default {}
</script>

<style>
.product-hunt-banner__container {
text-align: center;
margin-top: 4rem;
}

.product-hunt-banner__logo--light{
display: inline-block;
}

.product-hunt-banner__logo--dark{
display: none;
}

.dark .product-hunt-banner__logo--light{
display: none;
}

.dark .product-hunt-banner__logo--dark{
display: inline-block;
}
</style>
2 changes: 1 addition & 1 deletion docs/blog/0000-00-00-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: 'YYYY-MM-DD'
title: 'Template title'
description: 'Template description'
coverUrl: '/social_preview.png'
coverUrl: '/social-preview.png'
coverAlt: 'Cover description'

aside: false
Expand Down
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ features:
details: Seamlessly operates on Linux, macOS, and Windows (via WSL), facilitating a consistent testing environment across major platforms.
---

<ProductHuntBanner />

<script setup lang="ts">
import { onMounted } from 'vue';
import VanillaTilt from 'vanilla-tilt';
import ProductHuntBanner from "./ProductHuntBanner.vue";

onMounted(() => {
const heroImage = document.querySelector('.VPHero .VPImage');
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 1 addition & 0 deletions docs/public/typeddevs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Docs for bashunit a simple testing library for bash scripts",
"main": "index.js",
"repository": "git@github.com:TypedDevs/bashunit.git",
"author": "Jose Maria Valera Reales <chema@typeddevs.com> Emmanuel Valverde Ramos <manu@typeddevs.com> Antonio Gonzalez Gea <antonio@typeddevs.com> Fabrizio Fasanando Sotelo <fabrizio@typeddevs.com>",
"author": "TypedDevs <team@typeddevs.com>",
"license": "MIT",
"type": "module",
"scripts": {
Expand Down