diff --git a/pages/_app.mjs b/pages/_app.tsx similarity index 100% rename from pages/_app.mjs rename to pages/_app.tsx diff --git a/pages/_meta.json b/pages/_meta.js similarity index 74% rename from pages/_meta.json rename to pages/_meta.js index e08843c..e5310dd 100644 --- a/pages/_meta.json +++ b/pages/_meta.js @@ -1,4 +1,4 @@ -{ +export default { "introduction": "Introduction", "howitworks": "How it works", "quickstart": "Quickstart", @@ -6,5 +6,6 @@ "reverse-proxies": "Reverse Proxies", "configuration": "Configuration", "providers": "Providers Configuration", - "support": "Support" -} + "support": "Support", + "developer-guide": "Developer Guide" +}; diff --git a/pages/installation/_meta.json b/pages/installation/_meta.js similarity index 90% rename from pages/installation/_meta.json rename to pages/installation/_meta.js index 896f5cf..46c260f 100644 --- a/pages/installation/_meta.json +++ b/pages/installation/_meta.js @@ -1,7 +1,7 @@ -{ +export default { "docker-compose": "Docker Compose", "docker": "Docker (standalone)", "kubernetes-helm": "Kubernetes with Helm", "development": "Development Environment", "devcontainer": "Devcontainer" -} +}; diff --git a/pages/installation/development.mdx b/pages/installation/development.mdx index d90faaf..a4b89dc 100644 --- a/pages/installation/development.mdx +++ b/pages/installation/development.mdx @@ -2,7 +2,7 @@ title: Development Environment --- -import { Cards, Card, Steps } from 'nextra/components'; +import { Cards, Steps } from 'nextra/components'; import Prereqs from '../../components/snippets/installation-pre-reqs.mdx'; This is currently the recommended option to install Postiz in a supportable configuration. The docker images are in active and heavy development for now. @@ -146,8 +146,8 @@ If everything is not running - you had errors in the steps above, please head ov ## Next Steps - - - - + + + + diff --git a/pages/installation/docker-compose.mdx b/pages/installation/docker-compose.mdx index ae79475..10f01b1 100644 --- a/pages/installation/docker-compose.mdx +++ b/pages/installation/docker-compose.mdx @@ -4,7 +4,7 @@ title: Docker Compose import { Callout } from "nextra/components"; import DockerEnvvarApps from '../../components/snippets/docker-envvar-apps.mdx'; -import { Cards, Card } from 'nextra/components'; +import { Cards } from 'nextra/components'; import Prereqs from '../../components/snippets/installation-pre-reqs.mdx'; ## Docker Compose @@ -138,8 +138,8 @@ If everything looks good, then you can access the Postiz web interface at https: ## Next Steps - - + diff --git a/pages/installation/docker.mdx b/pages/installation/docker.mdx index 18162b7..1c01d01 100644 --- a/pages/installation/docker.mdx +++ b/pages/installation/docker.mdx @@ -3,7 +3,7 @@ title: Docker --- import DockerEnvvarApps from "../../components/snippets/docker-envvar-apps.mdx"; -import { Cards, Card, Steps } from 'nextra/components'; +import { Cards, Steps } from 'nextra/components'; import InstallationRecommendedOptions from "../../components/snippets/installation-recommended-options.mdx"; import Prereqs from '../../components/snippets/installation-pre-reqs.mdx'; @@ -36,8 +36,8 @@ docker create --name postiz -v ./config:/config -p 4200:4200 -p 3000:3000 ghcr.i ## Next Steps - - - - + + + + diff --git a/pages/installation/kubernetes-helm.mdx b/pages/installation/kubernetes-helm.mdx index abeb6cf..82fcf52 100644 --- a/pages/installation/kubernetes-helm.mdx +++ b/pages/installation/kubernetes-helm.mdx @@ -3,7 +3,7 @@ title: Helm --- import EarlyDoc from '../../components/snippets/earlydoc.mdx'; -import { Cards, Card, Steps } from 'nextra/components'; +import { Cards, Steps } from 'nextra/components'; import InstallationRecommendedOptions from "../../components/snippets/installation-recommended-options.mdx"; import Prereqs from '../../components/snippets/installation-pre-reqs.mdx'; @@ -24,6 +24,6 @@ The `values.yml` file can be found in the repository, or a direct link to it is: ## Next Steps - - + + diff --git a/pages/introduction.mdx b/pages/introduction.mdx index 79f1a03..5b65622 100644 --- a/pages/introduction.mdx +++ b/pages/introduction.mdx @@ -5,7 +5,7 @@ description: 'Welcome to Postiz documentation' --- -import { Cards, Card } from "nextra/components"; +import { Cards } from "nextra/components";
Hero Dark @@ -20,12 +20,12 @@ Postiz helps you to manage all your social media accounts. * Exchange or buy posts from other members on the marketplace. - } title="Learn how to install the project and start using it" href="/quickstart" /> - } title="Learn the architecture of the project" href="/howitworks" diff --git a/pages/providers/_meta.json b/pages/providers/_meta.js similarity index 89% rename from pages/providers/_meta.json rename to pages/providers/_meta.js index 7fab888..5b5db0c 100644 --- a/pages/providers/_meta.json +++ b/pages/providers/_meta.js @@ -1,4 +1,4 @@ -{ +export default { "facebook": "Facebook", "instagram": "Instagram", "linkedin": "Linkedin", @@ -6,4 +6,4 @@ "mastodon": "Mastodon", "x": "X", "youtube": "YouTube" -} +}; diff --git a/theme.config.tsx b/theme.config.tsx index ee44a75..2d4ca20 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -65,15 +65,17 @@ const themeConfig: DocsThemeConfig = { }, docsRepositoryBase: "https://github.com/gitroomhq/postiz-docs/blob/main", footer: { - text: "Gitroom Limited. All rights reserved.", + content: "Gitroom Limited. All rights reserved.", }, darkMode: false, nextThemes: { defaultTheme: "dark", forcedTheme: "dark", }, - primaryHue: 280, - primarySaturation: 100, + color: { + hue: 280, + saturation: 100, + } }; export default themeConfig;