Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
c8318a5
feat: initial commit + route setup
devRaxx Mar 18, 2025
e0c7131
feat: modified redirectTo function in NavBar so that it doesn't creat…
devRaxx Mar 18, 2025
293aa55
feat: 80% progress for mobile view
devRaxx Mar 19, 2025
a5f97a9
fix: fixed minor routing misimplementation
devRaxx Mar 19, 2025
edbaf81
feat: initial commit + route setup
devRaxx Mar 18, 2025
821a960
feat: modified redirectTo function in NavBar so that it doesn't creat…
devRaxx Mar 18, 2025
cd52376
feat: 80% progress for mobile view
devRaxx Mar 19, 2025
d11a7e7
fix: fixed minor routing misimplementation
devRaxx Mar 19, 2025
95c49b5
feat: formatting and added CURRENT SIGs cards
devRaxx Mar 19, 2025
25dbe4b
Merge branch '50-sigs-page' of https://github.com/DurianPy-Davao-Pyth…
devRaxx Mar 19, 2025
7b3e37a
feat: added initial cards for current sigs section
devRaxx Mar 19, 2025
1226518
fix: fixed lint error
devRaxx Mar 19, 2025
70b04ac
feat: improved card design for mobile view
devRaxx Mar 19, 2025
2b8bd11
feat: updated design up to ipad ver. on figma
devRaxx Mar 19, 2025
38e99fc
feat: improved UI responsiveness
devRaxx Mar 19, 2025
0604de2
feat: added button functionalities
devRaxx Mar 19, 2025
79b046f
fix: modified title color
twixlcn Mar 20, 2025
fe3e199
fix: added gradient and adjusted responsiveness
twixlcn Mar 30, 2025
6c95b49
fix: added gradient and fixed responsiveness
twixlcn Mar 30, 2025
1d1e375
fix: added gradient and responsiveness
twixlcn Mar 30, 2025
d7fa928
fix: added gradient
twixlcn Mar 30, 2025
fb09b15
format: npm run format
twixlcn Apr 2, 2025
e42d3e0
feat: initial commit + route setup
devRaxx Mar 18, 2025
1684779
feat: modified redirectTo function in NavBar so that it doesn't creat…
devRaxx Mar 18, 2025
17d67ca
feat: 80% progress for mobile view
devRaxx Mar 19, 2025
7adf3d0
fix: fixed minor routing misimplementation
devRaxx Mar 19, 2025
a8b0775
feat: formatting and added CURRENT SIGs cards
devRaxx Mar 19, 2025
bca98bf
feat: initial commit + route setup
devRaxx Mar 18, 2025
605093d
feat: modified redirectTo function in NavBar so that it doesn't creat…
devRaxx Mar 18, 2025
9ab7674
feat: 80% progress for mobile view
devRaxx Mar 19, 2025
4ccc53a
fix: fixed minor routing misimplementation
devRaxx Mar 19, 2025
4c7ca71
feat: added initial cards for current sigs section
devRaxx Mar 19, 2025
3f42ea7
fix: fixed lint error
devRaxx Mar 19, 2025
a4fa7cf
feat: improved card design for mobile view
devRaxx Mar 19, 2025
54c04a5
feat: updated design up to ipad ver. on figma
devRaxx Mar 19, 2025
c04fa41
feat: improved UI responsiveness
devRaxx Mar 19, 2025
c0ea6eb
feat: added button functionalities
devRaxx Mar 19, 2025
1a790b5
fix: modified title color
twixlcn Mar 20, 2025
b74c0b5
fix: added gradient and adjusted responsiveness
twixlcn Mar 30, 2025
4a0cc16
fix: added gradient and fixed responsiveness
twixlcn Mar 30, 2025
99433b4
fix: added gradient and responsiveness
twixlcn Mar 30, 2025
0047450
fix: added gradient
twixlcn Mar 30, 2025
4ed3b31
format: npm run format
twixlcn Apr 2, 2025
57a9bb7
fix: fixed button transition
devRaxx Apr 15, 2025
9ea2dd9
Merge branch 'DY-50' of https://github.com/DurianPy-Davao-Python-User…
devRaxx Apr 15, 2025
db8d434
fix: fixed design issues
devRaxx Apr 15, 2025
765e927
fix: button hover
twixlcn Apr 15, 2025
2875193
Merge branch 'DY-50' into DY-50-fix
twixlcn Apr 22, 2025
653b68f
fix: removed additional footer
devRaxx May 8, 2025
9571d4a
fix: npm run lint
devRaxx May 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions app/sigs/components/card.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
'use client';

import { useRouter } from 'next/navigation';
import React from 'react';
import Image from 'next/image';

interface CardProps {
image: string;
title: string;
}

export default function Card({ image, title }: CardProps) {
const router = useRouter();

return (
<div
className="rounded-lg bg-gradient-to-b from-[rgba(62,179,114,0.2)] to-[rgba(25,113,64,0.2)]
w-[188px] md:w-[328px] h-[195px] md:h-[340px]
flex flex-col items-center justify-center border-t-2 border-midori-green hover:scale-105 duration-300"
>
<div className="relative w-16 h-16 md:w-40 md:h-40 mb-2">
{typeof image === 'string' ? (
<Image src={image} alt={title} layout="fill" objectFit="contain" />
) : (
image
)}
</div>

<h3 className="text-yellow-400 font-bold text-lg md:text-[40px] md:leading-none text-center mb-2 md:mb-8">
{title}
</h3>

<button
className="bg-yellow-400 text-xs text-black py-1 px-3 rounded-full font-bold hover:scale-110 duration-300"
onClick={() => router.push('/404')}
>
READ MORE
</button>
</div>
);
}
74 changes: 74 additions & 0 deletions app/sigs/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
'use client';

import React from 'react';
import Card from './components/card';

const sigsData = [
{ image: '/assets/sigsIcons/Group125.png', title: 'Data' },
{ image: '/assets/sigsIcons/Group122.png', title: 'Backend' },
];

export default function Sigs() {
return (
<main className="relative flex flex-col justify-center mt-28 2xl:mt-60">
<div>
<p className="text-primary text-[32px] md:text-[70px] leading-9 md:leading-none font-black text-center">
SPECIAL <br />
<span className="text-white">INTEREST GROUPS</span>
</p>

<p className="text-white text-xs md:text-xl text-center mt-4 2xl:my-14 mx-auto w-[80%] 2xl:w-[55%]">
DurianPy&rsquo;s{' '}
<span className="text-primary font-bold">
Special Interest Groups
</span>{' '}
(SIGs) are focused communities within our user group that allow Python
enthusiasts to dive deeper into specific topics. Whether you&rsquo;re
passionate about{' '}
<span className="text-primary font-bold">data science</span> or{' '}
<span className="text-primary font-bold">data science</span> or{' '}
<span className="text-primary font-bold">backend development</span>,
our SIGs providea space for hands-on learning, networking, and
collaboration.
</p>

<button
className="my-6 md:my-8 lg:my-10 mx-auto block bg-primary text-black text-[8px] md:text-xl leading-3 md:leading-none font-bold rounded-full px-2 md:px-4 lg:px-8 py-1 md:py-2 lg:py-4 border border-transparent hover:bg-opacity-50 hover:border-primary hover:text-primary transition-colors"
onClick={() =>
(window.location.href = 'https://forms.gle/XxDJZebqbJB6tJo27')
}
>
Join a SIG today
</button>
<div className="relative w-full h-[250px] md:h-[350px] -mt-20 -mb-20 flex flex-col items-center -z-10">
<div className="absolute top-0 w-[50%] md:w-[80%] h-[100px] md:h-[150px] bg-[#36FF90] rounded-b-full blur-2xl md:blur-3xl opacity-10 z-[-1] -mt-5"></div>
<div className="absolute top-1/2 -translate-y-1/2 w-full md:w-[85%] h-[80%] md:h-[71%] bg-[#36FF90] rounded-full blur-[80px] md:blur-[120px] opacity-30 z-[-2]"></div>
<div className="absolute bottom-0 w-[50%] md:w-[80%] h-[100px] md:h-[150px] bg-[#36FF90] rounded-t-full blur-2xl md:blur-3xl opacity-10 z-[-1]"></div>
</div>
</div>
<div className="sm:mt-15 md:-mt-10 lg:-mt-10">
<p className="text-primary text-[32px] md:text-[70px] leading-9 md:leading-none font-black text-center">
CURRENT <span className="text-white">SIGs</span>
</p>

<div className="flex flex-wrap justify-center gap-3 md:gap-8 xl:gap-20 mt-6">
{sigsData.map((sig, index) => (
<Card key={index} image={sig.image} title={sig.title} />
))}
</div>
</div>

<div className="mt-16">
<p className="text-primary text-xl md:text-4xl font-semibold text-center">
Want to Start a SIG?
</p>
<p className="text-white text-xs md:text-2xl text-center mt-4 mx-auto w-[85%]">
If you’re passionate about a particular Python topic and want to start
a SIG, reach out to us at{' '}
<span className="underline">durianpy.davao@gmail.com</span>. Our
organizers will review and respond within 48 hours.
</p>
</div>
</main>
);
}
8 changes: 4 additions & 4 deletions components/navs/public/DesktopView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface redirectProps {
}

function redirectTo({ href }: redirectProps) {
window.open(href, '_blank', 'noopener,noreferrer');
window.location.href = href;
}

export default function DesktopView() {
Expand Down Expand Up @@ -73,13 +73,13 @@ export default function DesktopView() {
>
Speak
</Button>
{/* <Button
<Button
variant={'navLink'}
onClick={() => router.push('/404')}
onClick={() => redirectTo({ href: '/sigs' })}
className={`${pathname === '/sigs' ? 'text-primary border-primary' : ''}`}
>
SIGs
</Button> */}
</Button>
<Button
variant={'navLink'}
onClick={() => router.push('/code-of-conduct')}
Expand Down
10 changes: 5 additions & 5 deletions components/navs/public/MobileView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface redirectProps {
}

function redirectTo({ href }: redirectProps) {
window.open(href, '_blank', 'noopener,noreferrer');
window.location.href = href;
}

export default function MobileView() {
Expand Down Expand Up @@ -87,15 +87,15 @@ export default function MobileView() {
</AccordionItem>
</Accordion>

{/* <Button
<Button
variant={'navLinkMobile'}
onClick={() => router.push('/404')}
onClick={() => redirectTo({ href: '/sigs' })}
>
SIGs
</Button> */}
</Button>
<Button
variant={'navLinkMobile'}
onClick={() => router.push('/code-of-conduct')}
onClick={() => redirectTo({ href: '/sigs' })}
>
Code of Conduct
</Button>
Expand Down
Binary file added public/assets/sigsIcons/Group122.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/sigsIcons/Group125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.