Make catalog and article landing pages editable

This commit is contained in:
2026-11-22 01:37:33 +08:00
parent 92354d7e4a
commit 02e8685bc2
31 changed files with 273 additions and 104 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ final class SiteDesign
public const DEFAULT_HEADER = [
'logo' => '/assets/wordmark.webp', 'alt' => 'Laysense 来笙',
'links' => [['/', '首页'], ['/services', '产品与服务'], ['/articles', '动态'], ['/#about', '关于来笙']],
'button' => ['#contact', '联系来笙'],
'button' => ['/contact', '联系来笙'],
];
public const DEFAULT_FOOTER = [
@@ -23,7 +23,7 @@ final class SiteDesign
'products_title' => '产品与服务',
'products' => [['/highspeaker', 'HighSpeaker DNS'], ['/pagepan', 'PAGEPAN'], ['/sc', '软著代理服务']],
'company_title' => '公司',
'company' => [['/#about', '关于来笙'], ['#contact', '联系来笙']],
'company' => [['/#about', '关于来笙'], ['/contact', '联系来笙']],
'resources_title' => '资源',
'resources' => [['https://git.laysense.com', 'Laysense Git'], ['https://www.layso.de', 'LaySo']],
'phones' => [['tel:+16699004532', '+1 (669) 900 4532'], ['tel:+85257012856', '+852 5701 2856']],