-
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
1 changed file
with
67 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,75 @@ | ||
"use client" | ||
|
||
import { useScreenSize } from "@/components/shared/hooks/useScreenSize" | ||
import { InstagramIcon, LinkedinIcon, Music2Icon } from "lucide-react" | ||
|
||
export function Footer() { | ||
const { width } = useScreenSize() | ||
let screenSmall = false | ||
|
||
return ( | ||
<div className="flex w-full justify-center"> | ||
<div className="absolute mt-2 h-1 w-2/3 rounded bg-slate-500 bg-opacity-20"> | ||
{" "} | ||
</div> | ||
<div className="m-5 mb-3 mt-7 w-1/4"> | ||
<p>Follow us on:</p> | ||
<a | ||
href="https://www.linkedin.com/company/armada" | ||
className="flex items-end space-x-1"> | ||
<LinkedinIcon size="20" /> | ||
<p className="mb-0">LinkedIn</p> | ||
</a> | ||
<a | ||
href="https://www.instagram.com/thsarmada/" | ||
className="flex items-end space-x-1"> | ||
<InstagramIcon size="20" /> | ||
<p>Instagram</p> | ||
</a> | ||
<a | ||
href="https://www.tiktok.com/@ths.armada" | ||
className="flex items-end space-x-1"> | ||
<Music2Icon size="20" /> | ||
<p>TikTok</p> | ||
</a> | ||
</div> | ||
/* IF WIDTH < 768, SET TO VERTICAL, OTHERWISE KEEP HORIZONTAL */ | ||
(width ?? 0) < 768 ? (screenSmall = true) : (screenSmall = false), | ||
( | ||
<div | ||
className={ | ||
screenSmall | ||
? "w-100 flex flex-col items-center justify-center" | ||
: "w-100 flex flex-row justify-center" | ||
}> | ||
<hr | ||
className={ | ||
screenSmall | ||
? "static mt-2 h-1 w-2/3 rounded border-0 bg-slate-500 bg-opacity-30" | ||
: "absolute mt-2 h-1 w-2/3 rounded border-0 bg-slate-500 bg-opacity-30" | ||
} | ||
/> | ||
<div | ||
className={ | ||
screenSmall | ||
? "m-5 mb-3 mt-7 w-1/4 place-items-center text-center" | ||
: "m-5 mb-3 mt-7 w-1/4" | ||
}> | ||
<p>Follow us on:</p> | ||
<a | ||
href="https://www.linkedin.com/company/armada" | ||
className="flex space-x-1"> | ||
<LinkedinIcon size="20" /> | ||
<p className="mb-0">LinkedIn</p> | ||
</a> | ||
<a | ||
href="https://www.instagram.com/thsarmada/" | ||
className="flex space-x-1"> | ||
<InstagramIcon size="20" /> | ||
<p>Instagram</p> | ||
</a> | ||
<a | ||
href="https://www.tiktok.com/@ths.armada" | ||
className="flex space-x-1"> | ||
<Music2Icon size="20" /> | ||
<p>TikTok</p> | ||
</a> | ||
</div> | ||
|
||
<div className="m-5 mb-3 mt-7 w-1/2 text-center"> | ||
{/* | ||
<p>Follow us on:</p> | ||
<a className="flex justify-center space-x-1"> | ||
<LinkedinIcon size="20" /> | ||
<p className="mb-0">LinkedIn</p> | ||
</a> | ||
<a className="flex justify-center space-x-1"> | ||
<InstagramIcon size="20" /> | ||
<p>Instagram</p> | ||
</a> | ||
<a className="flex justify-center space-x-1"> | ||
<Music2Icon size="20" /> | ||
<p>TikTok</p> | ||
</a>*/} | ||
</div> | ||
<div className="m-5 mb-3 mt-7 w-1/4 text-end"> | ||
<p>ARMADA</p> | ||
<p>Drottning Kristinas väg 15</p> | ||
<p>114 28, Stockholm</p> | ||
<div | ||
className={ | ||
screenSmall | ||
? "m-5 mb-3 mt-7 w-1/2 place-items-center text-center" | ||
: "m-5 mb-3 mt-7 w-1/2 text-end" | ||
}> | ||
{/*PUT SPONSORS HERE*/} | ||
</div> | ||
<div | ||
className={ | ||
screenSmall | ||
? "m-5 mb-3 mt-7 w-1/4 place-items-center text-center" | ||
: "m-5 mb-3 mt-7 w-1/4 text-end" | ||
}> | ||
<p>ARMADA</p> | ||
<p>Drottning Kristinas väg 15</p> | ||
<p>114 28, Stockholm</p> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
) | ||
} |