-
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.
- Loading branch information
Showing
31 changed files
with
353 additions
and
533 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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,25 +1,30 @@ | ||
import Petinggi from "../partials/member/Petinggi.jsx"; | ||
import AnimatedPage from "../partials/animation/AnimatedPage.jsx"; | ||
import Petinggi from "../partials/member/Petinggi.jsx" | ||
import AnimatedPage from "../partials/animation/AnimatedPage.jsx" | ||
import GenSwitch from "../partials/member/GenSwitch.jsx" | ||
import {useSearchParams} from "react-router-dom" | ||
import {useState} from "react" | ||
import Struktur from "../partials/member/Struktur.jsx" | ||
import Gen12 from "../partials/member/Gen12.jsx" | ||
import Gen13 from "../partials/member/Gen13.jsx" | ||
|
||
export default function Member() { | ||
const [query] = useSearchParams() | ||
const [gen, setGen] = useState(parseInt(query.get('gen'))) | ||
const changeGen = (gen) => { | ||
window.history.replaceState({}, '', `/member?gen=${gen}`) | ||
setGen(gen) | ||
} | ||
|
||
function Member() { | ||
return ( | ||
<AnimatedPage> | ||
<Petinggi jabatan='penanggung jawab' nama='devit hari ashari, s.pd.' marginTop='2' gambar='devit-cache.png' | ||
alt='Ustadz Devit Hari Ashari'/> | ||
<hr/> | ||
<Petinggi jabatan='pembina' nama='diantika arifianti, s.t.' marginTop='3' gambar='devit-cache.png' alt='Ustadzah Dian'/> | ||
<div className="d-flex justify-content-center fs-3 mb-2"> | ||
<button type="button" className="active"> | ||
Gen 12 | ||
</button> | ||
<button type="button">Gen 13</button> | ||
</div> | ||
<div className="member-container p-4 pt-5 mt-5"> | ||
{/*?php include 'pages/gen12.php' ?*/} | ||
</div> | ||
<AnimatedPage bgColor='#CECECE'> | ||
<Petinggi jabatan='penanggung jawab' nama='devit hari ashari, s.pd.' gambar='devit-cache' | ||
alt='Ustadz Devit Hari Ashari' mt='0' my='3'/> | ||
<Petinggi jabatan='pembina' nama='diantika arifianti, s.t.' gambar='devit-cache' alt='Ustadzah Dian' mt='5' my='4'/> | ||
<GenSwitch gen={gen} changeGen={changeGen} /> | ||
<Struktur> | ||
{gen === 12 ? (<Gen12/>) : (<Gen13/>)} | ||
</Struktur> | ||
</AnimatedPage> | ||
|
||
) | ||
} | ||
|
||
export default Member | ||
} |
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,5 @@ | ||
import AnimatedPage from "../partials/animation/AnimatedPage.jsx"; | ||
|
||
function Mikrotik() { | ||
export default function Mikrotik() { | ||
return <AnimatedPage></AnimatedPage> | ||
} | ||
|
||
export default Mikrotik | ||
} |
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,11 +1,9 @@ | ||
function Footer() { | ||
export default function Footer() { | ||
return ( | ||
<footer> | ||
<p>Social</p> | ||
<hr className="bg-white"/> | ||
<p>Copyright© SBK 2024</p> | ||
</footer> | ||
) | ||
} | ||
|
||
export default Footer | ||
} |
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
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,5 +1,3 @@ | ||
function BGBlack() { | ||
export default function BGBlack() { | ||
return (<div className="bg-black second-content w-100"/>) | ||
} | ||
|
||
export default BGBlack | ||
} |
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,21 +1,19 @@ | ||
function Card({judul, isi, gambar, reverse = false}) { | ||
export default function Card({judul, isi, gambar, reverse = false}) { | ||
return reverse ? ( | ||
<div className="a-first container"> | ||
<div className="text"> | ||
<h1 className="fs-2 text-capitalize">{judul}</h1> | ||
<p className="cmb-1">{isi}</p> | ||
</div> | ||
<img src={`/pictures/${gambar}`} alt={judul} className="icon w-100"/> | ||
<img src={`/pictures/${gambar}.png`} alt={judul} className="icon w-100"/> | ||
</div> | ||
) : ( | ||
<div className="p-first container"> | ||
<img src={`/pictures/${gambar}`} alt={judul} className="icon w-100"/> | ||
<img src={`/pictures/${gambar}.png`} alt={judul} className="icon w-100"/> | ||
<div className="text"> | ||
<h1 className="fs-2 text-capitalize">{judul}</h1> | ||
<p className="cmb-1">{isi}</p> | ||
</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
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
Oops, something went wrong.