Use root-relative path for index.css

Update stylesheet link in view template from '../../assets/css/index.css' to '/assets/css/index.css' so the CSS resolves from the site root. This prevents broken styling when the page is accessed from nested routes or different template contexts.
This commit is contained in:
Sysy's
2026-03-30 15:20:49 +02:00
parent 68421a71df
commit 9b1e2ccf6d

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MirorGame</title>
<link rel="stylesheet" href="../../assets/css/index.css">
<link rel="stylesheet" href="/assets/css/index.css">
</head>
<body>
<div class="hero">