generated from codersforcauses/django-nextjs-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from codersforcauses/issue-64-Create_landing_page
Issue 64 create landing page
- Loading branch information
Showing
14 changed files
with
328 additions
and
15 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import Link from "next/link"; | ||
|
||
export default function Footer() { | ||
return ( | ||
<div className="flex items-center justify-between gap-10 bg-[--nav-background] px-10 py-12 text-center max-md:flex-col"> | ||
<h5>Western Australian Junior mathematics Olympiad</h5> | ||
<div className="flex flex-shrink items-center justify-between gap-20 text-xl font-medium"> | ||
<Link href="/news" className="hover:animate-bounce"> | ||
News | ||
</Link> | ||
<Link href="/awards" className="hover:animate-bounce"> | ||
Awards | ||
</Link> | ||
<Link href="/resources" className="hover:animate-bounce"> | ||
Resources | ||
</Link> | ||
<Link href="/contact" className="hover:animate-bounce"> | ||
Contact us | ||
</Link> | ||
</div> | ||
</div> | ||
); | ||
} |
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,39 @@ | ||
import Image from "next/image"; | ||
|
||
import Casio from "../../../public/sponsor-logos/Casio.svg"; | ||
import DoE from "../../../public/sponsor-logos/DoE.svg"; | ||
import ECU from "../../../public/sponsor-logos/ECU.svg"; | ||
import MAWA from "../../../public/sponsor-logos/MAWA.svg"; | ||
import Murdoch from "../../../public/sponsor-logos/Murdoch.svg"; | ||
import NewEdition from "../../../public/sponsor-logos/New-Edition.svg"; | ||
import UWA from "../../../public/sponsor-logos/UWA.svg"; | ||
|
||
const images = [ | ||
{ src: DoE, href: "https://www.education.wa.edu.au/", name: "DoE" }, | ||
{ src: UWA, href: "https://www.uwa.edu.au/", name: "UWA" }, | ||
{ src: MAWA, href: "https://mawainc.org.au/", name: "MAWA" }, | ||
{ src: ECU, href: "https://www.ecu.edu.au/", name: "ECU" }, | ||
{ src: NewEdition, href: "https://newedition.com.au", name: "NewEdition" }, | ||
{ src: Murdoch, href: "https://www.murdoch.edu.au/", name: "Murdoch" }, | ||
{ src: Casio, href: "https://casioeducation.com.au/", name: "Casio" }, | ||
]; | ||
|
||
export default function Sponsor() { | ||
return ( | ||
<div className="overflow-x-hidden"> | ||
<div className="flex w-full animate-slide list-none flex-nowrap items-center gap-9"> | ||
{[...images, ...images].map((item, index) => ( | ||
<a | ||
href={item.href} | ||
key={index} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className="h-28 flex-shrink-0" | ||
> | ||
<Image src={item.src} alt={`Logo of ${item.name}`} height={100} /> | ||
</a> | ||
))} | ||
</div> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.