Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zce committed Nov 26, 2023
1 parent 9ba0615 commit c63b684
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: 'Velite',
description: "Velite is a tool for building type-safe data layer for application, turn Markdown/MDX, YAML, JSON, or other files into app's data layer with Zod schema.",
description: "Velite is a tool for building type-safe data layer, turn Markdown/MDX, YAML, JSON, or other files into app's data layer with Zod schema.",
lastUpdated: true,
cleanUrls: true,
head: [
['meta', { name: 'theme-color', content: '#1b1b1f' }],
['meta', { name: 'og:type', content: 'website' }],
['meta', { name: 'og:locale', content: 'en' }],
['meta', { name: 'og:site_name', content: 'Velite' }],
['meta', { name: 'og:image', content: 'https://velite.js.org/velite-og.png' }]
['meta', { name: 'og:image', content: 'https://velite.js.org/velite-og.jpg' }]
],
// locales: {
// root: { label: 'English', lang: 'en', link: '/' },
Expand All @@ -23,7 +22,6 @@ export default defineConfig({
// }
// },
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
siteTitle: false,
logo: {
light: '/assets/nav-logo-light.svg',
Expand Down Expand Up @@ -93,8 +91,8 @@ export default defineConfig({
text: 'Concepts',
base: '/guide/',
items: [
{ text: 'How Velite Works', link: 'how-it-works' }
// { text: 'Motivation', link: 'motivation' }
{ text: 'How Velite Works', link: 'how-it-works' },
{ text: 'Motivation', link: 'motivation' }
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ However, I have provided some [examples](https://github.com/zce/velite/tree/main

## What is Velite?

Velite is a tool for building type-safe data layer for application, turn Markdown/MDX, YAML, JSON, or other files into app's data layer with Zod schema.
Velite is a tool for building type-safe data layer, turn Markdown/MDX, YAML, JSON, or other files into app's data layer with Zod schema.

![Velite Workflow](/assets/flow-dark.svg#dark 'Velite Workflow')
![Velite Workflow](/assets/flow.svg#light 'Velite Workflow')
Expand Down
Binary file added docs/public/velite-og.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/public/velite-og.png
Binary file not shown.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ However, I have provided some [examples](https://github.com/zce/velite/tree/main

## What is Velite?

Velite is a tool for building type-safe data layer for application, turn Markdown/MDX, YAML, JSON, or other files into app's data layer with Zod schema.
Velite is a tool for building type-safe data layer, turn Markdown/MDX, YAML, JSON, or other files into app's data layer with Zod schema.

<picture>
<source srcset="https://velite.js.org/assets/flow-dark.svg" media="(prefers-color-scheme: dark)">
Expand Down

0 comments on commit c63b684

Please sign in to comment.