Skip to content

Commit

Permalink
Merge pull request #9 from Guillaumecoi/language-selector
Browse files Browse the repository at this point in the history
Language selector
  • Loading branch information
kRHYME7 authored Feb 28, 2025
2 parents 7a80685 + 7f22eae commit 7328abe
Show file tree
Hide file tree
Showing 25 changed files with 237 additions and 43 deletions.
42 changes: 29 additions & 13 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,41 @@ export default defineConfig({
integrations: [
starlight({
title: 'The HyDE project',
// Set English as the default language for this site.
defaultLocale: 'en',
locales: {
en: {
label: 'English',
},
es: {
label: 'Español',
lang: 'es',
},
de: {
label: 'Deutsch',
lang: 'de',
},
nl: {
label: 'Nederlands',
lang: 'nl',
},
zh: {
label: '中文',
lang: 'zh',
},
},
social: {
github: 'https://github.com/HyDE-Project',
discord: 'https://discord.gg/8nWbDC4SnP',
},
sidebar: [
{
label: 'Start Here',
autogenerate: {directory: 'start_here'},
},
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Get Started', slug: '/guides/getting-started'},
{ label: 'NVIDIA', slug: '/guides/nvidia'},
// {label: 'Configuration', slug: 'guides/configuration'},
],
autogenerate: {directory: 'guides'},
},
{
label: 'Installation & Management',
Expand All @@ -31,13 +53,7 @@ export default defineConfig({
},
{
label: 'Theming',
items: [
{ label: 'Making Themes', slug: 'themes/making-themes' },
{
label: 'Theme Gallery',
autogenerate: { directory: 'themes/hyde-gallery' }
}
]
autogenerate: {directory: 'themes'},
},
{
label: 'Extensions',
Expand Down
50 changes: 25 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/content/docs/index.mdx → src/content/docs/de/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ template: splash
hero:
tagline: Aesthetic, dynamic and minimal dots for Arch hyprland!
image:
file: ../../assets/hyde.png
file: ../../../assets/hyde.png
actions:
- text: Get started
link: /guides/getting-started/
link: ../de/start_here/getting-started/
icon: rocket
- text: Check out the project
link: https://github.com/HyDE-Project
Expand Down
8 changes: 8 additions & 0 deletions src/content/docs/de/start_here/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Get Started
description: Get started with HyDE.
---

<div align="center"><img src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/hyde_banner.png"><br></div>

This pages Has not yet been translated.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Installation guide for HyDE-cli
<div align="center">
<br>

![hyde_cli_banner](../../../assets/hyde-cli.png)
![hyde_cli_banner](../../../../assets/hyde-cli.png)

<style type="text/css">
img {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: NVIDIA
description: For NVIDIA GPU users
slug: "/guides/nvidia"
---

HyDE's installation automates the installation of **NVIDIA drivers** and **nvidia-utils**.
Expand Down
File renamed without changes.
37 changes: 37 additions & 0 deletions src/content/docs/en/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Welcome to HyDE project
description: Aesthetic, dynamic and minimal dots for Arch hyprland!
template: splash
hero:
tagline: Aesthetic, dynamic and minimal dots for Arch hyprland!
image:
file: ../../../assets/hyde.png
actions:
- text: Get started
link: ../en/start_here/getting-started/
icon: rocket
- text: Check out the project
link: https://github.com/HyDE-Project
icon: external
variant: minimal
---

import { Card, CardGrid } from '@astrojs/starlight/components';

## Features


<CardGrid stagger>
<Card title="XDG Compliance" icon="seti:vala">
Follows the XDG Base Directory Specification.
</Card>
<Card title="Easier core updates" icon="add-document">
Updates are now easier with the new core scripts.
</Card>
<Card title="Separate parent directory" icon="seti:folder">
Parent directory is now separate from the core scripts `(./hyde-shell)`.
</Card>
<Card title="New core scripts location" icon="seti:powershell">
Core scripts are now located in the `(./lib/hyde-shell/)` directory.
</Card>
</CardGrid>
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Get Started
description: Get started with HyDE.
slug: "/guides/getting-started"
---

<div align="center"><img src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/hyde_banner.png"><br></div>
Expand Down
File renamed without changes.
37 changes: 37 additions & 0 deletions src/content/docs/es/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Welcome to HyDE project
description: Aesthetic, dynamic and minimal dots for Arch hyprland!
template: splash
hero:
tagline: Aesthetic, dynamic and minimal dots for Arch hyprland!
image:
file: ../../../assets/hyde.png
actions:
- text: Get started
link: ../es/start_here/getting-started/
icon: rocket
- text: Check out the project
link: https://github.com/HyDE-Project
icon: external
variant: minimal
---

import { Card, CardGrid } from '@astrojs/starlight/components';

## Features


<CardGrid stagger>
<Card title="XDG Compliance" icon="seti:vala">
Follows the XDG Base Directory Specification.
</Card>
<Card title="Easier core updates" icon="add-document">
Updates are now easier with the new core scripts.
</Card>
<Card title="Separate parent directory" icon="seti:folder">
Parent directory is now separate from the core scripts `(./hyde-shell)`.
</Card>
<Card title="New core scripts location" icon="seti:powershell">
Core scripts are now located in the `(./lib/hyde-shell/)` directory.
</Card>
</CardGrid>
8 changes: 8 additions & 0 deletions src/content/docs/es/start_here/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Get Started
description: Get started with HyDE.
---

<div align="center"><img src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/hyde_banner.png"><br></div>

This pages Has not yet been translated.
37 changes: 37 additions & 0 deletions src/content/docs/nl/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Welcome to HyDE project
description: Aesthetic, dynamic and minimal dots for Arch hyprland!
template: splash
hero:
tagline: Aesthetic, dynamic and minimal dots for Arch hyprland!
image:
file: ../../../assets/hyde.png
actions:
- text: Get started
link: ../nl/start_here/getting-started/
icon: rocket
- text: Check out the project
link: https://github.com/HyDE-Project
icon: external
variant: minimal
---

import { Card, CardGrid } from '@astrojs/starlight/components';

## Features


<CardGrid stagger>
<Card title="XDG Compliance" icon="seti:vala">
Follows the XDG Base Directory Specification.
</Card>
<Card title="Easier core updates" icon="add-document">
Updates are now easier with the new core scripts.
</Card>
<Card title="Separate parent directory" icon="seti:folder">
Parent directory is now separate from the core scripts `(./hyde-shell)`.
</Card>
<Card title="New core scripts location" icon="seti:powershell">
Core scripts are now located in the `(./lib/hyde-shell/)` directory.
</Card>
</CardGrid>
8 changes: 8 additions & 0 deletions src/content/docs/nl/start_here/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Get Started
description: Get started with HyDE.
---

<div align="center"><img src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/hyde_banner.png"><br></div>

This pages Has not yet been translated.
Loading

0 comments on commit 7328abe

Please sign in to comment.