mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00
46 lines
1.9 KiB
PHP
46 lines
1.9 KiB
PHP
<?= helper('page') ?>
|
|
<!DOCTYPE html>
|
|
<html lang="<?= service('request')
|
|
->getLocale() ?>" class="h-full">
|
|
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<title><?= lang('Page.map') ?></title>
|
|
<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" />
|
|
<?= service('vite')
|
|
->asset('styles/index.css', 'css') ?>
|
|
<?= service('vite')
|
|
->asset('js/app.ts', 'js') ?>
|
|
<?= service('vite')
|
|
->asset('js/map.ts', 'js') ?>
|
|
</head>
|
|
|
|
<body class="flex flex-col h-full min-h-screen mx-auto bg-gray-100">
|
|
<?php if (service('authentication')->check()): ?>
|
|
<?= $this->include('_admin_navbar') ?>
|
|
<?php endif; ?>
|
|
|
|
<header class="py-8 text-white border-b bg-pine-800">
|
|
<div class="container flex flex-col items-start px-2 py-4 mx-auto">
|
|
<a href="<?= route_to('home') ?>"
|
|
class="inline-flex items-center mb-2 focus:ring-castopod"><?= icon(
|
|
'arrow-left',
|
|
'mr-2',
|
|
) . lang('Page.back_to_home') ?></a>
|
|
<h1 class="text-3xl font-semibold"><?= lang('Page.map') ?></h1>
|
|
</div>
|
|
</header>
|
|
<main class="flex-1 w-full h-full">
|
|
<div id="map" data-episodes-map-data-url="<?= url_to('episodes-markers') ?>" class="w-full h-full"></div>
|
|
</main>
|
|
<footer class="container flex justify-between px-2 py-4 mx-auto text-sm text-right border-t">
|
|
<?= render_page_links() ?>
|
|
<small><?= lang('Common.powered_by', [
|
|
'castopod' =>
|
|
'<a class="inline-flex font-semibold hover:underline focus:ring-castopod" href="https://castopod.org/" target="_blank" rel="noreferrer noopener">Castopod' . icon('social/castopod', 'ml-1 text-lg') . '</a>',
|
|
]) ?></small>
|
|
</footer>
|
|
</body>
|