From d18a6ca60b63c433ba3e8204015a0c526979594c Mon Sep 17 00:00:00 2001 From: Zeke Abshire Date: Sat, 20 May 2023 17:21:39 -0500 Subject: [PATCH] Updated with responsive typography --- src/components/Polaroid.tsx | 2 +- src/components/ProjectDescription.tsx | 6 ++---- src/pages/index.tsx | 14 +++----------- tailwind.config.ts | 2 +- 4 files changed, 7 insertions(+), 17 deletions(-) diff --git a/src/components/Polaroid.tsx b/src/components/Polaroid.tsx index 68c83a0..3de6906 100644 --- a/src/components/Polaroid.tsx +++ b/src/components/Polaroid.tsx @@ -39,7 +39,7 @@ export const Polaroid: React.FC = ({ title, imageSrc, rotation }) => { }`} /> - + {title} diff --git a/src/components/ProjectDescription.tsx b/src/components/ProjectDescription.tsx index 353c7e3..35caed7 100644 --- a/src/components/ProjectDescription.tsx +++ b/src/components/ProjectDescription.tsx @@ -13,14 +13,12 @@ export const ProjectDescription: React.FC = ({ }) => { return (
-

{title}

+

{title}

-

- {children} -

+

{children}

); }; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 3523a05..6821c77 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -15,14 +15,6 @@ const Home: NextPage = () => { <> -
-

48px: h1

-

40px: h2

-

32px: h3

-

24px: h4, header, polaroid, button

-

20px: h5, body

-

16px: h6

-
{/* */} {/* */} @@ -53,14 +45,14 @@ const Hero = () => { const Projects = () => { return ( -

+

Here are some of our past projects

-
+
{projects.map((p) => (