|
1 |
| -import Image from "next/image"; |
2 |
| - |
3 |
| -const About = () => { |
4 |
| - return ( |
5 |
| - <section className="py-8 xl:px-24 sm:px-10 px-5" id="about"> |
6 |
| - <div className="text-center my-10"> |
7 |
| - <p className="text-[#3977F8] font-game text-xl">01</p> |
8 |
| - <h1 className="font-bold text-6xl">ABOUT</h1> |
9 |
| - </div> |
10 |
| - <div className="flex justify-center items-center"> |
11 |
| - <div className="lg:grid grid-cols-6 flex-1 max-w-[90rem]"> |
12 |
| - {/* LEFT SIDE */} |
13 |
| - <div className="col-span-2 md:mx-5"> |
14 |
| - <div className="flex items-center justify-center"> |
15 |
| - <Image src="/assets/csesoc_icon.svg" alt="CSESoc Icon" width={150} height={150} /> |
16 |
| - </div> |
17 |
| - <h1 className="mt-10 text-3xl font-extrabold">CSESoc</h1> |
18 |
| - <p className="text-[#727B8C] font-medium">unsw-computer-science-soc</p> |
19 |
| - <button className="bg-[#444F6F] w-full my-5 py-2 rounded">Follow</button> |
20 |
| - <p>We are one of the biggest and most active societies at UNSW, catering to over 3500 CSE students spanning across degrees in Computer Science, Software Engineering, Bioinformatics and Computer Engineering.</p> |
21 |
| - <div className="my-4 flex gap-5"> |
22 |
| - <Image src="/assets/people_icon.svg" alt="People" width={20} height={20} /> |
23 |
| - <div> |
24 |
| - 432 <span className="text-[#727B8C]">members</span> · 342 <span className="text-[#727B8C]">subcom</span> |
25 |
| - </div> |
26 |
| - </div> |
27 |
| - <div className="my-4 flex gap-5"> |
28 |
| - <Image src="/assets/location_icon.svg" alt="Location" width={20} height={20} /> |
29 |
| - Sydney, Australia |
30 |
| - </div> |
31 |
| - <div className="flex gap-5"> |
32 |
| - <Image src="/assets/mail_icon.svg" alt="Mail" width={20} height={20} /> |
33 |
| - |
34 |
| - </div> |
35 |
| - </div> |
36 |
| - {/* RIGHT SIDE */} |
37 |
| - <div className="col-span-4 lg:mt-0 mt-10"> |
38 |
| - <div className="rounded border border-[#595F6D] p-5 2xl:h-80 xl:h-64 lg:h-48 sm:h-36 h-32 h-full"> |
39 |
| - <p className="text-xs"> |
40 |
| - csesoc/README<span className="text-[#7A8192]">.md</span> |
41 |
| - </p> |
42 |
| - <p className="mt-5">Lorem Ipsum</p> |
43 |
| - </div> |
44 |
| - <div className="mt-10"> |
45 |
| - Pinned |
46 |
| - <div className="sm:flex my-5"> |
47 |
| - <div className="p-5 border border-[#595F6D] flex-1 rounded-lg mr-5 w-full sm:mb-0 mb-5"> |
48 |
| - <div className="flex text-[#3A76F8]"> |
49 |
| - <Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} /> |
50 |
| - csesoc.unsw.edu.au/<span className="font-semibold">events</span> |
51 |
| - </div> |
52 |
| - <div className="my-5">CSESoc's recent events</div> |
53 |
| - <div className="rounded-full bg-[#CC5421] w-3 h-3" /> |
54 |
| - </div> |
55 |
| - <div className="p-5 border border-[#595F6D] flex-1 rounded-lg w-full"> |
56 |
| - <div className="flex text-[#3A76F8]"> |
57 |
| - <Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} /> |
58 |
| - csesoc.unsw.edu.au/<span className="font-semibold">socials</span> |
59 |
| - </div> |
60 |
| - <div className="my-5">Follow us on all socials</div> |
61 |
| - <div className="rounded-full bg-[#566ACE] w-3 h-3" /> |
62 |
| - </div> |
63 |
| - </div> |
64 |
| - <div className="sm:flex"> |
65 |
| - <div className="p-5 border border-[#595F6D] flex-1 rounded-lg mr-5 w-full sm:mb-0 mb-5"> |
66 |
| - <div className="flex text-[#3A76F8]"> |
67 |
| - <Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} /> |
68 |
| - csesoc.unsw.edu.au/<span className="font-semibold">join-us</span> |
69 |
| - </div> |
70 |
| - <div className="my-5">Get involved!</div> |
71 |
| - <div className="rounded-full bg-[#E7E923] w-3 h-3" /> |
72 |
| - </div> |
73 |
| - <div className="p-5 border border-[#595F6D] flex-1 rounded-lg w-full"> |
74 |
| - <div className="flex text-[#3A76F8]"> |
75 |
| - <Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} /> |
76 |
| - csesoc.unsw.edu.au/<span className="font-semibold">contact</span> |
77 |
| - </div> |
78 |
| - <div className="my-5">Contact us via email</div> |
79 |
| - <div className="rounded-full bg-[#CC5421] w-3 h-3" /> |
80 |
| - </div> |
81 |
| - </div> |
82 |
| - </div> |
83 |
| - </div> |
84 |
| - </div> |
85 |
| - </div> |
86 |
| - </section> |
87 |
| - ); |
88 |
| -}; |
89 |
| - |
90 |
| -export default About; |
| 1 | +import Image from 'next/image'; |
| 2 | + |
| 3 | +const About = () => { |
| 4 | + return ( |
| 5 | + <section className="py-8 xl:px-24 sm:px-10 px-5" id="about"> |
| 6 | + <div className="text-center my-10"> |
| 7 | + <p className="text-[#3977F8] font-game text-xl">01</p> |
| 8 | + <h1 className="font-bold text-6xl">ABOUT</h1> |
| 9 | + </div> |
| 10 | + <div className="flex justify-center items-center"> |
| 11 | + <div className="lg:grid grid-cols-6 flex-1 max-w-[90rem]"> |
| 12 | + {/* LEFT SIDE */} |
| 13 | + <div className="col-span-2 md:mx-5"> |
| 14 | + <div className="flex items-center justify-center"> |
| 15 | + <Image src="/assets/csesoc_icon.svg" alt="CSESoc Icon" width={150} height={150} /> |
| 16 | + </div> |
| 17 | + <h1 className="mt-10 text-3xl font-extrabold">CSESoc</h1> |
| 18 | + <p className="text-[#727B8C] font-medium">unsw-computer-science-soc</p> |
| 19 | + <button className="bg-[#444F6F] w-full my-5 py-2 rounded">Follow</button> |
| 20 | + <p> |
| 21 | + We are one of the biggest and most active societies at UNSW, catering to over 3500 CSE |
| 22 | + students spanning across degrees in Computer Science, Software Engineering, |
| 23 | + Bioinformatics and Computer Engineering. |
| 24 | + </p> |
| 25 | + <div className="my-4 flex gap-5"> |
| 26 | + <Image src="/assets/people_icon.svg" alt="People" width={20} height={20} /> |
| 27 | + <div> |
| 28 | + 432 <span className="text-[#727B8C]">members</span> · 342{' '} |
| 29 | + <span className="text-[#727B8C]">subcom</span> |
| 30 | + </div> |
| 31 | + </div> |
| 32 | + <div className="my-4 flex gap-5"> |
| 33 | + <Image src="/assets/location_icon.svg" alt="Location" width={20} height={20} /> |
| 34 | + Sydney, Australia |
| 35 | + </div> |
| 36 | + <div className="flex gap-5"> |
| 37 | + <Image src="/assets/mail_icon.svg" alt="Mail" width={20} height={20} /> |
| 38 | + |
| 39 | + </div> |
| 40 | + </div> |
| 41 | + {/* RIGHT SIDE */} |
| 42 | + <div className="col-span-4 lg:mt-0 mt-10"> |
| 43 | + <div className="rounded border border-[#595F6D] p-5 2xl:h-80 xl:h-64 lg:h-48 sm:h-36 h-32 h-full"> |
| 44 | + <p className="text-xs"> |
| 45 | + csesoc/README<span className="text-[#7A8192]">.md</span> |
| 46 | + </p> |
| 47 | + <p className="mt-5">Lorem Ipsum</p> |
| 48 | + </div> |
| 49 | + <div className="mt-10"> |
| 50 | + Pinned |
| 51 | + <div className="sm:flex my-5"> |
| 52 | + <div className="p-5 border border-[#595F6D] flex-1 rounded-lg mr-5 w-full sm:mb-0 mb-5"> |
| 53 | + <div className="flex text-[#3A76F8]"> |
| 54 | + <Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} /> |
| 55 | + csesoc.unsw.edu.au/<span className="font-semibold">events</span> |
| 56 | + </div> |
| 57 | + <div className="my-5">CSESoc's recent events</div> |
| 58 | + <div className="rounded-full bg-[#CC5421] w-3 h-3" /> |
| 59 | + </div> |
| 60 | + <div className="p-5 border border-[#595F6D] flex-1 rounded-lg w-full"> |
| 61 | + <div className="flex text-[#3A76F8]"> |
| 62 | + <Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} /> |
| 63 | + csesoc.unsw.edu.au/<span className="font-semibold">socials</span> |
| 64 | + </div> |
| 65 | + <div className="my-5">Follow us on all socials</div> |
| 66 | + <div className="rounded-full bg-[#566ACE] w-3 h-3" /> |
| 67 | + </div> |
| 68 | + </div> |
| 69 | + <div className="sm:flex"> |
| 70 | + <div className="p-5 border border-[#595F6D] flex-1 rounded-lg mr-5 w-full sm:mb-0 mb-5"> |
| 71 | + <div className="flex text-[#3A76F8]"> |
| 72 | + <Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} /> |
| 73 | + csesoc.unsw.edu.au/<span className="font-semibold">join-us</span> |
| 74 | + </div> |
| 75 | + <div className="my-5">Get involved!</div> |
| 76 | + <div className="rounded-full bg-[#E7E923] w-3 h-3" /> |
| 77 | + </div> |
| 78 | + <div className="p-5 border border-[#595F6D] flex-1 rounded-lg w-full"> |
| 79 | + <div className="flex text-[#3A76F8]"> |
| 80 | + <Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} /> |
| 81 | + csesoc.unsw.edu.au/<span className="font-semibold">contact</span> |
| 82 | + </div> |
| 83 | + <div className="my-5">Contact us via email</div> |
| 84 | + <div className="rounded-full bg-[#CC5421] w-3 h-3" /> |
| 85 | + </div> |
| 86 | + </div> |
| 87 | + </div> |
| 88 | + </div> |
| 89 | + </div> |
| 90 | + </div> |
| 91 | + </section> |
| 92 | + ); |
| 93 | +}; |
| 94 | + |
| 95 | +export default About; |
0 commit comments