diff --git a/public/pages/fiches.md b/public/pages/fiches.md index b61ca15..41fde5a 100644 --- a/public/pages/fiches.md +++ b/public/pages/fiches.md @@ -1,3 +1,3 @@ # Fiches à télécharger -Vous pourrez trouver sur cette page les différentes fiches de Pélican à télécharger. \ No newline at end of file +Vous pourrez trouver sur cette page les différentes fiches de Pélican à télécharger. Elles sont disponible au format .odt et .pdf, pour permettre une utilisation à l'informatique ou en impression \ No newline at end of file diff --git a/public/pelican.json b/public/pelican.json index 0466e8c..049381e 100644 --- a/public/pelican.json +++ b/public/pelican.json @@ -83,5 +83,12 @@ {"title": "Jeu de plateau", "path": "rules/bases/plateau"} ] } + ], + "fiches":[ + {"title":"Fiche de Personnage", "path":"personnage"}, + {"title":"Fiche de PNJ", "path":"pnj"}, + {"title":"Fiche de Créature", "path":"creature"}, + {"title":"Fiche de Suiveur", "path":"suiveur"}, + {"title":"Fiche de Véhicule", "path":"vehicule"} ] } \ No newline at end of file diff --git a/src/components/layout/TopBar.vue b/src/components/layout/TopBar.vue index bd6d096..e6c6cde 100644 --- a/src/components/layout/TopBar.vue +++ b/src/components/layout/TopBar.vue @@ -7,6 +7,21 @@ À propos + diff --git a/src/router/index.ts b/src/router/index.ts index 43691a9..0293477 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -2,6 +2,7 @@ import { createRouter, createWebHashHistory } from "vue-router"; import HomeView from "../views/HomeView.vue"; import RuleView from "../views/RuleView.vue"; import JdrView from "../views/JdrView.vue"; +import FichesView from "../views/FichesView.vue"; const router = createRouter({ history: createWebHashHistory(import.meta.env.BASE_URL), @@ -19,6 +20,10 @@ const router = createRouter({ path: "/jdr/:jdr/", component: JdrView, }, + { + path: "/fiches", + component: FichesView, + }, { path: "/about", name: "about", diff --git a/src/types/PelicanConfig.ts b/src/types/PelicanConfig.ts index a6c5783..ca85bc0 100644 --- a/src/types/PelicanConfig.ts +++ b/src/types/PelicanConfig.ts @@ -1,7 +1,9 @@ +import type Link from "./Link"; import type LinkList from "./LinkList"; export default interface PelicanConfig { version: string; sidebar: LinkList[]; jdr: LinkList[]; + fiches: Link[]; } diff --git a/src/views/FichesView.vue b/src/views/FichesView.vue new file mode 100644 index 0000000..2634c50 --- /dev/null +++ b/src/views/FichesView.vue @@ -0,0 +1,49 @@ + + + + +