This repository was archived by the owner on Jul 17, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { createRouter , createWebHistory } from 'vue-router'
2+
23import HomeView from '@/views/HomeView.vue'
3- import RedirectHandler from '@/views/RedirectHandler.vue'
44
55const router = createRouter ( {
66 history : createWebHistory ( import . meta. env . BASE_URL ) ,
@@ -15,11 +15,16 @@ const router = createRouter({
1515 name : 'admin' ,
1616 component : ( ) => import ( '@/views/AdminView.vue' )
1717 } ,
18+ {
19+ path : '/minecraft' ,
20+ name : 'Minecraft' ,
21+ component : ( ) => import ( '@/views/MinecraftView.vue' )
22+ } ,
1823 {
1924 path : '/:link' ,
2025 name : 'RedirectHandler' ,
21- component : RedirectHandler ,
22- } ,
26+ component : ( ) => import ( '@/views/ RedirectHandler.vue' )
27+ }
2328 ] ,
2429} )
2530
Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ interface Settings {
1515}
1616
1717const defaultSettings : Settings = {
18- links : [ ] ,
18+ links : [
19+ { titre : 'Minecraft' , href : '/minecraft' }
20+ ] ,
1921 display : {
2022 official : true ,
2123 alternatives : true ,
Original file line number Diff line number Diff line change 1+ <template >
2+ <header class =" text-center p-8 space-y-4" >
3+ <h1 class =" text-5xl font-bold" >Jouer à Minecraft</h1 >
4+ <p >Vous pouvez jouer à minecraft en <u >1.12.2</u > sur un serveur 100% dédié aux MMI de Vélizy.</p >
5+ <a href =" https://map.mc.mmi.codes" class =" text-blue-500" >Voir la map</a >
6+ </header >
7+ <main class =" text-center py-8 space-y-8 md:w-2/3 md:mx-auto lg:w-1/2" >
8+ <h2 class =" text-3xl font-bold" >Comment rejoindre le serveur:</h2 >
9+ <section class =" px-8 space-y-4" >
10+ <div >
11+ <h3 class =" text-2xl font-bold" >Via un navigateur</h3 >
12+ <i class =" text-sm" >Ne fonctionne pas avec Firefox et Safari</i >
13+ </div >
14+ <p >Rendez-vous sur le site <a href =" https://mc.mmi.codes" class =" text-blue-500" >mc.mmi.codes</a ></p >
15+ </section >
16+ <section class =" px-8 space-y-4" >
17+ <h3 class =" text-2xl font-bold" >Via le jeu Minecraft</h3 >
18+ <ul class =" space-y-2" >
19+ <li ><b >IP du serveur:</b > <pre >mcmi.mmi.codes:5200</pre ></li >
20+ <li ><b >Version:</b > <pre >Vanilla 1.12.2</pre ></li >
21+ </ul >
22+ <p ><b >Choisissez bien votre pseudo</b >, c'est lui qui vous permettra de sauvegarder votre progression.</p >
23+ </section >
24+ </main >
25+ </template >
You can’t perform that action at this time.
0 commit comments