1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 09:17:51 +03:00
Files
android_cast/examples/platform/footer.config.example.php
Anton Afanasyeu afb165cbfc sync with BE
2026-06-04 18:31:38 +03:00

39 lines
1.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
declare(strict_types=1);
/**
* Site-wide footer (hub, crashes, tickets, graphs, builder).
* Copy to footer.config.php and edit; footer.config.php is optional (defaults apply).
*
* Layout (empty/null row = hidden):
* top — full-width line above main row
* main — left | right (flex); invisible gap between columns
* bottom — full-width line below main row
*
* Left column: set `left` to a custom string, or leave null to build from holder + year below.
*/
return [
// --- Optional rows (static or PHP-dynamic strings) ---
'top' => null,
'left' => null,
'right' => null,
'bottom' => null,
// --- Default left column when `left` is null ---
'holder' => 'Anton Afanaasyeu, 2026 - current',
'copyright_symbol' => "\u{00A9}",
'show_year' => false,
// null = current calendar year at render time (end of range).
'year' => null,
// Integer start year. With year_through_current: "2026 - current" (literal suffix).
// Without it: "20262027" range (en dash) or lone "2026" when start equals end year.
'year_start' => 2026,
'year_through_current' => true,
// CSS class on <footer> (platform-footer layout classes are always added).
'footer_class' => 'bottom-bar',
// When true, consoles with i18n.js replace default left text via data-i18n / data-year.
'use_i18n' => true,
'i18n_key' => 'footer.copyright',
];