Skip to content

Commit

Permalink
split brand, add redirect to club websites (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkang-0 authored Jan 12, 2024
1 parent 1ba7f3e commit 1683451
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 7 deletions.
34 changes: 34 additions & 0 deletions src/components/Brand.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
import { Image } from 'astro:assets';
import bpLogo from '../graphics/bp.webp';
import calHacksLogo from '../graphics/calhacks.webp';
---

<div>
<a href="https://calblueprint.org/" target="_blank">
<Image src={bpLogo} alt="Blueprint" />
</a>
<p>&</p>
<a href="https://calhacks.io/" target="_blank">
<Image src={calHacksLogo} alt="CalHacks" />
</a>
</div>

<style lang="scss">
div {
display: flex;
gap: 6px;
height: 50px;
align-items: center;

-webkit-user-select: none;
-moz-user-select: none;
user-select: none;

a,
img {
height: 100%;
width: auto;
}
}
</style>
9 changes: 2 additions & 7 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
import { Image } from 'astro:assets';
import brandIcon from '../graphics/brand.webp';
import Brand from './Brand.astro';
import bearIcon from '../graphics/bear.svg';
---

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

<style lang="scss">
Expand All @@ -18,9 +18,4 @@ import bearIcon from '../graphics/bear.svg';
padding-top: 164px;
padding-bottom: 76px;
}

.brand {
width: 200px;
height: auto;
}
</style>
Binary file added src/graphics/bp.webp
Binary file not shown.
Binary file removed src/graphics/brand.webp
Binary file not shown.
Binary file added src/graphics/calhacks.webp
Binary file not shown.

0 comments on commit 1683451

Please sign in to comment.