Skip to content

Commit

Permalink
style(style): fix weird text on small devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeonoi committed Oct 24, 2024
1 parent 504ea97 commit d79e692
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import Background from "./background";
const About: React.FC = () => {
return (
<main id="about" className="animate-fadeIn">
<Background styles="h-screen flex items-center">
<Background styles="h-max flex items-center">
{/* <div className="grid grid-cols-2 text-black max-w-4xl mx-auto p-6"> */}
<div className="grid grid-cols-2 text-black justify-items-end mx-auto p-10">
<div className="grid grid-cols-1 md:grid-cols-2 text-black justify-items-end mx-auto p-10">
<section className="mb-8 max-w-3xl">
<h1 className="text-4xl font-bold mb-4">Hi, I'm Dylan</h1>
<p className="text-lg">
Expand Down
6 changes: 4 additions & 2 deletions components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ const Navbar: React.FC = () => {
<header className="sticky top-0 w-full h-14 bg-transparent shadow-md z-50 bg-gradient-to-r from-catppuccin_blue via-catppuccin_lavender to-catppuccin_mauve animate-fadeIn">
<nav className="container mx-auto px-3 py-3">
<div className="flex justify-between items-center">
<div className="text-2xl font-bold text-gray-800">Dylan Zhou</div>
<div className="hidden md:flex items-center space-x-4">
<div className="hidden md:flex text-2xl font-bold text-gray-800">
Dylan Zhou
</div>
<div className="flex justify-center items-center space-x-4">
<Link
href="#hero"
className="text-gray-800 hover:text-catppuccin_blue"
Expand Down
1 change: 1 addition & 0 deletions components/projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const Projects: React.FC = () => {
return (
<main id="projects" className="animate-fadeIn">
<Background styles="h-max">
<p className="text-5xl items-center text-center text-black">Projects</p>
<div className="grid grid-cols-1 xl:grid-cols-2 justify-items-center items-center gap-10 p-8">
<ProjectCard
link="https://github.com/Aeonoi/studyit"
Expand Down

0 comments on commit d79e692

Please sign in to comment.