Skip to content

Commit

Permalink
Merge pull request #16 from sfuosdev/fix/issue-15/home-page-spacing
Browse files Browse the repository at this point in the history
Completes Issue 15 by applying consistent spacing to all pages
  • Loading branch information
TommyOh0428 authored Nov 26, 2024
2 parents a07b12c + c9bc5af commit b379118
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Home = () => {

{/* Hero Section */}
<section className="bg-gradient-2 py-32 flex flex-col justify-center items-start">
<div className="container mx-auto px-4">
<div className="container mx-auto px-6 sm:px-12">
<h1 className="text-6xl font-bold font-club mb-6 text-white">SFU OS Dev Club</h1>
<p className="text-xl mb-10 text-white">Join SFU Open Source Development Club and collaborate with tech, design, and business students on projects that make a real impact. Build, learn, and grow together as we drive positive change through technology.</p>
<a
Expand All @@ -19,7 +19,7 @@ const Home = () => {
</section>

{/* Who Are We Section */}
<section id="about" className="container mx-auto flex flex-col w-full py-16 px-4">
<section id="about" className="container mx-auto flex flex-col w-full py-16 px-6 sm:px-12">
<h2 className="section-title text-left font-club">Who We Are</h2>

{/* Content Wrapper */}
Expand Down Expand Up @@ -51,7 +51,7 @@ const Home = () => {
</section>

{/* Our Value to You Section*/}
<section className="container mx-auto px-4 py-16">
<section className="container mx-auto py-16 px-6 sm:px-12">

<h2 className="section-title text-center font-club md:text-left">Our Value to You</h2>

Expand Down
4 changes: 2 additions & 2 deletions src/components/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const Projects = () => {
</section>

{/* Projects and Beyond Section */}
<section id="about" className="container mx-auto flex flex-col w-full py-16 px-4">
<section id="about" className="container mx-auto flex flex-col w-full py-16 px-6 sm:px-12">
<h2 className="section-title text-left font-club">Empowering Developers and Beyond</h2>

{/* Content Wrapper */}
Expand All @@ -115,7 +115,7 @@ const Projects = () => {
</section>

{/* Our Projects Section */}
<section id="projects-section" className="container mx-auto px-4 py-12">
<section id="projects-section" className="container mx-auto py-12 px-6 sm:px-12">
<h2 className="section-title text-left font-club">Our Projects</h2>
<div className="flex space-x-4 mb-8">
<span className={`px-4 py-2 btn text-center text-white transition duration-300 cursor-pointer ${activeTab === 'ONGOING' ? 'bg-[#D55FFF]' : 'bg-[#636C9E]'}`} onClick={() => setActiveTab('ONGOING')}>ONGOING</span>
Expand Down

0 comments on commit b379118

Please sign in to comment.