-
Notifications
You must be signed in to change notification settings - Fork 0
CW2-37 404 Page #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
CW2-37 404 Page #20
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ee9a017
removed stats card
QuadAces 5a03a62
added description
QuadAces ba2d84a
changed events to upcomming events
QuadAces 3467cb3
removed resources and contacts completely to remove redunancy (it is …
QuadAces b642d03
removed imports
QuadAces cd5f274
changed 04 to 03 to compensate for removed resources
QuadAces 60de018
removed numbers from navbar
QuadAces cdc995b
halved space between navbar components
QuadAces b913aa6
shortened about section
QuadAces 6ef6abe
added button for events component
QuadAces 3cd3231
removing numbers
QuadAces 194affa
removing numbers
QuadAces e8e91bd
removing numbers
QuadAces c9601a0
removing numbers
QuadAces 4c57d1c
Merge master
derekxu04 b70b4f5
removed number for resources (sorry trolling)
QuadAces 37891ed
removed numbers for contact us
QuadAces 7ea1a2e
made button smaller and allign to center
QuadAces b4b60de
added AboutHomepage and removed pinned. Replaced About with AboutHome…
QuadAces 01cf7a9
balanced left side to match right side
QuadAces 36db75e
added Navbar + Footer + 404 page component
QuadAces 11653b5
added details to 404 page
QuadAces dccb2dc
added more 404 page details
QuadAces 344f27c
added animation
QuadAces db24e69
removed typo
QuadAces 19aabbe
changed message
QuadAces e5073a0
changed error message and implemented tailwind transitions
QuadAces File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import Link from "next/link"; | ||
import Image from "next/image"; | ||
export default function AboutHomePage() { | ||
return ( | ||
<section className="py-8 xl:px-24 sm:px-10 px-5" id="about"> | ||
<div className="text-center my-10"> | ||
<h2 className="font-bold text-6xl">ABOUT</h2> | ||
</div> | ||
<div className="flex justify-center items-center"> | ||
<div className="lg:grid grid-cols-6 flex-1 max-w-[90rem]"> | ||
{/* LEFT SIDE */} | ||
<div className="col-span-2 md:mx-5"> | ||
<div className="flex items-center justify-center"> | ||
<Image src="/assets/csesoc_icon.svg" alt="CSESoc Icon" width={150} height={150} /> | ||
</div> | ||
<h2 className="text-3xl font-extrabold">CSESoc</h2> | ||
<button className="bg-[#444F6F] w-full my-5 py-2 rounded">Follow</button> | ||
</div> | ||
{/* RIGHT SIDE */} | ||
<div className="col-span-4 lg:mt-0 mt-10"> | ||
<div className="rounded border border-[#595F6D] p-5 h-auto"> | ||
<p className="text-xs"> | ||
csesoc/README<span className="text-[#7A8192]">.md</span> | ||
</p> | ||
<p className="mt-5"> | ||
CSESoc is one of the biggest and most active societies at UNSW, catering to over 3500 CSE | ||
students spanning across degrees in Computer Science, Software Engineering, | ||
Bioinformatics and Computer Engineering. | ||
<br/><br/> | ||
We are here to fulfil the social, personal and | ||
professional needs of CSE students, and promote computing through a variety of forms. | ||
<br/><br/> | ||
Learn more <a href="about" className="text-[#3977F9]">about us!</a> | ||
</p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} |
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
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
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,29 @@ | ||
import Footer from '@/components/Footer'; | ||
import Navbar from '@/components/Navbar'; | ||
import { motion } from 'framer-motion'; | ||
export default function Custom404() { | ||
return ( | ||
<section className="flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden"> | ||
<div className="items-center text-center"> | ||
<Navbar /> | ||
<h1 className="text-5xl font-bold pt-24">404 - Page Not Found</h1> | ||
<p className="text-4xl pt-10"> | ||
Sorry! We can't find the page you're looking for! | ||
<br /> | ||
</p> | ||
<motion.div className="opacity-0" whileHover={{ opacity: 1 }} transition={{duration: 0.2}}> | ||
<p className="text-2xl pt-10"> | ||
While we may have found some tomfoolery, we haven't found your page :'( | ||
</p> | ||
</motion.div> | ||
<a href="/"> | ||
<button className="mt-10 bg-white border text-[#3977F8] border-[#A7A6E5] text-lg rounded-xl w-[30%] xl:h-12 h-10"> | ||
Back to safety | ||
</button> | ||
</a> | ||
</div> | ||
|
||
<Footer /> | ||
</section> | ||
); | ||
} |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha I like the animation
I'm wondering if you can do this just with tailwind, don't have to use framer, could potentially be easier and more inline with the rest of the css
Also: I think it would be cool to have some CS themed error messages, maybe even alternate between a few random ones, could be a fun easter egg (e.g. just asking chatgpt lol:
etc.