Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/jargonsdev-holiday-25-logo.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/components/jargonsdev-holiday-25-logo.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
const { class: list } = Astro.props;
---

<img
src="/jargonsdev-holiday-25-logo.webp"
alt="Jargons.dev Logo"
class={list}
/>
4 changes: 2 additions & 2 deletions src/components/navbar.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import JargonsdevLogo from "./jargonsdev-logo.astro";
import JargonsdevHolidayLogo from "./jargonsdev-holiday-25-logo.astro";

const { returnNav = { label: "Back", location: "../" } } = Astro.props;
---
Expand Down Expand Up @@ -31,7 +31,7 @@ const { returnNav = { label: "Back", location: "../" } } = Astro.props;
{returnNav.label}
</span>
</a>
<JargonsdevLogo class="drop-shadow drop-shadow-color-black h-10 md:h-12" />
<JargonsdevHolidayLogo class="-ml-6 -my-2 h-14 md:h-20" />
</div>
<slot />
</nav>
6 changes: 3 additions & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import BaseLayout from "../layouts/base.astro";
import doAuth from "../lib/actions/do-auth.js";
import Search from "../components/islands/search.jsx";
import Profile from "../components/islands/profile.jsx";
import JargonsdevLogo from "../components/jargonsdev-logo.astro";
import JargonsdevHolidayLogo from "../components/jargonsdev-holiday-25-logo.astro";
import RecentSearches from "../components/islands/recent-searches.jsx";

const { isAuthed, authedData, getAuthUrl } = await doAuth(Astro);
Expand Down Expand Up @@ -94,8 +94,8 @@ if (now - cache.timestamp > CACHE_TTL || cache.count === 0) {
>
<!-- Title -->
<div class="mb-4 md:mb-6">
<JargonsdevLogo
class="drop-shadow-md drop-shadow-color-black w-[80%] md:w-[60%]"
<JargonsdevHolidayLogo
class="-ml-2 md:-ml-3 lg:-ml-4 -mb-6 w-[84%] md:w-[64%]"
/>
</div>

Expand Down