-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
191 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,108 @@ | ||
import logo from '@/assets/logo.svg'; | ||
import { Card, LinkBtn } from '@/components/atoms'; | ||
import { NavSearchBar } from '@/components/molecules'; | ||
import Image from 'next/image'; | ||
import SplineNext from '@splinetool/react-spline/next'; | ||
import localFont from 'next/font/local'; | ||
import { | ||
IdentificationIcon, | ||
MagnifyingGlassIcon, | ||
Square2StackIcon, | ||
} from '@heroicons/react/24/solid'; | ||
|
||
const titlingGothicFB = localFont({ | ||
src: './TitlingGothicFB.woff2', | ||
display: 'swap', | ||
}); | ||
|
||
export default function Page() { | ||
return <main></main>; | ||
return ( | ||
<main className="relative"> | ||
<section className="mx-auto w-full max-w-content-width px-md py-xxl"> | ||
<Card className="flex items-center justify-center gap-[3rem] overflow-visible bg-[rgb(var(--color-background)/0.85)] px-[3.5rem] py-[3.5rem] backdrop-blur-lg max-lg:flex-col"> | ||
<div className="flex flex-col gap-lg max-lg:items-center"> | ||
<div className="flex flex-col gap-sm max-lg:items-center"> | ||
<Image src={logo} alt="logo" width={60} height={60} /> | ||
<h3 className="font-bold text-neutral">ACM-CS@SJSU</h3> | ||
<h1 | ||
className={`${titlingGothicFB.className} pb-xs text-[3.25rem] leading-[3.25rem]`} | ||
> | ||
Lenses™ | ||
</h1> | ||
|
||
<h2 className="text-neutral max-lg:text-center max-lg:text-h6-mobile lg:text-h6-desktop"> | ||
Browse classes with peace of mind | ||
</h2> | ||
</div> | ||
<NavSearchBar /> | ||
</div> | ||
<SplineNext | ||
style={{ | ||
width: '350px', | ||
objectFit: 'cover', | ||
height: '300px', | ||
marginLeft: '4rem', | ||
}} | ||
scene="https://prod.spline.design/zxtbNi7bvatFum9j/scene.splinecode" | ||
/> | ||
</Card> | ||
<div className="flex flex-wrap gap-md pb-[3.5rem] pt-md max-lg:flex-col"> | ||
<LinkBtn | ||
variant="tertiary" | ||
className="flex-1 p-0 text-inherit" | ||
href="/courses" | ||
aria-label="Browse Courses" | ||
> | ||
<Card className="w-full p-xl"> | ||
<div className="text-secondary"> | ||
<MagnifyingGlassIcon width={24} height={24} /> | ||
<h3 className="pb-sm pt-md !font-semibold lg:text-h6-desktop"> | ||
Browse Courses | ||
</h3> | ||
</div> | ||
<p className="text-p text-neutral"> | ||
Browse our catalog of 10,000+ courses and apply filters. | ||
</p> | ||
</Card> | ||
</LinkBtn> | ||
<LinkBtn | ||
variant="tertiary" | ||
className="flex-1 p-0 text-inherit" | ||
href="/professors" | ||
aria-label="Review Professors" | ||
> | ||
<Card className="w-full p-xl"> | ||
<div className="text-primary"> | ||
<IdentificationIcon width={24} height={24} /> | ||
<h3 className="pb-sm pt-md !font-semibold lg:text-h6-desktop"> | ||
Review Professors | ||
</h3> | ||
</div> | ||
<p className="text-p text-neutral"> | ||
View user submitted reviews based on SJSU professors.{' '} | ||
</p> | ||
</Card> | ||
</LinkBtn> | ||
<LinkBtn | ||
variant="tertiary" | ||
className="flex-1 p-0 text-inherit" | ||
href="/compare" | ||
aria-label="Compare" | ||
> | ||
<Card className="w-full p-xl"> | ||
<div className="text-good"> | ||
<Square2StackIcon width={24} height={24} /> | ||
<h3 className="pb-sm pt-md !font-semibold lg:text-h6-desktop"> | ||
Compare | ||
</h3> | ||
</div> | ||
<p className="text-p text-neutral"> | ||
View rating or grade distributions side by side. | ||
</p> | ||
</Card> | ||
</LinkBtn> | ||
</div> | ||
</section> | ||
</main> | ||
); | ||
} |
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters