mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
docs: add vercel to docsite footer
This commit is contained in:
parent
0f65e31462
commit
826c744ec2
4 changed files with 28 additions and 1 deletions
24
docs/src/components/Footer.svelte
Normal file
24
docs/src/components/Footer.svelte
Normal file
|
@ -0,0 +1,24 @@
|
|||
<script>
|
||||
import { Content, Grid, Row, Column, Link } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<style>
|
||||
footer {
|
||||
background: var(--cds-ui-01);
|
||||
}
|
||||
</style>
|
||||
|
||||
<footer class="bx--content">
|
||||
<Grid>
|
||||
<Row>
|
||||
<Column>
|
||||
<Link
|
||||
href="https://www.vercel.com?utm_source=carbon-components-svelte&utm_campaign=oss"
|
||||
target="_blank"
|
||||
>
|
||||
<img src="/powered-by-vercel.svg" alt="Deploys by Vercel" />
|
||||
</Link>
|
||||
</Column>
|
||||
</Row>
|
||||
</Grid>
|
||||
</footer>
|
|
@ -20,6 +20,7 @@
|
|||
} from "carbon-components-svelte";
|
||||
import LogoGithub20 from "carbon-icons-svelte/lib/LogoGithub20";
|
||||
import Theme from "../components/Theme.svelte";
|
||||
import Footer from "../components/Footer.svelte";
|
||||
|
||||
let isOpen = false;
|
||||
let isSideNavOpen = true;
|
||||
|
@ -238,4 +239,5 @@
|
|||
</SideNavItems>
|
||||
</SideNav>
|
||||
<slot />
|
||||
<Footer />
|
||||
</Theme>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue