Skip to content

Commit

Permalink
fixing about section on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyaKhemlani committed Jul 21, 2024
1 parent e823360 commit 5b9ec94
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions seal-website/app/components/AboutSection.tsx
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@
'use client'
import React from 'react';
// import Heading from './Heading';
import NavbarSection from './navbar/NavbarSection';
import Button from './Button';
import Image from "next/image";
import { motion } from 'framer-motion';
import SectionHeading from './SectionHeader';

const AboutSection = () => {
return (
<div className="pb-20 grid">
<div className="mt-5 mx-20 grid grid-cols-[60%_40%] gap-4 items-center justify-items-center">
<div className="mt-5 mx-20 grid grid-cols-1 lg:grid-cols-[60%_40%] gap-4 items-center justify-items-center">
<SectionHeading title="About" />
<div className="h-full row-span-3">
<motion.div
initial={{ y: 70, opacity: 0 }}
whileInView={{ y: 20, opacity: 1 }}
viewport={{ once: false }}
transition={{ duration: 0.8, ease: "easeInOut" }}
>
<Image
alt="Logo"
className="transition rounded-xl items pt-50"
height="420"
width="420"
src="/images/logo.png"
// style={{ marginTop: "0px" }}
/>
</motion.div>
<div className="pb-10">
<motion.div
initial={{ y: 70, opacity: 0 }}
whileInView={{ y: 20, opacity: 1 }}
viewport={{ once: false }}
transition={{ duration: 0.8, ease: "easeInOut" }}
>
<Image
alt="Logo"
className="transition rounded-xl items pt-50"
height="420"
width="420"
src="/images/logo.png"
/>
</motion.div>
</div>
</div>
<div className="text-xl sm:text-2xl md:text-2xl lg:text-4xl xl:text-4xl">
<div className="text-center text-xl sm:text-2xl md:text-2xl lg:text-4xl xl:text-4xl lg:text-left">
A policy think-tank striving to create a forum of students and young professionals who are passionate about addressing systemic healthcare problems through legislation and policy making.
</div>
</div>
Expand Down

0 comments on commit 5b9ec94

Please sign in to comment.