Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pixel lambda theme! #7

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export default function Header() {
const scroll = useScroll();

return (
<header className={'fixed text-white z-20 top-0 inset-x-0 hidden sm:flex gap-5 px-4 py-2 transition duration-200 backdrop-blur-sm ' + (scroll > 0 ? 'bg-black/40 shadow-md' : 'hover:bg-black/40 hover:shadow-md')}>
<header className={'fixed text-white z-20 top-0 inset-x-0 hidden sm:flex gap-5 px-4 py-2 transition duration-200 backdrop-blur-sm text-lg ' + (scroll > 0 ? 'bg-black/40 shadow-md' : 'hover:bg-black/40 hover:shadow-md')}>
<a href="#">
<img className="w-8 h-8" src="/lambda.png" alt="lambda" />
<img className="w-8 h-8" src="/pixel-lambda.png" alt="lambda" />
</a>
<nav className="flex gap-6 items-center">
<a href="#about" className="no-underline">About</a>
Expand Down
6 changes: 3 additions & 3 deletions components/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import {FaEnvelope} from 'react-icons/fa';
export default function Heading() {
return (
<section id="heading" className="text-white text-center h-screen relative flex flex-col items-center justify-center p-5 bg-[url('/bg.svg')] bg-cover bg-center bg-fixed">
<div className="flex flex-wrap justify-center gap-3 text-5xl sm:text-8xl font-['Overpass'] tracking-wider mb-2">
<img className="w-12 h-12 sm:w-24 sm:h-24" src="/lambda.png" alt="lambda" />
<div className="flex flex-wrap items-center justify-center gap-3 lg:gap-5 text-3xl sm:text-6xl font-['Press_Start_2P'] mb-2">
<img className="w-12 h-12 sm:w-24 sm:h-24" src="/pixel-lambda.png" alt="lambda" />
<span className="pt-2">GunnHacks 9.0</span>
</div>
<hr className="w-40 border-t-2 border-white mb-4" />
<p className="mb-2">
The ninth iteration of GunnHacks, Gunn High School's annual hackathon organized by United Computations.
</p>
<strong className="text-xl mb-4">January 21-22, 2023</strong>
<strong className="text-xl font-mono mb-4">January 21-22, 2023</strong>

<div className="flex gap-4 text-2xl">
<a target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/GunnHacks">
Expand Down
2 changes: 1 addition & 1 deletion components/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function Section(props: SectionProps) {
const {title, red, id, children} = props;

return (
<section className={"font-['Abel'] text-center " + (red ? 'text-white bg-theme' : 'bg-white')}>
<section className={'text-center ' + (red ? 'text-white bg-theme' : 'bg-white')}>
<div className="container py-8">
{title && (
<h2 id={id} className="before:-mt-16 before:h-16 before:pointer-events-none before:content-'_' before:block text-center text-3xl font-bold border-b-2 border-current mb-4">
Expand Down
6 changes: 3 additions & 3 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import Document, {Html, Head, Main, NextScript} from 'next/document';
class GunnHacksDocument extends Document {
render() {
return (
<Html className="scroll-smooth">
<Html className="scroll-smooth font-['Abel']">
<Head>
<meta charSet="utf-8" />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="icon" type="image/png" href="/pixel-lambda.png" />

<link href="https://fonts.googleapis.com/css?family=Overpass:100,400" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Abel&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet" />
</Head>
<body>
<Main />
Expand Down
Binary file added public/pixel-lambda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.