Skip to content
Snippets Groups Projects
_layout.php 1.57 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?= helper('svg') ?>
    
    	<meta charset="UTF-8"/>
    
    	<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="/favicon.ico" />
    
        <?= service('vite')
            ->asset('styles/index.css', 'css') ?>
    
    <body class="flex flex-col items-center justify-center min-h-screen mx-auto bg-base">
    
            ) ?>" class="inline-flex items-baseline text-4xl font-bold font-display text-accent-base focus:ring-accent">
    
    			<?= 'castopod' . svg('castopod-logo', 'h-8 ml-2') ?>
    
    	<main class="flex flex-col w-full max-w-md px-6 py-4 mx-auto rounded-lg bg-elevated border-3 border-subtle gap-y-4">
    
    		<Heading tagName="h1" size="large" class="self-center"><?= $this->renderSection(
    
            ) ?></Heading>
    		<?= view('_message_block') ?>
    
    		<?= $this->renderSection('content') ?>
    	</main>
    	<footer class="flex flex-col text-sm">
    		<?= $this->renderSection('footer') ?>
    
    		<small class="py-4 text-center border-t border-subtle"><?= lang('Common.powered_by', [
    
    		        '<a class="inline-flex font-semibold hover:underline focus:ring-accent" target="_blank" rel="noreferrer noopener">Castopod' . icon('social/castopod', 'ml-1 text-lg') . '</a>',