-
Notifications
You must be signed in to change notification settings - Fork 1
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
6 changed files
with
74 additions
and
39 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
import { FaFacebook, FaInstagram, FaYoutube } from 'react-icons/fa'; | ||
|
||
export function DesktopFooter() { | ||
return ( | ||
<footer className='hidden md:flex p-10 justify-between items-center gap-10 flex-row'> | ||
<div className='flex items-center gap-5 text-[40px]'> | ||
<Link href='https://www.instagram.com/simonyikonf' className='brand-link' target='blank'> | ||
<FaInstagram /> | ||
</Link> | ||
<Link href='https://www.facebook.com/events/1060756212046229' className='brand-link' target='blank'> | ||
<FaFacebook /> | ||
</Link> | ||
<Link | ||
href='https://www.youtube.com/watch?v=QDKDaMKqcoQ&list=PLovp3RCdzQGx_lKpvCgUJT6n-wJazXKrL' | ||
className='brand-link' | ||
target='blank' | ||
> | ||
<FaYoutube /> | ||
</Link> | ||
</div> | ||
<div className='flex items-center gap-10'> | ||
<Link href='https://schdesign.hu' className='brand-link' target='blank'> | ||
<Image className='-mb-2' src='/img/schdesign.svg' alt='schdesign' width={148} height={40} /> | ||
</Link> | ||
<Link href='https://kir-dev.hu' className='brand-link' target='blank'> | ||
<Image src='/img/kirdev-inline.svg' alt='Kir-Dev' width={193} height={40} /> | ||
</Link> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { DesktopFooter } from '@/components/footer/desktop-footer'; | ||
import { MobileFooter } from '@/components/footer/mobile-footer'; | ||
|
||
export function Footer() { | ||
return ( | ||
<> | ||
<MobileFooter /> | ||
<DesktopFooter /> | ||
</> | ||
); | ||
} |
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,9 @@ | ||
import { UniLogos } from '@/components/uni-logos'; | ||
|
||
export function MobileFooter() { | ||
return ( | ||
<footer className='flex md:hidden p-10 justify-end'> | ||
<UniLogos /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import clsx from 'clsx'; | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
import { HTMLAttributes } from 'react'; | ||
|
||
export function UniLogos({ className, ...props }: HTMLAttributes<HTMLDivElement>) { | ||
return ( | ||
<div className={clsx('flex items-center gap-10', className)} {...props}> | ||
<Link href='https://vik.bme.hu' className='brand-link' target='blank'> | ||
<Image src='/img/vik.svg' alt='Vik' width={40} height={40} /> | ||
</Link> | ||
<Link href='https://simonyi.bme.hu' className='brand-link' target='blank'> | ||
<Image src='/img/simonyi.svg' alt='Simonyi Károly Szakkollégium' width={193} height={40} /> | ||
</Link> | ||
</div> | ||
); | ||
} |