You've already forked computing-box
feat(ui): update branding assets and switch logo to webp format
- Add new webp logo and favicon assets - Replace svg logo references with webp across layouts and pages - Add favicon.ico and favicon.webp for browser compatibility - Update BaseLayout to include favicon link Signed-off-by: Alexander Lyall <alex@adcm.uk>
This commit is contained in:
BIN
public/images/computing-box-logo.webp
Normal file
BIN
public/images/computing-box-logo.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
BIN
public/images/favicon.ico
Normal file
BIN
public/images/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
public/images/favicon.webp
Normal file
BIN
public/images/favicon.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 189 KiB |
@@ -33,12 +33,13 @@ const { title = "Computing:Box" } = Astro.props;
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800;900&display=swap" rel="stylesheet">
|
||||
<link rel="icon" type="image/x-icon" href="/images/favicon.ico" />
|
||||
</head>
|
||||
<body>
|
||||
<header class="siteNav">
|
||||
<div class="navInner">
|
||||
<a class="brand" href="/">
|
||||
<img class="brandLogo" src="/images/computing-box-logo.svg" alt="Computing:Box logo" />
|
||||
<img class="brandLogo" src="/images/computing-box-logo.webp" alt="Computing:Box logo" />
|
||||
<span class="brandName">Computing:Box</span>
|
||||
</a>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
|
||||
<article style="max-width: 1100px; margin: 0 auto; width: 100%;">
|
||||
|
||||
<div style="text-align: center; margin-bottom: 60px;">
|
||||
<img src="/images/computing-box-logo.svg" alt="Computing:Box Logo" style="width: 250px; border-radius: 20px; box-shadow: 0 12px 40px rgba(0,0,0,0.5);" />
|
||||
<img src="/images/computing-box-logo.webp" alt="Computing:Box Logo" style="width: 250px; border-radius: 20px; box-shadow: 0 12px 40px rgba(0,0,0,0.5);" />
|
||||
<h1 class="brandName" style="font-size: 42px; margin-top: 20px; color: var(--text);">The New Computing:Box Experience</h1>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
|
||||
</div>
|
||||
|
||||
<div style="flex: 1; text-align: right;">
|
||||
<img src="/images/computing-box-logo.svg" alt="Computing Box Logo" style="width: 100%; max-width: 450px; filter: drop-shadow(0 0 50px rgba(40, 240, 122, 0.15));" />
|
||||
<img src="/images/computing-box-logo.webp" alt="Computing Box Logo" style="width: 100%; max-width: 450px; filter: drop-shadow(0 0 50px rgba(40, 240, 122, 0.15));" />
|
||||
</div>
|
||||
</div>
|
||||
</BaseLayout>
|
||||
Reference in New Issue
Block a user