Skip to content

Commit

Permalink
docs: branding
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Jun 23, 2021
1 parent 603d2e5 commit 4416b79
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 36 deletions.
5 changes: 4 additions & 1 deletion docs/components/AsideBottom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
>
<Component :is="resource.icon" v-if="resource.icon" class="w-5 h-5 mr-2" :class="resource.iconClass" />
<span>{{ resource.title }}</span>
<IconExternalLink class="w-4 h-4 ml-2 text-gray-400 opacity-0 group-hover:opacity-100" />
<IconExternalLink
v-if="resource.to.startsWith('https://')"
class="w-4 h-4 ml-2 text-gray-400 opacity-0 group-hover:opacity-100"
/>
</NuxtLink>
</li>
</ul>
Expand Down
11 changes: 6 additions & 5 deletions docs/content/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Documentation Generator based on Nuxt and Windi.
title: The Jamstack Website Generator.
description: >-
Write pages in markdown, use Vue components, add style with Windi CSS and enjoy the power of Nuxt with a blazing fast developer experience.
Write pages in markdown, use Vue components, add style with Windi CSS and
enjoy the power of Nuxt with a blazing fast developer experience.
template: page
navigation: false
layout.asideClass: 'block lg:hidden'
Expand All @@ -15,13 +16,13 @@ cta:
secondary:
- Open on GitHub →
- https://github.com/nuxtlabs/docus
snippet: npx degit nuxtlabs/docus-starter#main docs
snippet: npx docus-init my-website

---title
Documentation Generator based on Nuxt and Windi.
The Jamstack Website Generator.

---description
Write pages in markdown, use Vue components, add style with Windi CSS and enjoy the power of Nuxt with a blazing fast developer experience.
Write pages in markdown, use [Vue](https://vuejs.org) components, add style with [Windi CSS](https://windicss.org/) and enjoy the power of [Nuxt](https://nuxtjs.org) with a blazing fast developer experience.
::

::card-grid{title="What's included?"}
Expand Down
12 changes: 12 additions & 0 deletions docs/docus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,17 @@ export default {
branch: 'main',
dir: 'docs',
releases: true
},
theme: {
header: {
title: false,
logo: {
light: '/logo-light.svg',
dark: '/logo-dark.svg'
}
},
colors: {
primary: '#3073F1'
}
}
}
16 changes: 1 addition & 15 deletions docs/static/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

1 comment on commit 4416b79

@vercel
Copy link

@vercel vercel bot commented on 4416b79 Jun 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.