diff --git a/Panel/modules/website/assets/css/site.css b/Panel/modules/website/assets/css/site.css index 22b71467..35f4dced 100644 --- a/Panel/modules/website/assets/css/site.css +++ b/Panel/modules/website/assets/css/site.css @@ -104,8 +104,9 @@ textarea { .brand-logo, .footer-logo { - width: 42px; - height: 42px; + width: auto; + height: 44px; + object-fit: contain; } .brand-copy { @@ -123,6 +124,10 @@ textarea { font-size: 0.8rem; } +.brand-copy { + min-width: 0; +} + .primary-nav { display: flex; flex-wrap: wrap; @@ -443,6 +448,15 @@ textarea { color: var(--accent-strong); } +.kicker { + color: #b6d8ff; + font-size: 0.8rem; + font-weight: 700; + letter-spacing: 0.08em; + text-transform: uppercase; + margin-bottom: 10px; +} + .card-actions { display: flex; flex-wrap: wrap; diff --git a/Panel/modules/website/assets/images/97C8CF28-CB9B-4BA1-8343-BCF240ABA860.png b/Panel/modules/website/assets/images/dark-logo.png similarity index 100% rename from Panel/modules/website/assets/images/97C8CF28-CB9B-4BA1-8343-BCF240ABA860.png rename to Panel/modules/website/assets/images/dark-logo.png diff --git a/Panel/modules/website/config/config.example.php b/Panel/modules/website/config/config.example.php index 03d1bc45..62abeee7 100644 --- a/Panel/modules/website/config/config.example.php +++ b/Panel/modules/website/config/config.example.php @@ -2,8 +2,8 @@ return [ 'site_name' => 'Gameservers.World', - 'site_tagline' => 'Virtual private game servers with dedicated resources and full configuration access.', - 'meta_description' => 'Virtual private game servers with dedicated resources, predictable performance, full configuration access, mod support, and real human support.', + 'site_tagline' => 'Developer-backed game hosting with full server access, mod support, daily backups, and optional custom engineering help through Runlevel Systems.', + 'meta_description' => 'Affordable virtual private game servers backed by developers, software engineers, and infrastructure specialists. Launch a standard server or get help with mods, automation, integrations, and custom tooling.', // Leave null to derive the base path from the current request. // Example: '/sales' @@ -36,4 +36,3 @@ return [ ['name' => 'Dublin, Ireland', 'region' => 'EU coverage', 'host' => 'dub-game-1.iaregamer.com'], ], ]; - diff --git a/Panel/modules/website/includes/bootstrap.php b/Panel/modules/website/includes/bootstrap.php index 717f502f..e1e6e5fb 100644 --- a/Panel/modules/website/includes/bootstrap.php +++ b/Panel/modules/website/includes/bootstrap.php @@ -32,8 +32,8 @@ foreach ($websiteConfigFiles as $configFile) { $websiteDefaults = [ 'site_name' => 'Gameservers.World', - 'site_tagline' => 'Virtual private game servers with dedicated resources and full configuration access.', - 'meta_description' => 'Virtual private game servers with dedicated resources, predictable performance, full configuration access, mod support, and real human support.', + 'site_tagline' => 'Developer-backed game hosting with full server access, mod support, daily backups, and optional custom engineering help through Runlevel Systems.', + 'meta_description' => 'Affordable virtual private game servers backed by developers, software engineers, and infrastructure specialists. Launch a standard server or get help with mods, automation, integrations, and custom tooling.', 'base_path' => null, 'public_base_url' => null, 'billing_base_url' => '/billing', @@ -442,6 +442,21 @@ function website_fetch_services(int $limit = 0): array return $rows; } +function website_custom_project_url(): string +{ + $supportUrl = trim((string)website_config('support_url', '')); + if ($supportUrl !== '') { + return $supportUrl; + } + + $discordUrl = trim((string)website_config('discord_url', '')); + if ($discordUrl !== '') { + return $discordUrl; + } + + return website_url('support.php'); +} + function website_fetch_doc_index(): array { $docsRoot = website_billing_docs_root(); @@ -503,4 +518,3 @@ function website_render(string $pageTemplate, array $context = []): void require WEBSITE_ROOT_DIR . '/pages/' . $pageTemplate; require WEBSITE_INCLUDE_DIR . '/footer.php'; } - diff --git a/Panel/modules/website/includes/footer.php b/Panel/modules/website/includes/footer.php index d5d1e624..25904c7d 100644 --- a/Panel/modules/website/includes/footer.php +++ b/Panel/modules/website/includes/footer.php @@ -11,10 +11,11 @@ $supportEmail = trim((string)website_config('support_email', ''));
@@ -54,4 +56,3 @@ $supportEmail = trim((string)website_config('support_email', ''));