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
5 changes: 3 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
]
],
"tailwindStylesheet": "./src/routes/layout.css"
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"*.css": "tailwindcss"
}
}
1,651 changes: 1,339 additions & 312 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,19 @@
"@sveltejs/enhanced-img": "^0.9.3",
"@sveltejs/kit": "^2.22.0",
"@sveltejs/vite-plugin-svelte": "^6.0.0",
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.18",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-svelte": "^3.0.0",
"globals": "^16.0.0",
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.7.2",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"tailwindcss": "^4.1.18",
"typescript": "^5.0.0",
"typescript-eslint": "^8.20.0",
"vite": "^7.0.4"
Expand All @@ -37,6 +42,8 @@
"@fortawesome/free-brands-svg-icons": "^7.0.1",
"@fortawesome/free-solid-svg-icons": "^7.0.1",
"@fortawesome/svelte-fontawesome": "^0.2.4",
"flowbite": "^4.0.1",

Copilot AI Feb 2, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flowbite-svelte depends on flowbite ^3.1.2 (see package-lock.json entries for flowbite-svelte), but this PR adds a direct dependency on flowbite ^4.0.1. This installs multiple flowbite versions and can cause plugin/runtime mismatches. Align the top-level flowbite version with what flowbite-svelte expects (or drop the direct flowbite dependency if it’s only needed transitively).

Suggested change
"flowbite": "^4.0.1",
"flowbite": "^3.1.2",

Copilot uses AI. Check for mistakes.
"flowbite-svelte": "^1.31.0",
"gray-matter": "^4.0.3",
"marked": "^16.4.1",
"sanitize-html": "^2.17.0"
Expand Down
179 changes: 41 additions & 138 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,187 +1,90 @@
<script lang="ts">
import './layout.css';
import { Navbar, NavBrand, NavLi, NavUl, NavHamburger, Footer } from 'flowbite-svelte';
import { FontAwesomeIcon } from '@fortawesome/svelte-fontawesome';
import { faInstagram, faLinkedin, faGithub } from '@fortawesome/free-brands-svg-icons';
import { faLocationDot } from '@fortawesome/free-solid-svg-icons';

let { children } = $props();
</script>

<header class="navbar">
<a href="/">
<img id="logo" src="/racing_logo.png" alt="Wazzu Racing's logo" />
</a>

<div class="links-right">
<a href="/about">About</a>
<!-- <a href="/cars">Cars</a>
<div class="dropdown" role="navigation" onmouseleave={closeMembersDropdown}>
<button
class="dropdown-toggle"
onclick={toggleMembersDropdown}
onmouseenter={() => (membersDropdownOpen = true)}
<Navbar class="bg-black px-4 py-2.5" fluid={true}>
<NavBrand href="/">
<img src="/racing_logo.png" class="h-12 w-auto" alt="Wazzu Racing Logo" />
</NavBrand>
<NavHamburger class="text-white hover:text-red-700 md:hidden" />
<NavUl class="order-1 ml-auto bg-black md:order-0 md:space-x-4 md:bg-transparent">
<NavLi
href="/about"
class="cursor-pointer text-xl text-white hover:text-red-700 md:py-0"
active={false}>About</NavLi
>
<NavLi
href="/contact"
class="cursor-pointer text-xl text-white hover:text-red-700 md:py-0"
active={false}>Contact</NavLi
>
<NavLi href="/donate" class="cursor-pointer md:py-0" active={false}>
<span class="rounded-md bg-red-700 px-4 py-2 text-xl text-white hover:bg-red-800">Donate</span
>
Members ▾
</button>
{#if membersDropdownOpen}
<div class="dropdown-menu">
<a href="/members/current" onclick={closeMembersDropdown}>Current Members</a>
<a href="/members/alumni" onclick={closeMembersDropdown}>Alumni</a>
</div>
{/if}
</div> -->
<!-- <a href="/calendar">Calendar</a> -->
<!-- TODO Coming soon -->
<!-- <a href="/sponsors">Sponsors</a> -->
<a href="/contact">Contact</a>
<a class="donate" href="/donate">Donate</a>
</div>
</header>
</NavLi>
</NavUl>
</Navbar>

<main class="main">
{@render children?.()}
</main>
<main class="px-[10%]">{@render children?.()}</main>

<footer class="footer">
<div class="college">
<div id="vcea">
<a href="https://vcea.wsu.edu/">
<Footer class="bg-gray-800">
<div class="flex w-full flex-col items-center justify-between gap-6 px-8 py-6 sm:flex-row">
<div class="flex items-center">
<a href="https://vcea.wsu.edu/" target="_blank" rel="noopener noreferrer">
<img
src="/vcea.png"
alt="Logo for the Voiland College of Engineering and Architecture"
/></a
>
alt="Voiland College of Engineering and Architecture"
class="h-auto w-48 sm:w-64"
/>
</a>
</div>

<div id="social-icons">
<div class="flex items-center gap-6">
<a
href="https://www.instagram.com/wazzu_racing"
target="_blank"
rel="noopener noreferrer"
aria-label="Instagram"
class="text-white transition-colors hover:text-red-700"
>
<FontAwesomeIcon icon={faInstagram} size="2x" />
</a>

<a
href="https://www.linkedin.com/company/wazzu-racing/"
target="_blank"
rel="noopener noreferrer"
aria-label="LinkedIn"
class="text-white transition-colors hover:text-red-700"
>
<FontAwesomeIcon icon={faLinkedin} size="2x" />
</a>

<a
href="https://github.com/wazzu-racing"
target="_blank"
rel="noopener noreferrer"
aria-label="GitHub"
class="text-white transition-colors hover:text-red-700"
>
<FontAwesomeIcon icon={faGithub} size="2x" />
</a>

<a
href="https://maps.app.goo.gl/JHnJ2f79Gac3HZfU7"
target="_blank"
rel="noopener noreferrer"
aria-label="Location"
class="text-white transition-colors hover:text-red-700"
>
<FontAwesomeIcon icon={faLocationDot} size="2x" />
</a>
</div>
</div>
</footer>

<style>
.main {
padding-left: 10%;
padding-right: 10%;
}

.footer {
background-color: var(--primary-gray);
display: flex;
flex-direction: column;
}

.college {
padding-top: 15px;
padding-bottom: 15px;
padding-left: 2vw;
padding-right: 2vw;
display: flex;
}

#vcea {
display: flex;
align-content: center;
width: 100%;
}

#vcea img {
display: flex;
align-content: center;
justify-content: center;
width: 20vw;
}

#social-icons {
display: flex;
align-items: center;
justify-content: right;
gap: 24px;
width: 100%;
}

#social-icons a {
color: var(--secondary-white);
transition: color 0.3s ease;
}

#social-icons a:hover {
color: var(--primary-crimson);
}

.navbar {
background-color: black;
overflow: visible;
display: flex;
align-items: center;
justify-content: flex-start;
}

.links-right {
margin-left: auto;

display: flex;
}

.navbar a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: 300;
display: block;
margin: auto 14px;
color: var(--secondary-white);
text-align: center;
text-decoration: none;
font-size: 14pt;
}

.navbar a img {
width: 16vw;
}

.navbar a:hover {
color: var(--primary-crimson);
}

#logo {
/*height: 50%;*/
height: 6vh;
width: auto;
/*position: relative;*/
}

.donate {
background-color: var(--primary-crimson);
border-radius: 5px;
padding: 10px;
}
</style>
</Footer>
Loading
Loading