Skip to content

Commit

Permalink
Merge pull request #37 from vidipsingh/main
Browse files Browse the repository at this point in the history
Update Tailwind in Home Page
  • Loading branch information
vidipsingh authored Sep 29, 2024
2 parents 5662d6d + 34ad214 commit 072b48c
Showing 1 changed file with 23 additions and 18 deletions.
41 changes: 23 additions & 18 deletions src/components/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,26 @@ import { TeamCards } from "./TeamCards";

const PrevArrow = ({ onClick }) => {
return (
<button className="prev-arrow" onClick={onClick}>
<button
className="absolute top-1/2 transform -translate-y-1/2 cursor-pointer bg-gray-200 border-none rounded-full w-10 h-10 flex justify-center items-center pb-0.5"
onClick={onClick}
>
<span>&lt;</span>
</button>
);
};

const NextArrow = ({ onClick }) => {
return (
<button className="next-arrow" onClick={onClick}>
<button
className="absolute top-1/2 transform -translate-y-1/2 cursor-pointer bg-gray-200 border-none rounded-full w-10 h-10 flex justify-center items-center pb-0.5"
onClick={onClick}
>
<span>&gt;</span>
</button>
);
};

const Home = () => {
var settings = {
dots: false,
Expand Down Expand Up @@ -69,33 +76,31 @@ const Home = () => {
return (
<div>
<Header />
<div className="hero">
<img src={JODC_logo} alt="" className="logo" />
<h1>

<div className="w-full h-88 pt-32 flex justify-center items-center md:pt-20">
<img src={JODC_logo} alt="" className="h-40 w-40 md:h-72 md:w-72" />
<h1 className="h-28 w-36 md:w-72 text-3xl text-gray-300 flex items-center md:text-5xl">
JIIT <br />
Open-Source Developer <br /> Circle
</h1>
</div>

<div className="desc1">
<h6>
<div className="text-gray-300 flex justify-center mt-24 mb-72 sm:mb-20 md:mb-14 p-5">
<h6 className="w-full max-w-7xl h-16 text-xl text-center leading-relaxed font-medium">
Hello and welcome to the{" "}
<span style={{ fontWeight: "bolder" }}>
JIIT Open-Source Developer Circle!
</span>{" "}
We're a vibrant community passionate about all things open source.
Whether you're a seasoned developer or just starting out, we're here
to support your journey. From collaborating on exciting projects to
learning from experienced mentors, there's always something new to
discover.
<span className="font-bold">JIIT Open-Source Developer Circle!</span> We're
a vibrant community passionate about all things open source. Whether you're
a seasoned developer or just starting out, we're here to support your
journey. From collaborating on exciting projects to learning from
experienced mentors, there's always something new to discover.
</h6>
</div>

<Carouselhome />

<div className="team">
<div className="title">
<h1>Meet the OG's</h1>
<div className="w-full h-2/3">
<div className="pt-2 w-full h-4 text-center text-white pb-12">
<h1 className="text-4xl font-bold">Meet the OG's</h1>
</div>

<TeamCards />
Expand Down

0 comments on commit 072b48c

Please sign in to comment.