2020-08-18 16:31:28 +00:00
|
|
|
<?= helper('page') ?>
|
2020-06-05 13:54:40 +00:00
|
|
|
<!DOCTYPE html>
|
2020-10-02 15:38:16 +00:00
|
|
|
<html lang="<?= service('request')->getLocale() ?>">
|
2020-06-05 13:54:40 +00:00
|
|
|
|
|
|
|
<head>
|
2020-08-04 11:25:22 +00:00
|
|
|
<meta charset="UTF-8"/>
|
2020-08-18 16:31:28 +00:00
|
|
|
<title><?= $this->renderSection('title') ?></title>
|
2020-08-04 11:25:22 +00:00
|
|
|
<meta name="description" content="Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience."/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
|
|
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
|
|
|
|
<link rel="stylesheet" href="/assets/index.css"/>
|
2020-06-05 13:54:40 +00:00
|
|
|
</head>
|
|
|
|
|
2021-02-10 16:20:01 +00:00
|
|
|
<body class="flex flex-col min-h-screen mx-auto bg-gray-100">
|
|
|
|
<header class="bg-white border-b">
|
2020-08-04 11:25:22 +00:00
|
|
|
<div class="container flex items-center justify-between px-2 py-4 mx-auto">
|
2020-10-26 16:13:43 +00:00
|
|
|
<a href="<?= route_to('home') ?>" class="text-2xl"><?= isset($page)
|
|
|
|
? $page->title
|
|
|
|
: 'Castopod' ?></a>
|
2020-08-04 11:25:22 +00:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<main class="container flex-1 px-4 py-10 mx-auto">
|
|
|
|
<?= $this->renderSection('content') ?>
|
|
|
|
</main>
|
2021-02-10 16:20:01 +00:00
|
|
|
<footer class="px-2 py-4 bg-white border-t">
|
|
|
|
<div class="container flex flex-col items-center justify-between mx-auto text-xs md:flex-row ">
|
|
|
|
<?= render_page_links('inline-flex mb-4 md:mb-0') ?>
|
|
|
|
<p class="flex flex-col items-center md:items-end">
|
|
|
|
<?= lang('Common.powered_by', [
|
|
|
|
'castopod' =>
|
|
|
|
'<a class="underline hover:no-underline" href="https://castopod.org" target="_blank" rel="noreferrer noopener">Castopod</a>',
|
|
|
|
]) ?>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</footer>
|
2020-07-10 12:20:25 +00:00
|
|
|
</body>
|