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

Docs #66

Merged
merged 4 commits into from
Dec 13, 2023
Merged

Docs #66

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
12 changes: 6 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"lint": "next lint"
},
"dependencies": {
"@tabler/icons-react": "^2.39.0",
"@types/node": "20.2.0",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"next": "13.4.2",
"@tabler/icons-react": "^2.44.0",
"@types/node": "20.10.4",
"@types/react": "18.2.45",
"@types/react-dom": "18.2.17",
"next": "14.0.4",
"nextra": "^2.13.2",
"nextra-theme-docs": "^2.13.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.0.4"
"typescript": "5.3.3"
}
}
Binary file modified docs/public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/src/pages/docs/theme-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ Social media icon show on your website header. I all
Option | TYPE | Require | Description
------------- | ------------- | ------ | -------------
url | `string` | `true` | full link of social media
name | use any [Lucide icon(ex: facebook)](https://lucide.dev/icons/) | `false` | name of url
name | use any [Lucide icon(ex: facebook)](https://lucide.dev/icons/) | `true` | name of url
16 changes: 10 additions & 6 deletions docs/theme.config.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import type { DocsThemeConfig } from "nextra-theme-docs";

const themeConfig: DocsThemeConfig = {
logo: <span> Section Blog </span>,
logo: (
<>
<svg className="fill-black dark:fill-white" fill="currentColor" width="120" height="80" viewBox="60 90 1328 380" xmlns="http://www.w3.org/2000/svg">
<path fillRule="evenodd" clipRule="evenodd" d="M247.177 104.672C242.99 97.1095 232.118 97.1095 227.93 104.672L68.3924 392.805C64.333 400.137 69.6354 409.133 78.0158 409.133H397.092C405.472 409.133 410.775 400.137 406.715 392.805L247.177 104.672ZM238.312 323.4C258.367 323.4 274.625 307.864 274.625 288.7C274.625 269.536 258.367 254 238.312 254C218.258 254 202 269.536 202 288.7C202 307.864 218.258 323.4 238.312 323.4Z" />
</svg>
</>
),
project: {
link: "https://github.com/frontendweb3/section-theme-blog",
},
Expand All @@ -12,20 +18,18 @@ const themeConfig: DocsThemeConfig = {
</>
);
},
docsRepositoryBase:
"https://github.com/frontendweb3/section-theme-blog/blob/main/apps/docs/src/pages",
docsRepositoryBase: "https://github.com/frontendweb3/section-theme-blog/blob/main/apps/docs/src/pages",
footer: {
text: (
<span>
MIT {new Date().getFullYear()} ©{" "}
<a href="https://nextra.site" target="_blank">
Section Blog
Section Blog Theme
</a>
.
</span>
),
},
faviconGlyph: "/favicon.ico",
};

export default themeConfig;
export default themeConfig;