Skip to content

Commit

Permalink
style: adjust styling breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Dec 30, 2023
1 parent 9aef26f commit aab818c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 35 deletions.
73 changes: 38 additions & 35 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,45 +103,48 @@ const Graphics = () => {
export default function Home() {
return (
<main className="flex min-h-[calc(100vh-96px)] flex-col items-center">
<div className="wrapper mt-20 flex flex-col items-center gap-y-5 text-center md:mt-28">
<h1 className="flex-center max-w-2xl flex-col text-4xl font-bold sm:text-6xl md:text-7xl">
<span className="hidden lg:flex">Online, Async, and </span>
<span className="flex text-center lg:hidden">
Online, Async,
</span>
<span className="bg-gradient-to-r from-blue-500 to-purple-500 bg-clip-text text-5xl text-transparent sm:text-7xl">
Articulatable
</span>
</h1>
<p className="text-gray-600 max-w-prose text-slate-600 sm:text-lg">
GE-Z sources data directly from{" "}
<Link
href="https://assist.org/"
target="_blank"
referrerPolicy="no-referrer"
className="underline"
>
Assist.org
</Link>{" "}
and{" "}
<Link
href="https://cvc.edu/"
target="_blank"
referrerPolicy="no-referrer"
className="underline"
>
CVC.edu
</Link>{" "}
to find you high-quality, articulatable
<ArticulatableDefinition /> California Community College
courses that save you time and money.
</p>
<div className="wrapper mt-20 flex flex-col items-center gap-y-5 text-center md:mt-24">
<div className="flex flex-col items-center gap-y-5 text-center">
<h1 className="flex-center xs:text-5xl max-w-2xl flex-col text-4xl font-bold sm:text-6xl">
<span className="hidden md:flex">
Online, Async, and{" "}
</span>
<span className="flex text-center md:hidden">
Online, Async,
</span>
<span className="xs:text-6xl bg-gradient-to-r from-blue-500 to-purple-500 bg-clip-text text-5xl text-transparent sm:text-7xl md:text-8xl">
Articulatable
</span>
</h1>
<p className="text-gray-600 max-w-prose text-slate-600 sm:text-lg">
GE-Z sources data directly from{" "}
<Link
href="https://assist.org/"
target="_blank"
referrerPolicy="no-referrer"
className="underline"
>
Assist.org
</Link>{" "}
and{" "}
<Link
href="https://cvc.edu/"
target="_blank"
referrerPolicy="no-referrer"
className="underline"
>
CVC.edu
</Link>{" "}
to find you high-quality, articulatable
<ArticulatableDefinition /> California Community College
courses that save you time and money.
</p>
</div>
<Link href={"/search"}>
<Button
className={cn(
buttonVariants({
size: "lg",
className: "mt-5",
}),
"flex-center w-fit gap-2 text-lg text-white",
)}
Expand All @@ -153,7 +156,7 @@ export default function Home() {

<Graphics />

<div className="mx-auto my-32 flex max-w-5xl flex-col gap-4">
<div className="mx-auto my-24 flex max-w-5xl flex-col gap-4 md:my-32">
<div className="px-6 lg:px-8">
<div className="mx-auto flex max-w-2xl flex-col gap-4 sm:text-center">
<h2 className="text-4xl font-bold text-slate-900 sm:text-5xl">
Expand Down
3 changes: 3 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const config = {
},
},
extend: {
screens: {
xs: "475px",
},
colors: {
text: "#000000",
background: "#FFFFFF",
Expand Down

0 comments on commit aab818c

Please sign in to comment.