Skip to content
Merged
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
File renamed without changes.
7 changes: 4 additions & 3 deletions pages/_meta.json → pages/_meta.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
export default {
"introduction": "Introduction",
"howitworks": "How it works",
"quickstart": "Quickstart",
"installation": "Installation",
"reverse-proxies": "Reverse Proxies",
"configuration": "Configuration",
"providers": "Providers Configuration",
"support": "Support"
}
"support": "Support",
"developer-guide": "Developer Guide"
};
4 changes: 2 additions & 2 deletions pages/installation/_meta.json → pages/installation/_meta.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
export default {
"docker-compose": "Docker Compose",
"docker": "Docker (standalone)",
"kubernetes-helm": "Kubernetes with Helm",
"development": "Development Environment",
"devcontainer": "Devcontainer"
}
};
10 changes: 5 additions & 5 deletions pages/installation/development.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -146,8 +146,8 @@ If everything is not running - you had errors in the steps above, please head ov
## Next Steps

<Cards>
<Card title="Configure uploads" href="/configuration/r2" />
<Card title="Learn the architecture of the project" href="/howitworks" />
<Card title="Set up email for notifications" href="/emails" />
<Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
<Cards.Card title="Configure uploads" href="/configuration/r2" />
<Cards.Card title="Learn the architecture of the project" href="/howitworks" />
<Cards.Card title="Set up email for notifications" href="/emails" />
<Cards.Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
</Cards>
6 changes: 3 additions & 3 deletions pages/installation/docker-compose.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -138,8 +138,8 @@ If everything looks good, then you can access the Postiz web interface at https:
## Next Steps

<Cards>
<Card title="Learn the architecture of the project" href="/howitworks" />
<Card
<Cards.Card title="Learn the architecture of the project" href="/howitworks" />
<Cards.Card
title="Set up providers such as Linkedin, X and Reddit"
href="/providers"
/>
Expand Down
10 changes: 5 additions & 5 deletions pages/installation/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -36,8 +36,8 @@ docker create --name postiz -v ./config:/config -p 4200:4200 -p 3000:3000 ghcr.i
## Next Steps

<Cards>
<Card title="Configure uploads" href="/configuration/r2" />
<Card title="Learn the architecture of the project" href="/howitworks" />
<Card title="Set up email for notifications" href="/emails" />
<Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
<Cards.Card title="Configure uploads" href="/configuration/r2" />
<Cards.Card title="Learn the architecture of the project" href="/howitworks" />
<Cards.Card title="Set up email for notifications" href="/emails" />
<Cards.Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
</Cards>
6 changes: 3 additions & 3 deletions pages/installation/kubernetes-helm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -24,6 +24,6 @@ The `values.yml` file can be found in the repository, or a direct link to it is:
## Next Steps

<Cards>
<Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
<Card title="Learn the architecture of the project" href="/howitworks" />
<Cards.Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
<Cards.Card title="Learn the architecture of the project" href="/howitworks" />
</Cards>
6 changes: 3 additions & 3 deletions pages/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: 'Welcome to Postiz documentation'

---

import { Cards, Card } from "nextra/components";
import { Cards } from "nextra/components";

<div className="nx-mt-5 w-full flex justify-center rounded-full">
<img className="hidden nx-dark:block" style={{maxWidth: 150}} src="/logo/dark.png" alt="Hero Dark" />
Expand All @@ -20,12 +20,12 @@ Postiz helps you to manage all your social media accounts.
* Exchange or buy posts from other members on the marketplace.

<Cards>
<Card
<Cards.Card
icon={<></>}
title="Learn how to install the project and start using it"
href="/quickstart"
/>
<Card
<Cards.Card
icon={<></>}
title="Learn the architecture of the project"
href="/howitworks"
Expand Down
4 changes: 2 additions & 2 deletions pages/providers/_meta.json → pages/providers/_meta.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
export default {
"facebook": "Facebook",
"instagram": "Instagram",
"linkedin": "Linkedin",
"reddit": "Reddit",
"mastodon": "Mastodon",
"x": "X",
"youtube": "YouTube"
}
};
8 changes: 5 additions & 3 deletions theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;