Skip to content

Commit

Permalink
chore: tagline and subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanodecillis committed Sep 15, 2023
1 parent 3a2f91a commit 097d059
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 14 deletions.
43 changes: 31 additions & 12 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,26 +1,45 @@
import { defineConfig } from "vitepress";

const sidebars = {
gettingStarted: {
text: "Getting Started",
collapsed: true,
items: [
{ text: "Runtime API Examples", link: "/api-examples" },
{
text: "Cloudflare Workers",
link: "/getting-started/cloudflare-workers",
},
],
},
middleware: {
text: "Middleware",
collapsed: true,
items: [
{ text: "Markdown Examples", link: "/markdown-examples" },
{
text: "Bearer Authentication",
link: "/middleware/builtin/bearer-auth",
},
{ text: "Cache", link: "/middleware/builtin/cache" },
],
},
};

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Indid Docs",
description: "A brand new website that helps you use Indid infrastructure",
description: "Account Abstraction Infrastructure",
ignoreDeadLinks: true,
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: "Home", link: "/" },
{ text: "Examples", link: "/markdown-examples" },
],

sidebar: [
{
text: "Examples",
items: [
{ text: "Markdown Examples", link: "/markdown-examples" },
{ text: "Runtime API Examples", link: "/api-examples" },
],
},
],

sidebar: {
"/": [sidebars["gettingStarted"], sidebars["middleware"]],
},
socialLinks: [
{
icon: "github",
Expand Down
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ layout: home

hero:
name: "Indid Docs"
text: "A brand new website that helps you use Indid infrastructure"
tagline: Use Account Abstraction in your project
text: "Account Abstraction Infrastructure"
tagline: Simple and powerful APIs for your blockchain applications
actions:
- theme: brand
text: Get Started
Expand Down

0 comments on commit 097d059

Please sign in to comment.