Skip to content
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
Binary file added public/landing/pse_bg.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 7 additions & 8 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
"use client";

import PSEBanner from "@/components/landing/PSEBanner";
import Principles from "@/components/landing/Principles";
import OurMission from "@/components/landing/OurMission";

const Home = () => {
return (
<div className="flex h-screen w-screen items-center justify-center">
{/*<JoinUsButton
link="https://docs.google.com/forms/d/e/1FAIpQLSco0HkuBMDgfyNt2JmmyuYf9OYI5aGxlGIkl4B9omNPD74zWw/viewform"
text="JOIN US!"
color="bg-pse-yellow-100"
/>*/}
<div className="h-screen w-screen flex-col">
<PSEBanner />
<div className="m-8">
<OurMission />
</div>
<Principles />
Copy link
Collaborator

Choose a reason for hiding this comment

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

Call the principles component

</div>
);
Expand Down
22 changes: 22 additions & 0 deletions src/components/landing/Button.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import Link from "next/link";

interface ButtonProps {
link: string;
text: string;
color: string;
}

const Button = ({ link, text, color }: ButtonProps) => {
return (
<div className="relative inline-flex justify-center">
<Link
href={link}
className={`font-pse-maitree relative h-full w-full rounded-xl ${color} text-pse-black-100 px-13 py-3 text-[30px] tracking-wider`}
>
{text}
</Link>
</div>
);
};

export default Button;
26 changes: 0 additions & 26 deletions src/components/landing/JoinUsButton.tsx

This file was deleted.

34 changes: 34 additions & 0 deletions src/components/landing/PSEBanner.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import React from "react";
import Button from "@/components/landing/Button";
import PSEBg from "@/public/landing/pse_bg.webp";
import Image from "next/image";

const PSEBanner = () => {
return (
<div
className={`relative flex h-[309px] w-full flex-col items-center justify-center overflow-clip transition-transform duration-300 ease-out sm:h-[359px] md:h-[409px] lg:h-[459px]`}
Copy link
Contributor

Choose a reason for hiding this comment

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

breakpoints work for the size they're applied at and up. for example, if you want to set a default size for smaller screens and then have medium and larger screens have a larger height for the element, it would look like this:

Suggested change
className={`relative flex h-[309px] w-full flex-col items-center justify-center overflow-clip transition-transform duration-300 ease-out sm:h-[359px] md:h-[409px] lg:h-[459px]`}
className={`relative flex h-1/5 w-full flex-col items-center justify-center overflow-clip transition-transform duration-300 ease-out md:h-1/2`}

>
<Image
src={PSEBg}
alt="PSE Background"
className="absolute inset-0 top-[15px] -z-10 flex w-full scale-140 object-cover transition-transform duration-300 ease-out sm:-top-[20px] sm:scale-120"
/>
<div className="bg-pse-purple-300/75 absolute inset-0 w-full"></div>
<p className="font-pse-crimson-text scale-50 text-center text-[125px] whitespace-nowrap text-white transition-transform duration-300 ease-out sm:scale-60 md:scale-75 lg:scale-100">
Pi Sigma Epsilon
</p>
<p className="font-pse-maitree z-10 -mt-18 scale-50 text-center text-[40px] whitespace-nowrap text-white transition-transform duration-300 ease-out sm:-mt-16 sm:scale-60 md:-mt-10 md:scale-75 lg:-mt-6 lg:scale-100">
University of California, Riverside Chapter
</p>
Comment on lines +17 to +22
Copy link
Collaborator

@brandontran1220 brandontran1220 Oct 22, 2025

Choose a reason for hiding this comment

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

Try using the text sizes available already. Try to match as best as you can! For example: text-2xl.

Suggested change
<p className="font-pse-crimson-text scale-50 text-center text-[125px] whitespace-nowrap text-white transition-transform duration-300 ease-out sm:scale-60 md:scale-75 lg:scale-100">
Pi Sigma Epsilon
</p>
<p className="font-pse-maitree z-10 -mt-18 scale-50 text-center text-[40px] whitespace-nowrap text-white transition-transform duration-300 ease-out sm:-mt-16 sm:scale-60 md:-mt-10 md:scale-75 lg:-mt-6 lg:scale-100">
University of California, Riverside Chapter
</p>
<p className="font-pse-crimson-text scale-50 text-center text- whitespace-nowrap text-white transition-transform duration-300 ease-out sm:scale-60 md:scale-75 lg:scale-100">
Pi Sigma Epsilon
</p>
<p className="font-pse-maitree z-10 -mt-18 scale-50 text-center text- whitespace-nowrap text-white transition-transform duration-300 ease-out sm:-mt-16 sm:scale-60 md:-mt-10 md:scale-75 lg:-mt-6 lg:scale-100">
University of California, Riverside Chapter
</p>

<div className="relative z-10 mt-0 scale-80 transition-transform duration-300 ease-out sm:mt-2 sm:scale-90 md:mt-8 md:scale-100 lg:mt-10 lg:scale-110">
<Button
link="https://docs.google.com/forms/d/e/1FAIpQLSco0HkuBMDgfyNt2JmmyuYf9OYI5aGxlGIkl4B9omNPD74zWw/viewform"
text="JOIN US!"
color="bg-pse-yellow-100"
/>
</div>
</div>
);
};

export default PSEBanner;
Loading