mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-10-03 06:56:54 +02:00
fee2c1c0d0
- configure service-worker using vite-plugin-pwa - refactor Image entity to generate images of different types based on size config - add requirement for webp library for php gd to generate webp images for instance - add action to regenerate all instance images for eventual Images config changes - enhance google lighthouse metrics for pwa
37 lines
1.6 KiB
PHP
37 lines
1.6 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<meta name="robots" content="noindex">
|
|
|
|
<title>Castopod Install</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="icon" type="image/x-icon" href="<?= service('settings')
|
|
->get('App.siteIcon')['ico'] ?>" />
|
|
<link rel="apple-touch-icon" href="<?= service('settings')->get('App.siteIcon')['180'] ?>">
|
|
<?= service('vite')
|
|
->asset('styles/index.css', 'css') ?>
|
|
<?= service('vite')
|
|
->asset('js/install.ts', 'js') ?>
|
|
</head>
|
|
|
|
<body class="flex flex-col min-h-screen mx-auto bg-base">
|
|
<header class="border-b border-subtle">
|
|
<div class="container flex items-center justify-between px-2 py-4 mx-auto">
|
|
<?= lang('Install.title') ?>
|
|
</div>
|
|
</header>
|
|
<main class="container flex flex-col items-center justify-center flex-1 px-4 py-10 mx-auto">
|
|
<!-- view('_message_block') -->
|
|
<?= $this->renderSection('content') ?>
|
|
</main>
|
|
<footer class="container px-2 py-4 mx-auto text-sm text-right border-t border-subtle">
|
|
<small><?= lang('Common.powered_by', [
|
|
'castopod' =>
|
|
'<a class="inline-flex font-semibold hover:underline focus:ring-accent" href="https://castopod.org" target="_blank" rel="noreferrer noopener">Castopod' . icon('social/castopod', 'ml-1 text-lg') . '</a>',
|
|
]) ?></small>
|
|
</footer>
|
|
</body>
|