Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Nov 19, 2023
1 parent c1fceee commit a567f39
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 60 deletions.
62 changes: 6 additions & 56 deletions apps/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,7 @@ const nav = [
{
text: 'Docs',
activeMatch: `^/(docs|style-guide|examples|tutorial)/`,
items: [
{ text: 'Guide', link: '/docs/introduction/' },
{ text: 'Tutorial', link: '/tutorial/' },
{ text: 'Online Playground', link: 'https://sandbox.leafphp.dev/' },
{
text: 'Leaf Modules',
link: '/modules/'
},
{
text: 'Migration from Leaf 2',
link: '/docs/migration/introduction'
},
{
text: 'Leaf 2 Docs',
link: 'https://archive.leafphp.dev'
},
{
text: 'Changelog',
link: '/changes'
}
]
link: '/docs/introduction/',
},
{
text: 'Ecosystem',
Expand All @@ -39,51 +19,21 @@ const nav = [
text: 'Core Projects',
items: [
{
text: 'Leaf MVC',
link: 'https://mvc.leafphp.dev/'
text: 'Leaf PHP',
link: 'https://leafphp.dev/'
},
{
text: 'Leaf API',
link: 'https://api.leafphp.dev/'
},
{
text: 'Leaf Skeleton',
link: 'https://skeleton.leafphp.dev/'
}
]
},
{
text: 'Tooling',
ariaLabel: 'Tooling Menu',
items: [
{
text: 'Aloe CLI',
link: '/aloe-cli/'
},
{
text: 'Leaf CLI',
text: 'Hana CLI',
link: '/docs/cli/'
},
{
text: 'Leaf UI',
link: 'https://ui.leafphp.dev/'
}
]
},
{
text: 'Resources',
ariaLabel: 'Resources Menu',
items: [
{
text: 'Project Showcase',
link: '/ecosystem/showcase'
},
{
text: 'Codelabs',
link: '/codelabs/'
}
]
}
]
},
{
Expand Down Expand Up @@ -474,8 +424,8 @@ export default defineConfigWithTheme<ThemeConfig>({
logo: '/logo-circle.png',
extends: baseConfig,
lang: 'en-US',
title: 'Leaf PHP',
description: 'Leaf PHP - Simple and elegant PHP',
title: 'Hanabira',
description: 'Hana - React for Humans',
srcDir: 'src',
srcExclude: ['tutorial/**/description.md'],
scrollOffset: 'header',
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/.vitepress/theme/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import Footer from './Footer.vue';
<img src="/logo-circle.png" class="w:20 mr:_10 d-sm-down:none hero-logo" alt="Leaf" />
<div class="content-left">
<h1 class="tagline">
<span class="accent">Leaf 3.0</span>
<span class="accent">Hana.js</span>
</h1>
<p class="description">
Simple and elegant PHP
React for humans
</p>
<p class="actions">
<vue-mastery-modal />
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Leaf 3
# Hanabira

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
page: true
title: Leaf PHP - Simple and elegant PHP
title: Hana - React for Humans
---

<script setup>
Expand Down

0 comments on commit a567f39

Please sign in to comment.