generated from acm-ucr/acm-ucr-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from acm-ucr/kelly/joinCard
created join card
- Loading branch information
Showing
3 changed files
with
76 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,32 @@ | ||
import React from "react"; | ||
import { IoIosCloseCircle } from "react-icons/io"; | ||
import { MdRemoveCircle } from "react-icons/md"; | ||
import { MdExpandCircleDown } from "react-icons/md"; | ||
import Link from "next/link"; | ||
|
||
const Card = () => { | ||
return <div>Card</div>; | ||
const Card = ({ title, description, icon }) => { | ||
return ( | ||
<div className="bg-white text-black border border-black rounded-3xl"> | ||
<div className="flex items-center text-2xl mx-4 my-2"> | ||
<IoIosCloseCircle className="mx-1" /> | ||
<MdRemoveCircle className="mx-1" /> | ||
<MdExpandCircleDown className="mx-1" /> | ||
</div> | ||
<div className="border border-black"></div> | ||
<div className="font-montserrat text-3xl font-extrabold leading-10 p-3"> | ||
{title} | ||
</div> | ||
<div className="font-sans-arial text-xl font-light leading-9 px-3"> | ||
{description} | ||
</div> | ||
<div className="flex justify justify-center"> | ||
<div>{icon}</div> | ||
</div> | ||
<div className="flex justify justify-center font-montserrat text-3xl font-extrabold text-blue-600 underline mt-5"> | ||
<Link href="www.google.com">Join Here</Link> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Card; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from "react"; | ||
import { IoIosCloseCircle } from "react-icons/io"; | ||
import { MdRemoveCircle } from "react-icons/md"; | ||
import { MdExpandCircleDown } from "react-icons/md"; | ||
const Card2 = ({ title, description, icon }) => { | ||
return ( | ||
<div className="bg-white text-black border border-black rounded-3xl my-5 mx-4"> | ||
<div className="flex items-center text-2xl mx-4 my-2"> | ||
<IoIosCloseCircle className="mx-1" /> | ||
<MdRemoveCircle className="mx-1" /> | ||
<MdExpandCircleDown className="mx-1" /> | ||
</div> | ||
<div className="border border-black"></div> | ||
<div className="font-montserrat text-3xl font-extrabold leading-10 p-3"> | ||
{title} | ||
</div> | ||
<div className="font-sans-arial text-xl font-light leading-9 px-3"> | ||
{description} | ||
</div> | ||
<div className="flex justify justify-center"> | ||
<div>{icon}</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Card2; |