Make everything look nicer

This commit is contained in:
Captain Jack Sparrow 2024-04-26 14:56:26 +00:00
parent 0edd3c72b3
commit e4c413052f
5 changed files with 308 additions and 276 deletions

View file

@ -11,18 +11,18 @@
}, },
"devDependencies": { "devDependencies": {
"@types/react": "18.2.73", "@types/react": "18.2.73",
"eslint": "^8.56.0", "eslint": "^8.57.0",
"eslint-config-next": "^14.1.4", "eslint-config-next": "^14.2.3",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2", "eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.1.1", "prettier": "^3.2.5",
"typescript": "5.4.3" "typescript": "5.4.3"
}, },
"dependencies": { "dependencies": {
"@neato/guider": "^1.0.1", "@neato/guider": "^1.0.2",
"next": "^14.1.4", "next": "^14.2.3",
"next-seo": "^6.5.0", "next-seo": "^6.5.0",
"react": "^18.2.0", "react": "^18.3.0",
"react-dom": "^18.2.0" "react-dom": "^18.3.0"
} }
} }

View file

@ -18,7 +18,7 @@ export default function LandingPage() {
<Hero.Actions> <Hero.Actions>
<Button to="/self-hosting/hosting-intro">Get Started</Button> <Button to="/self-hosting/hosting-intro">Get Started</Button>
<Button to="https://github.com/sussy-code/smov" type="secondary"> <Button to="https://github.com/sussy-code/smov" type="secondary">
Open on GitHub Open on GitHub
</Button> </Button>
</Hero.Actions> </Hero.Actions>
</Hero> </Hero>

View file

@ -7,8 +7,12 @@ title: 'Instances'
This page showcases sudo-flix instances hosted by the community. This page showcases sudo-flix instances hosted by the community.
<Note> <Note>
Instances with a 📦 next to the link have the NSBX API meaning there's more sources and features! * Sites with a `🛡️` next to them are official instances hosted by the sudo-flix team.
* Sites with a `💾` next to them use the sudo-backend meaning your data is synced across these sites.
* Sites with a `📱` next to them have PWA support meaning you can use the site as a native app on your phone.
</Note> </Note>
- [sudo-flix.lol](https://sudo-flix.lol) 📦 | Site | Host | Stats |
- [kanded.xyz](https://flix.kanded.xyz) |:---------------------------------------|:------------------|:------------|
| [sudo-flix.lol](https://sudo-flix.lol) | sudo-flix team | 🛡️💾📱 |
| [kanded.xyz](https://flix.kanded.xyz) | sudo-flix team | 🛡️💾📱 |

File diff suppressed because it is too large Load diff

View file

@ -4,8 +4,22 @@ import { NextSeo } from 'next-seo';
import coverUrl from "./public/cover.png"; import coverUrl from "./public/cover.png";
import faviconUrl from "./public/favicon.ico"; import faviconUrl from "./public/favicon.ico";
const starLinks = [
link('GitHub', 'https://github.com/sussy-code/smov', {
style: 'star',
newTab: true,
icon: 'akar-icons:github-fill',
}),
link('Discord', 'https://discord.gg/9vmr6vBQKS', {
style: 'star',
newTab: true,
icon: 'fa6-brands:discord',
}),
];
export default defineTheme({ export default defineTheme({
github: "sussy-code/smov", github: "sussy-code/smov",
navigation: [link('Check it out', 'https://sudo-flix.lol')],
contentFooter: { contentFooter: {
text: "Made with :3 (sillyness)", text: "Made with :3 (sillyness)",
editRepositoryBase: "https://github.com/sussy-code/docs/blob/master", editRepositoryBase: "https://github.com/sussy-code/docs/blob/master",
@ -39,6 +53,7 @@ export default defineTheme({
), ),
settings: { settings: {
logo: () => <Logo />, logo: () => <Logo />,
backgroundPattern: 'flare',
colors: { colors: {
"primary": "#A476D9", "primary": "#A476D9",
"primaryLighter": "#C4ADDE", "primaryLighter": "#C4ADDE",
@ -51,11 +66,12 @@ export default defineTheme({
"text": "#8C899A", "text": "#8C899A",
"textLighter": "#A6A4AE", "textLighter": "#A6A4AE",
"textHighlight": "#fff" "textHighlight": "#fff"
} },
}, },
directories: [ directories: [
directory("main", { directory("main", {
sidebar: [ sidebar: [
...starLinks,
group("Global", [ group("Global", [
link("Instances", "/instances", { icon: 'mdi:web' }), link("Instances", "/instances", { icon: 'mdi:web' }),
link("Browser extension", "/extension", { icon: 'mdi:extension' }), link("Browser extension", "/extension", { icon: 'mdi:extension' }),