generated from avior/template-web-astro
31 lines
897 B
Plaintext
31 lines
897 B
Plaintext
---
|
|
import Footer from 'components/layouts/Footer.astro'
|
|
import Base, { type Props as BaseProps } from './Base.astro'
|
|
import Header from 'components/layouts/Header.astro'
|
|
import { Mail, Phone } from 'lucide-astro'
|
|
import { Github, Linkedin } from 'simple-icons-astro'
|
|
|
|
export interface Props extends BaseProps {
|
|
/**
|
|
* remove the default top padding top allow the content to overflow with the header
|
|
*/
|
|
hasHero?: boolean
|
|
}
|
|
---
|
|
|
|
<Base {...Astro.props}>
|
|
<slot slot="head" name="head" />
|
|
<Header />
|
|
<div class:list={{'pt-24': !Astro.props.hasHero}}>
|
|
<slot />
|
|
</div>
|
|
<Footer links={[
|
|
{href: 'https://www.avior.me', display: 'About'}
|
|
]} socials={[
|
|
{href: 'https://linkedin.com', icon: Linkedin},
|
|
{href: 'mailto:contact@example.com', target: '', icon: Mail},
|
|
{href: 'tel:+33601020304', target: '', icon: Phone},
|
|
{href: 'https://github.com/dzeiocom', icon: Github},
|
|
]} />
|
|
</Base>
|