structure refacto & file documentation
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
This commit is contained in:
parent
d7871736c8
commit
895fec2b40
84 changed files with 2629 additions and 2313 deletions
|
|
@ -1,3 +1,4 @@
|
|||
// Rôle : configure les filtres Monster Hunter Wilds pour monstres et faune.
|
||||
import { GameFiltersPanel } from "../GameFiltersPanel.jsx";
|
||||
import { assetPath } from "./utils.js";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Rôle : affiche les listes filtrables de monstres et de faune Monster Hunter Wilds.
|
||||
import { useMemo } from "react";
|
||||
import { GameBreadcrumb } from "../GameBreadcrumb.jsx";
|
||||
import { EndemicCard } from "./cards/EndemicCard.jsx";
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Rôle : affiche les listes Monster Hunter Wilds exportables en checklist.
|
||||
import { useMemo, useState } from "react";
|
||||
import { GameListsPage } from "../GameListsPage.jsx";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Rôle : affiche les raccourcis de la page d'accueil Monster Hunter Wilds.
|
||||
import { assetPath } from "./utils.js";
|
||||
|
||||
export function MhwildsOverview({ game }) {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Rôle : assemble le hero et les sous-pages Monster Hunter Wilds.
|
||||
import { MhwildsListing } from "./MhwildsListing.jsx";
|
||||
import { MhwildsLists } from "./MhwildsLists.jsx";
|
||||
import { MhwildsOverview } from "./MhwildsOverview.jsx";
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Rôle : affiche les hitzones d'un monstre sous forme de tableau compact.
|
||||
import { assetPath } from "../utils.js";
|
||||
|
||||
const PHYSICAL_COLUMNS = ["cut", "blunt", "ammo"];
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Rôle : affiche une carte de faune endémique Monster Hunter Wilds.
|
||||
import { IconRow } from "./IconRow.jsx";
|
||||
import { assetPath, getConditionValues, normalizeText } from "../utils.js";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Rôle : rend une ligne d'icônes localisées pour les cartes Monster Hunter Wilds.
|
||||
import { assetPath } from "../utils.js";
|
||||
|
||||
export function IconRow({ label, values, t }) {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Rôle : affiche une carte monstre retournable avec faiblesses et hitzones.
|
||||
import { useState } from "react";
|
||||
import { DamageTable } from "./DamageTable.jsx";
|
||||
import { IconRow } from "./IconRow.jsx";
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Rôle : regroupe les helpers d'assets, traduction et filtres Monster Hunter Wilds.
|
||||
const MHWILDS_IMG_PATH = "/static/img/mhwilds";
|
||||
|
||||
export function assetPath(name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue