Skip to content

Commit 2d73b58

Browse files
Remake home page
1 parent 3af4ca9 commit 2d73b58

File tree

8 files changed

+26
-100
lines changed

8 files changed

+26
-100
lines changed

web/astro.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default defineConfig({
3838
},
3939
items: [
4040
{
41-
label: 'Introduction', link: 'Introduction',
41+
label: 'Introduction', link: '/',
4242
translations: {
4343
es: 'Introducción',
4444
fr: 'Introduction',

web/src/overrides/Pagination.astro

+7
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@ import IconLinkCard from '@src/components/IconLinkCard.astro';
1616
description="Engage with the community in the old-fashioned way."
1717
href="https://forum.multitheftauto.com/" />
1818
</CardGrid>
19+
20+
21+
<IconLinkCard
22+
icon="github"
23+
title="GitHub Repository"
24+
description="Contribute to the Wiki project or report issues."
25+
href="https://github.com/multitheftauto/wiki.multitheftauto.com" />

web/src/pages/Introduction.mdx

-9
This file was deleted.

web/src/pages/es/Introduction.mdx

-9
This file was deleted.

web/src/pages/es/index.mdx

+6-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,9 @@
11
import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro';
22

33
<StarlightPage frontmatter={{
4-
template: 'splash',
5-
title: 'Bienvenido',
6-
description: 'El nuevo wiki de Multi Theft Auto',
7-
hero: {
8-
tagline: 'El nuevo wiki de Multi Theft Auto está actualmente en construcción!',
9-
actions: [
10-
{
11-
link: 'Introduction',
12-
text: 'Empieza aquí',
13-
icon: 'right-arrow'
14-
},
15-
{
16-
link: 'https://github.com/multitheftauto/wiki.multitheftauto.com',
17-
text: 'Contribuye en GitHub',
18-
icon: 'github',
19-
variant: 'minimal',
20-
attrs: {
21-
target: '_blank',
22-
rel: 'noopener'
23-
}
24-
}
25-
]
26-
}
27-
}} />
4+
template: 'doc',
5+
title: 'Introducción 🇪🇸',
6+
tableOfContents: false,
7+
}}>
8+
Bienvenido
9+
</StarlightPage>

web/src/pages/fr/Introduction.mdx

-9
This file was deleted.

web/src/pages/fr/index.mdx

+6-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,9 @@
11
import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro';
22

33
<StarlightPage frontmatter={{
4-
template: 'splash',
5-
title: 'Bienvenue',
6-
description: 'Le nouveau wiki de Multi Theft Auto',
7-
hero: {
8-
tagline: 'Le nouveau wiki de Multi Theft Auto est actuellement en construction !',
9-
actions: [
10-
{
11-
link: 'Introduction',
12-
text: 'Commence Ici',
13-
icon: 'right-arrow'
14-
},
15-
{
16-
link: 'https://github.com/multitheftauto/wiki.multitheftauto.com',
17-
text: 'Contribue sur GitHub',
18-
icon: 'github',
19-
variant: 'minimal',
20-
attrs: {
21-
target: '_blank',
22-
rel: 'noopener'
23-
}
24-
}
25-
]
26-
}
27-
}} />
4+
template: 'doc',
5+
title: 'Introduction 🇫🇷',
6+
tableOfContents: false,
7+
}}>
8+
Bienvenue
9+
</StarlightPage>

web/src/pages/index.mdx

+6-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,9 @@
11
import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro';
22

33
<StarlightPage frontmatter={{
4-
template: 'splash',
5-
title: 'Welcome',
6-
description: 'The new knowledge base of Multi Theft Auto',
7-
hero: {
8-
tagline: 'The new Multi Theft Auto: Wiki is currently under construction!',
9-
actions: [
10-
{
11-
link: 'Introduction',
12-
text: 'Get Started',
13-
icon: 'right-arrow'
14-
},
15-
{
16-
link: 'https://github.com/multitheftauto/wiki.multitheftauto.com',
17-
text: 'Contribute on GitHub',
18-
icon: 'github',
19-
variant: 'minimal',
20-
attrs: {
21-
target: '_blank',
22-
rel: 'noopener'
23-
}
24-
}
25-
]
26-
}
27-
}} />
4+
template: 'doc',
5+
title: 'Introduction',
6+
tableOfContents: false,
7+
}}>
8+
Welcome
9+
</StarlightPage>

0 commit comments

Comments
 (0)