-
Notifications
You must be signed in to change notification settings - Fork 0
PSE Landing Page Banner #26
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
base: dev
Are you sure you want to change the base?
Changes from all commits
275e103
f9b5f36
3bde3b8
48c881c
4a0270e
db54e6e
3fe0136
a0e3e65
d3ab027
15d7f88
eed73b5
ca2c845
7a1bb27
1763bd0
0b59972
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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; |
This file was deleted.
| 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]`} | ||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
|
||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||
| <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
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
|
||||||||||||||||||||||||||
| <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; | ||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call the principles component