Skip to content

Commit

Permalink
[feat] add footer (#12)
Browse files Browse the repository at this point in the history
* add footer

* remove edit to env.d.ts

* use astro image for optimization

* remove edit to env.d.ts
  • Loading branch information
jinkang-0 authored and oahnh committed Jan 11, 2024
1 parent f378584 commit f9c9aad
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 16 deletions.
27 changes: 26 additions & 1 deletion src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
<footer></footer>
---
import { Image } from 'astro:assets';
import brandIcon from '../graphics/brand.webp';
import bearIcon from '../graphics/bear.svg';
---

<footer>
<Image src={bearIcon} alt="super bear" />
<Image class="brand" src={brandIcon} alt="brand logo" />
</footer>

<style lang="scss">
footer {
display: flex;
flex-direction: column;
align-items: center;
gap: 61px;
padding-top: 164px;
padding-bottom: 76px;
}

.brand {
width: 200px;
height: auto;
}
</style>
15 changes: 0 additions & 15 deletions src/graphics/brand.svg

This file was deleted.

Binary file added src/graphics/brand.webp
Binary file not shown.

0 comments on commit f9c9aad

Please sign in to comment.