1+ --- 
2+ import  StarlightPage  from  ' @astrojs/starlight/components/StarlightPage.astro' 
3+ import  { Image  } from  ' astro:assets' 
4+ 
5+ //  IMAGES
6+ import  image_mtaLogo  from  ' ../../../assets/index/mta_logo.png' 
7+ 
8+ import  { MTA_CURRENT_VERSION  } from  ' @src/content.constants' 
9+ import  { Icon  } from  ' @astrojs/starlight/components' 
10+ --- 
11+ 
12+ <StarlightPage  frontmatter ={ {
13+     template: ' doc' 
14+     tableOfContents: false ,
15+     title: ' Multi Theft Auto: Wiki' 
16+     head: [
17+         {
18+             tag: ' title' 
19+             content: ' Multi Theft Auto: Wiki' 
20+         }
21+     ],
22+ }} >
23+ <div  class =" mtahero" 
24+     <div  class =" mtahero_left" 
25+         <Image  src ={ image_mtaLogo }  alt =" Multi Theft Auto Logo" 
26+     </div >
27+ 
28+     <div  class =" mtahero_right" 
29+         <p >Welcome to the <strong >new Multi Theft Auto Wiki</strong > (work in progress). Visit this wiki's <a  href =" https://github.com/multitheftauto/wiki.multitheftauto.com" target =" _blank" a > for more information about the project and how to contribute. The old wiki is still active at <a  href =" https://wiki.multitheftauto.com/wiki/Main_Page" a > (where unofficial articles and pages are still available).</p >
30+         
31+         <p >There are many <a  href =" /How_you_can_help" target =" _blank" a > to help us improve MTA - create a map, a gamemode, help document scripting functions, write example code, write tutorials or just play MTA and report the bugs you find.</p >
32+ 
33+         <p >If you have any questions or problems related to scripting, feel free to get in touch with us on <a  href =" https://discord.com/invite/mtasa" target =" _blank" a >.</p >
34+ 
35+         <p  class =" bigtext" em >[ Stop playing with yourself ]</em ></p >
36+     </div >
37+ </div >
38+ 
39+ <div  class =" mtagrid" 
40+     <div  class =" mtabox" 
41+         <h3 >Play</h3 >
42+         <div >
43+             <a  class =" downloadmta" href =" https://multitheftauto.com/" Icon  size =" 1.8rem" name =" download" color =" lightgreen" class =" inline-icon" strong >Multi Theft Auto: San Andreas</strong > ({ MTA_CURRENT_VERSION .full } )</a >
44+         </div >
45+         <ul >
46+             <li ><a  href =" /Where_to_buy_GTASA" a ></li >
47+             <li ><a  href =" /Client_Manual" a ></li >
48+             <li ><a  href =" /Changes_in_current_version" a ></li >
49+             <li ><a  href =" /Known_Issues_-_FAQ" a ></li >
50+             <li ><a  href =" /Server_Manual" a ></li >
51+             <li ><a  href =" /Map_manager" a ></li >
52+         </ul >
53+     </div >
54+     <div  class =" mtabox" 
55+         <h3 >Map Editor</h3 >
56+         <ul >
57+             <li ><a  href =" /Resource:Editor" a ></li >
58+             <li ><a  href =" /Resource:Editor/EDF" a ></li >
59+             <li ><a  href =" /Resource:Editor/Plugins" a ></li >
60+             <li ><a  href =" /Resource:Editor#FAQ" a ></li >
61+         </ul >
62+     </div >
63+ 
64+     <div  class =" mtabox" 
65+         <h3 >Databases</h3 >
66+         <p >This section outlines all the Lua capabilities MTA or resources provide.</p >
67+         <ul >
68+             <li ><a  href =" /Category:Resource" a ></li >
69+             <li ><a  href =" /Client_side_scripts" a ></li >
70+             <li ><a  href =" /Modules" a ></li >
71+         </ul >
72+     </div >
73+ 
74+     <div  class =" mtabox" 
75+         <h3 >Developing Multi Theft Auto</h3 >
76+         <a  href =" https://nightly.mtasa.com/" 
77+             Nightly builds
78+         </a >
79+         <ul >
80+             <li ><a  href =" /Compiling_MTASA" a ></li >
81+             <li ><a  href =" /Building_MTASA_Server_on_GNU_Linux" a ></li >
82+             <li ><a  href =" /Coding_guidelines" a ></li >
83+             <li ><a  href =" https://github.com/multitheftauto/mtasa-blue" a ></li >
84+             <li ><a  href =" /Roadmap" a ></li >
85+             <li ><a  href =" https://github.com/multitheftauto/mtasa-blue/issues" a ></li >
86+             <li ><a  href =" /Branches" a ></li >
87+             <li ><a  href =" /Forks" a ></li >
88+         </ul >
89+     </div >
90+ 
91+     <div  class =" mtabox" 
92+         <h3 >Wiki - How can you help</h3 >
93+         <ul >
94+             <li >Finish documentation for <a  href =" /Category:Incomplete" a ></li >
95+             <li ><a  href =" /Category:Needs_Example" a ></li >
96+             <li ><a  href =" /Category:Needs_Checking" a ></li >
97+             <li >Write tutorials to help new people</li >
98+             <li >Translate wiki pages</li >
99+         </ul >
100+     </div >
101+ 
102+     <div  class =" mtabox" 
103+         <h3 >Community</h3 >
104+         <ul >
105+             <li ><a  href =" https://forum.multitheftauto.com/" a ></li >
106+             <li ><a  href =" https://discord.com/invite/mtasa" a > (<a  href =" https://forum.multitheftauto.com/topic/95008-multi-theft-autos-official-discord-server/" a >)</li >
107+             <li ><a  href =" https://discord.com/invite/GNN6PRtTnu" a ></li >
108+             <li ><a  href =" https://community.multitheftauto.com/" a ></li >
109+             <li ><a  href =" https://twitter.com/MTAQA" a >, <a  href =" https://www.youtube.com/user/MTAQA" a >, <a  href =" https://www.facebook.com/multitheftauto" a >, <a  href =" https://www.moddb.com/mods/multi-theft-auto-san-andreas" a ></li >
110+         </ul >
111+     </div >
112+ 
113+ 
114+     <div  class =" mtabox" 
115+         <h3 >Scripting</h3 >
116+         <ul >
117+             <li ><a  href =" /Scripting_Introduction" a ></li >
118+             <li ><a  href =" /Introduction_to_Scripting_the_GUI" a ></li >
119+             <li ><a  href =" /Debugging" a ></li >
120+             <li ><a  href =" /Resources" a >
121+             <ul >
122+                 <li ><a  href =" /Resource_Web_Access" a ></li >
123+                 <li ><a  href =" /CEF_Tutorial" a ></li >
124+                 <li ><a  href =" /Category:Resource" a ></li >
125+                 <li ><a  href =" /Meta.xml" a ></li >
126+                 <li ><a  href =" /ACL" a ></li >
127+             </ul >
128+             </li >
129+             <li ><a  href =" /Writing_Gamemodes" a ></li >
130+             <li ><a  href =" /Script_security" a ></li >
131+         </ul >
132+         <p >Forum Links</p >
133+         <ul >
134+             <li ><a  href =" https://forum.multitheftauto.com/forum/71-scripting/" a ></li >
135+             <li ><a  href =" https://forum.multitheftauto.com/forum/123-tutorials/" a ></li >
136+             <li ><a  href =" https://forum.multitheftauto.com/topic/24702-mtasa-wiki-offline-copies-online-mirrors/" a ></li >
137+         </ul >
138+         <h3 >General Lua Help</h3 >
139+         <ul >
140+             <li ><a  href =" http://www.lua.org/pil/index.html" a ></li >
141+             <li ><a  href =" http://www.lua.org/manual/5.1/#index" a ></li >
142+             <li ><a  href =" http://lua-users.org/wiki/TutorialDirectory" a ></li >
143+             <li ><a  href =" http://nixstaller.sourceforge.net/manual/0.5.1/nixstaller_10.html" a ></li >
144+         </ul >
145+     </div >
146+ 
147+     <div  class =" mtabox" 
148+         <h3 >Reference</h3 >
149+         <a  href =" /Lua_API" a >
150+         <ul >
151+             <li ><a  href =" /Client_Scripting_Functions" a ></li >
152+             <li ><a  href =" /Client_Scripting_Events" a ></li >
153+             <li ><a  href =" /Server_Scripting_Functions" a ></li >
154+             <li ><a  href =" /Server_Scripting_Events" a ></li >
155+             <li ><a  href =" /Useful_Functions" a ></li >
156+             <li ><a  href =" /MTA_Classes" a ></li >
157+             <li ><a  href =" /Element" a > / <a  href =" /Element_tree" a ></li >
158+         </ul >
159+     </div >
160+ 
161+     <div  class =" mtabox" 
162+         <h3 ><a  href =" /Id" a ></h3 >
163+         <ul >
164+             <li ><a  href =" /Animations" a ></li >
165+             <li ><a  href =" /Character_Skins" a ></li >
166+             <li ><a  href =" /CJ_Clothes" a ></li >
167+             <li ><a  href =" /Garage" a ></li >
168+             <li ><a  href =" /Interior_IDs" a ></li >
169+             <li ><a  href =" /Material_IDs" a ></li >
170+             <li ><a  href =" /Ped_voices" a ></li >
171+             <li ><a  href =" /Projectiles" a ></li >
172+             <li ><a  href =" /Radar_Blips" a ></li >
173+             <li ><a  href =" /Sounds" a ></li >
174+             <li ><a  href =" /Vehicle_IDs" a ></li >
175+             <li ><a  href =" /Vehicle_Colors" a ></li >
176+             <li ><a  href =" /Vehicle_Upgrades" a ></li >
177+             <li ><a  href =" /Vehicle_variants" a ></li >
178+             <li ><a  href =" /Vehicle_component_manipulation" a ></li >
179+             <li ><a  href =" /Weapons" a ></li >
180+             <li ><a  href =" /Weather" a ></li >
181+         </ul >
182+     </div >
183+ </div >
184+ 
185+ </StarlightPage >
186+ 
187+ <style >
188+     .bigtext {
189+         font-size: 1.4em;
190+         font-weight: bold;
191+     }
192+ 
193+     .mtahero {
194+         display: flex;
195+         align-items: center;
196+         justify-content: space-between;
197+     }
198+     .mtahero_left {
199+         flex: 1;
200+         align-self: flex-start;
201+         padding-right: 16px;
202+     }
203+     .mtahero_right {
204+         flex: 3;
205+     }
206+ 
207+     .mtagrid {
208+         display: grid;
209+         grid-template-columns: repeat(2, 1fr); /* 2 boxes per row */
210+         gap: 2rem; /* spacing between boxes */
211+     }
212+ 
213+     .mtabox {
214+         padding: 4px 8px 8px 8px;
215+         padding: 1rem;
216+     }
217+ 
218+     .downloadmta {
219+         font-size: 1.2em;
220+         color: lightgreen !important;
221+     }
222+     .inline-icon {
223+         display: inline-block;
224+         vertical-align: top;
225+         margin-right: 6px;
226+     }
227+ </style >
0 commit comments