Skip to content

Commit

Permalink
Merge pull request #1 from VanJS/add-footer-for-contact
Browse files Browse the repository at this point in the history
Add images, footer and adjust contact link.
  • Loading branch information
bibschan authored Aug 12, 2024
2 parents e366594 + 2a6b575 commit a9ffa93
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 1 deletion.
14 changes: 14 additions & 0 deletions public/linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions public/meetup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions public/tickets.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 77 additions & 1 deletion src/app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import StickerBanner from "@/components/sticker-banner/sticker-banner";
export default function Home() {
return (
<div className="flex flex-col min-h-dvh">
{/* //Header */}
<header className="sticky top-0 z-50 w-full border-b bg-[#FEB92F]">
<div className="container flex items-center justify-between h-16 px-4 md:px-6">
<Link
Expand Down Expand Up @@ -63,7 +64,7 @@ export default function Home() {
Speakers
</Link>
<Link
href="#"
href="#footer-contact"
className="hover:underline underline-offset-4"
prefetch={false}
>
Expand Down Expand Up @@ -450,6 +451,81 @@ export default function Home() {
</div>
</section>
</main>
{/* Footer */}
<footer
id="footer-contact"
className="bottom-0 w-full border-b h-18 bg-[#FEB92F]"
>
<div className="container flex items-center justify-between gap-8 h-16 p-4 md:px-8">
<Link
href="#"
className="flex items-center gap-2 text-lg font-semibold"
prefetch={false}
>
<Image
src="/VanJS.png"
alt="VanJS"
width={100}
height={64}
style={{
height: "64px",
objectFit: "cover",
}}
/>
</Link>
<div className="flex items-center justify-end gap-8">
<Link
href="https://lu.ma/vanjs"
className="hover:underline hover:opacity-60 flex items-center gap-2 text-sm font-medium"
prefetch={false}
>
Get your tickets here:
<Image
src="/tickets.svg"
alt="tickets"
width={45}
height={45}
style={{
borderRadius: 5,
objectFit: "cover",
}}
/>
</Link>
<Link
href="https://www.meetup.com/vancouver-javascript-developers/"
className="flex items-center hover:opacity-60 gap-2"
prefetch={false}
>
<Image
src="/meetup.svg"
alt="meetup"
width={45}
height={45}
style={{
borderRadius: 5,
objectFit: "cover",
}}
/>
</Link>
<Link
href="https://www.linkedin.com/company/vancouverjs/"
className="flex items-center hover:opacity-60 gap-2"
prefetch={false}
>
<Image
src="/linkedin.svg"
alt="linkedin"
width={38}
height={38}
style={{
borderRadius: 5,
objectFit: "cover",
}}
/>
</Link>
</div>
</div>
</footer>
</div>
);
}
Expand Down

0 comments on commit a9ffa93

Please sign in to comment.