Skip to content

Commit

Permalink
Merge pull request #9 from daprieu/chore-remove-DOCS-wordmark
Browse files Browse the repository at this point in the history
removed Docs wordmark, fixed folder names, added navigation to Docume…
  • Loading branch information
daprieu committed Aug 22, 2023
2 parents c3f1d5f + a14d701 commit 0e89887
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 21 deletions.
14 changes: 14 additions & 0 deletions .pnpm-debug.log
@@ -0,0 +1,14 @@
{
"0 debug pnpm:scope": {
"selected": 1
},
"1 error pnpm": {
"code": "ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND",
"err": {
"name": "pnpm",
"message": "No package.json (or package.yaml, or package.json5) was found in \"/Users/danielprieu/workspace/clutch\".",
"code": "ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND",
"stack": "pnpm: No package.json (or package.yaml, or package.json5) was found in \"/Users/danielprieu/workspace/clutch\".\n at readProjectManifest (/Users/danielprieu/.cache/node/corepack/pnpm/7.0.0/dist/pnpm.cjs:19655:13)\n at async Object.readProjectManifestOnly (/Users/danielprieu/.cache/node/corepack/pnpm/7.0.0/dist/pnpm.cjs:19659:28)\n at async readProjectManifestOnly (/Users/danielprieu/.cache/node/corepack/pnpm/7.0.0/dist/pnpm.cjs:43649:24)\n at async Object.handler (/Users/danielprieu/.cache/node/corepack/pnpm/7.0.0/dist/pnpm.cjs:170931:24)\n at async /Users/danielprieu/.cache/node/corepack/pnpm/7.0.0/dist/pnpm.cjs:175391:21\n at async run (/Users/danielprieu/.cache/node/corepack/pnpm/7.0.0/dist/pnpm.cjs:175365:34)\n at async runPnpm (/Users/danielprieu/.cache/node/corepack/pnpm/7.0.0/dist/pnpm.cjs:175583:5)\n at async /Users/danielprieu/.cache/node/corepack/pnpm/7.0.0/dist/pnpm.cjs:175575:7"
}
}
}
File renamed without changes.
@@ -1,13 +1,10 @@
import React from "react";
import styles from "./HeaderLogo.module.css"
import styles from "./HeaderLogo.module.css";
export const HeaderLogo = () => (


<a className={styles.headerLogo} href="https://clutch.io">
<a className={styles.headerLogo} href="https://clutch.io">
<span>
<svg

width="260"
height="260"
height="24"
viewBox="0 0 260 260"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -25,8 +22,6 @@ export const HeaderLogo = () => (
fill="currentColor"
/>
</svg>
</a>



</span>
</a>
);
File renamed without changes.
13 changes: 9 additions & 4 deletions docs/pages/_meta.json
@@ -1,8 +1,13 @@
{
"index": "Getting Started",
"-- Guides": {
"type": "separator",
"title": "Guides"
"documentation": {
"title": "Documentation",
"type": "page",
"href": "/"
},
"comingSoon": "Coming Soon"
"guides": {
"title": "Guides",
"type": "page"
}

}
3 changes: 3 additions & 0 deletions docs/pages/guides/_meta.json
@@ -0,0 +1,3 @@
{
"comingSoon": "Coming Soon"
}
File renamed without changes.
14 changes: 8 additions & 6 deletions docs/theme.config.tsx
@@ -1,11 +1,10 @@
import { useRouter } from "next/router";
import { HeaderLogo } from "./components/headerLogo/HeaderLogo";
import { FooterLogo } from "./components/footerLogo/FooterLogo";
import { LogoDivider } from "./components/logoDivider/LogoDivider";
import { DocsWordMark } from "./components/docsWordMark/DocsWordMark";
import { HeaderLogo } from "./components/header-logo/HeaderLogo";
import { FooterLogo } from "./components/footer-logo/FooterLogo";


export default {
logo: <><HeaderLogo/><LogoDivider/><DocsWordMark/></>,
logo: <><HeaderLogo/></>,
logoLink: false,
docsRepositoryBase: "https://github.com/clutch-creator/clutch/tree/main/docs",
project: {
Expand Down Expand Up @@ -37,11 +36,14 @@ export default {
);
},
primaryHue: 151,
darkMode: false,
darkMode: true,
nextThemes: {
defaultTheme: 'dark',
themes: ['dark'],
},
sidebar: {
toggleButton: true,
},
footer: {
text: (
<div
Expand Down

0 comments on commit 0e89887

Please sign in to comment.