diff --git a/src/components/BPACard.tsx b/src/components/BPACard.tsx index ec38f4d..07f3b50 100644 --- a/src/components/BPACard.tsx +++ b/src/components/BPACard.tsx @@ -11,7 +11,10 @@ const BPACard = ({ imgUrl, name, position, hideName }: memberBPA) => { return (
{name} { {!hideName && (

{name}

- {position &&

{position}

} + {position && ( +

{position}

+ )}
)}
diff --git a/src/components/BPAbutton.tsx b/src/components/BPAbutton.tsx index 6a5cb36..88ebdb6 100644 --- a/src/components/BPAbutton.tsx +++ b/src/components/BPAbutton.tsx @@ -7,10 +7,15 @@ const BPAbutton = ({ data }: { data: bpaType }) => { return ( + className="border-2 rounded-full border-[#101351] md:border-slate-200 h-fit px-2 py-0.5 hover:bg-slate-50/50 ease-in duration-75" + >

{data.name}{" "} - {data.members.length > 1 && {data.members.length}} + {data.members.length > 1 && ( + + {data.members.length} + + )}

); diff --git a/src/components/BPAinfo.tsx b/src/components/BPAinfo.tsx index 8176def..63aff27 100644 --- a/src/components/BPAinfo.tsx +++ b/src/components/BPAinfo.tsx @@ -26,20 +26,33 @@ const BPAInfo = ({ data }: { data: bpaType }) => { }; return ( -
+

{data.name}

- + # - {copySuccess && Copied!} + {copySuccess && ( + Copied! + )}
{data.members.length > 1 ? ( <>

{data.jobDesc}

{data.members.map((member, idx) => ( - + ))}
@@ -47,7 +60,12 @@ const BPAInfo = ({ data }: { data: bpaType }) => {
{data.members.map((member, idx) => ( - + ))}

diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx new file mode 100644 index 0000000..3c0f243 --- /dev/null +++ b/src/components/Footer.tsx @@ -0,0 +1,57 @@ +import Link from "next/link"; +import React from "react"; +import { IoIosStarOutline } from "react-icons/io"; +import { FaInstagram } from "react-icons/fa"; +import { FaYoutube } from "react-icons/fa6"; +import { FaTiktok } from "react-icons/fa"; +import { FaXTwitter } from "react-icons/fa6"; +import { SiLinktree } from "react-icons/si"; + +const Footer = () => { + return ( +

+
+
+
+
+
+

Syntax

+

Code Create Connect

+
+
+
+ About Us + Support Us + Contact Us + Media Kit +
+
+

Like What You're Seeing?

+

Give us feedback!

+
+ + + + + +
+
+
+
+
+

© 2024 BPA Academics STEI-K 2023. All rights reserved.

+
+
+ + + + + +
+
+
+
+ ); +}; + +export default Footer; diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 016442b..cb8fda3 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -8,13 +8,26 @@ import { GoHome, GoCopilot } from "react-icons/go"; import { IoMdBook } from "react-icons/io"; import { RiGroupLine } from "react-icons/ri"; -const NavListDesktop = ({ href, routerPathname, lable }: { href: string; routerPathname: string; lable: string }) => ( +const NavListDesktop = ({ + href, + routerPathname, + lable, +}: { + href: string; + routerPathname: string; + lable: string; +}) => (

- {lable} + routerPathname === href + ? "border-b-2 border-gray-400" + : "hover:brightness-110 hover:border-b-2 border-gray-400" + } + > + + {lable} +

); @@ -68,12 +81,20 @@ const Navbar = () => { <>
+ router.pathname === "/" && !scrolledOneThirdvw + ? "bg-none" + : "bg-[#101351]" + }`} + >
- -
+ +
{

+ className={`font-extrabold uppercase text-2xl duration-100 ease-in tracking-wider font-outfit h-fit leading-4 ${getTextColor()}`} + > Syntax

+ className={`text-[16px] lg:text-lg duration-100 ease-in tracking-wider font-outfit leading-6 ${getTextColor()}`} + > code, create, connect

@@ -100,11 +123,28 @@ const Navbar = () => {
{/* Desktop navigation list */}
- - - - + className={`flex gap-0 py-1 text-[#6B778C] md:gap-6 lg:gap-8 lg:py-5 xl:gap-12 uppercase items-center ${getTextColor()}`} + > + + + +
{/* Mobile Nav Button */} @@ -113,39 +153,54 @@ const Navbar = () => {
{/* Mobile Nav List */}
handleNav(false)} - className={`text-slate-800 ${navMobile ? "md:hidden fixed left-0 top-0 w-full h-screen bg-black/70" : ""}`}> + className={`text-slate-800 ${navMobile ? "md:hidden fixed left-0 top-0 w-full h-screen bg-black/70" : ""}`} + >
+ } + >

SYNTAX

STEI-K 23

-

Code, Create, Connect!

+

+ Code, Create, Connect! +

- + Home - + BPA - + Akademik + className="bg-slate-50 hover:brightness-95 pl-2 py-1 flex items-center gap-2" + > Acara Kemahasiswaan
diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index 816acc9..8aa34f6 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -1,3 +1,4 @@ +import Footer from "@/components/Footer"; import { Html, Head, Main, NextScript } from "next/document"; export default function MyDocument() { @@ -76,6 +77,7 @@ export default function MyDocument() {
+