Skip to content

Commit 6e5253e

Browse files
Update github link
1 parent 959af31 commit 6e5253e

File tree

3 files changed

+32
-11
lines changed

3 files changed

+32
-11
lines changed

web/astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ export default defineConfig({
2525
light: './src/assets/logo-black.png',
2626
dark: './src/assets/logo-white.png',
2727
},
28+
social: [
29+
{ icon: 'github', label: 'GitHub', href: 'https://github.com/multitheftauto/wiki.multitheftauto.com' },
30+
],
2831
components: {
2932
// Override some default components
3033
PageTitle: './src/overrides/PageTitle.astro',

web/src/overrides/Pagination.astro

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,41 @@ import IconLinkCard from '@src/components/IconLinkCard.astro';
66
<CardGrid>
77
<IconLinkCard
88
icon="seti:powershell"
9-
iconColor="var(--sl-color-red)"
9+
iconColor="#ca6c26"
1010
title="Functions"
11-
titleColor="var(--sl-color-red)"
11+
titleColor="#ca6c26"
1212
description="List of all client-side, server-side and shared functions"
1313
href="/Scripting_Functions" />
1414

1515
<IconLinkCard
1616
icon="seti:purescript"
17-
iconColor="var(--sl-color-blue)"
17+
iconColor="#ca6c26"
1818
title="Events"
19-
titleColor="var(--sl-color-blue)"
19+
titleColor="#ca6c26"
2020
description="List of all client-side and server-side events"
2121
href="/Scripting_Events" />
2222

2323
<IconLinkCard
2424
icon="seti:plan"
25+
iconColor="#ca6c26"
2526
title="Elements"
27+
titleColor="#ca6c26"
2628
description="List of all element types and their properties"
2729
href="/Element" />
2830

31+
<IconLinkCard
32+
icon="seti:hex"
33+
iconColor="#ca6c26"
34+
title="OOP"
35+
titleColor="#ca6c26"
36+
description="Information about MTA object-oriented programming"
37+
href="/OOP" />
38+
39+
</CardGrid>
40+
41+
42+
<CardGrid>
43+
2944

3045
<IconLinkCard
3146
icon="discord"
@@ -38,10 +53,13 @@ import IconLinkCard from '@src/components/IconLinkCard.astro';
3853
title="Forum"
3954
description="Engage with the community in the old-fashioned way."
4055
href="https://forum.multitheftauto.com/" />
41-
42-
<IconLinkCard
43-
icon="github"
44-
title="GitHub Repository"
45-
description="Contribute to the Wiki project or report issues."
46-
href="https://github.com/multitheftauto/wiki.multitheftauto.com" />
4756
</CardGrid>
57+
58+
<IconLinkCard
59+
icon="github"
60+
iconColor="var(--sl-color-orange)"
61+
title="GitHub Repository"
62+
titleColor="var(--sl-color-orange)"
63+
description="Visit our repository to contribute to the Wiki project or report issues."
64+
href="https://github.com/multitheftauto/wiki.multitheftauto.com" />
65+

web/src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro';
55
title: 'Introduction',
66
tableOfContents: false,
77
}}>
8-
Welcome
8+
Welcome to the new Multi Theft Auto Wiki (work in progress). Please visit the [GitHub repository](https://github.com/multitheftauto/wiki.multitheftauto.com) for more information about the project and how to contribute. The old wiki is still active at [wiki.multitheftauto.com](https://wiki.multitheftauto.com/wiki/Main_Page) (where unofficial articles and pages are still available).
99
</StarlightPage>

0 commit comments

Comments
 (0)