@vyke/astro
v0.1.7
Published
Sets of components and helpers for vyke apps made with astro
Downloads
332
Readme
Sets of components and helpers for vyke apps made with astro
Components
Theme
---
import { Theme } from '@vyke/astro';
---
<html lang="en">
<head>
<Theme />
</head>
<body>
<!-- Your content here -->
</body>
</html>
ThemeToggle
---
import { ThemeToggle } from '@vyke/astro';
---
<ThemeToggle slot="right">
<span slot="light">Light</span>
<span slot="dark">Dark</span>
</ThemeToggle>
Footer
---
import { Footer } from '@vyke/astro';
---
<Footer
openSourceLinks={[
{
href: 'https://github.com/albizures/vyke-results',
label: '@vyke/results',
},
]}
projectLinks={[{ href: 'https://clock.vyke.dev', label: 'Online Clock' }]}
otherLinks={[{ href: '/legal', label: 'legal' }]}
>
<span slot="github-icon">|github|</span>
<span slot="twitter-icon">|twitter|</span>
</Footer>
IconLisks
---
import { IconLinks } from '@vyke/astro';
---
<IconLinks />
Page404
---
import { Page404 } from '@vyke/astro';
---
<Page404 />