Fix cart display, menu styling, and documentation formatting

- Add menu include to cart.php so the page displays properly
- Link header.css stylesheet in cart.php
- Change My Account from prominent button to regular nav link in menu
- Update all 148 game documentation files with proper Quick Info from XML configs
- Fix contrast issues in Quick Info (dark blue background with white text)
- Add Font Awesome icons and fix contrast in Important Notes (dark orange background)
- Sort games alphabetically (case-insensitive) in docs.php
- Add Font Awesome CDN link to docs.php

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-11-08 15:22:23 +00:00
parent cdaf9e52e9
commit 563ce13252
151 changed files with 1635 additions and 1335 deletions

View file

@ -77,7 +77,8 @@ function getDocCategories($docsDir) {
if ($a['order'] !== $b['order']) {
return $a['order'] - $b['order'];
}
return strcmp($a['name'], $b['name']);
// Sort alphabetically by name
return strcmp(strtolower($a['name']), strtolower($b['name']));
});
return $categories;
@ -122,6 +123,7 @@ uksort($grouped, function($a, $b) use ($grouped) {
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo $action === 'view' ? 'Documentation' : 'Documentation - GameServers.World'; ?></title>
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
:root {
--bg: #0f172a;