Skip to content

Commit

Permalink
feat: fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevo David committed Sep 15, 2024
1 parent a9c95ee commit 9fccdc7
Show file tree
Hide file tree
Showing 14 changed files with 3,284 additions and 8,131 deletions.
5 changes: 0 additions & 5 deletions apps/docs/lib/ScarfPixel.tsx

This file was deleted.

44 changes: 0 additions & 44 deletions apps/docs/lib/hooks/useRB2B.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions apps/docs/lib/hooks/useTailoredContent.tsx

This file was deleted.

66 changes: 0 additions & 66 deletions apps/docs/lib/providers/PostHogProvider.tsx

This file was deleted.

Binary file removed apps/docs/public/android-chrome-192x192.png
Binary file not shown.
Binary file removed apps/docs/public/android-chrome-512x512.png
Binary file not shown.
Binary file removed apps/docs/public/apple-touch-icon.png
Binary file not shown.
Binary file removed apps/docs/public/favicon-16x16.png
Binary file not shown.
Binary file removed apps/docs/public/favicon-32x32.png
Binary file not shown.
Binary file modified apps/docs/public/favicon.ico
Binary file not shown.
Binary file added apps/docs/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 10 additions & 27 deletions apps/docs/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,51 +17,34 @@ const themeConfig: DocsThemeConfig = {
<title>{ogTitle}</title>

<meta name="viewport" content="width=device-width" />
<meta name="application-name" content="CopilotKit" />
<meta name="application-name" content="Postiz" />
<meta name="msapplication-TileColor" content="#4f46e5" />
<meta name="theme-color" content="#ffffff" />
<meta name="charset" content="utf-8" />
<meta
property="description"
content="CopilotKit is the simplest way to integrate production-ready Copilots into any product."
content="Postiz - Open source social media scheduling tool"
/>

<link rel="sitemap" type="application/xml" href="/sitemap.xml" />
<link rel="icon" href="/favicon.ico" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<link rel="canonical" href={pagePath} />

<meta
property="og:description"
content="CopilotKit is the simplest way to integrate production-ready Copilots into any product."
content="Postiz - Open source social media scheduling tool"
/>
<meta property="og:site_name" content="CopilotKit Documentation" />
<meta property="og:site_name" content="Postiz Documentation" />
<meta
name="og:url"
content={`https://docs.copilotkit.ai/${pagePath}`}
content={`https://docs.postiz.com/${pagePath}`}
/>
<meta name="og:title" content={ogTitle} />
<meta name="og:image" content={ogImageUrl} />
<meta name="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content={ogTitle} />
<meta name="twitter:description" content="CopilotKit Documentation" />
<meta name="twitter:description" content="Postiz Documentation" />
<meta name="twitter:image" content={ogImageUrl} />
</>
);
Expand All @@ -70,20 +53,20 @@ const themeConfig: DocsThemeConfig = {
<div className="flex items-center gap-x-2">
<Image
src="/logo/dark.png"
alt="CopilotKit"
alt="Postiz"
height={34}
width={130}
/>
<span className="font-semibold text-white">Docs</span>
</div>
),
project: {
link: "https://github.com/copilotkit/copilotkit",
link: "https://github.com/gitroomhq/postiz-app",
},
chat: {
link: "https://discord.gg/6dffbvGU3D",
link: "https://discord.postiz.com",
},
docsRepositoryBase: "https://github.com/copilotkit/copilotkit",
docsRepositoryBase: "https://github.com/gitroomhq/postiz-app",
footer: {
text: "Gitroom Limited. All rights reserved.",
},
Expand Down
Loading

0 comments on commit 9fccdc7

Please sign in to comment.