-
Notifications
You must be signed in to change notification settings - Fork 775
feat: enhance 404 page with search, go back, and bug reporting #4335
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
Open
anushkaa2704
wants to merge
7
commits into
anurag3407:main
Choose a base branch
from
anushkaa2704:feat/404-page-enhancement
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+408
−107
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
6f2c6ad
all files added
anushkaa2704 9cf2311
index.jsx file from ceramic_minimal
anushkaa2704 748c77f
fixed ui
anushkaa2704 533990b
updated index.js
anushkaa2704 8b8536f
feat: improve 404 page user experience
anushkaa2704 d9bae41
Merge branch 'main' into feat/404-page-enhancement
anushkaa2704 c54b90e
Merge branch 'main' into feat/404-page-enhancement
anushkaa2704 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 hidden or 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 hidden or 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
266 changes: 243 additions & 23 deletions
266
frontend/src/components/portfolio/templates/Ceramic_Minimal/index.jsx
This file contains hidden or 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,32 +1,252 @@ | ||
| import { usePortfolio } from "../../../../context/PortfolioContext"; | ||
| import React from 'react'; | ||
|
|
||
| /** | ||
| * Ceramic Minimal Portfolio Template | ||
| * Category: Glass / Modern UI | ||
| * Description: Ceramic/pottery-inspired smooth matte surfaces. Earthy, warm undertones. Rounded shapes that look like sculpted clay objects. Organic plus minimal. | ||
| */ | ||
| import React from "react"; | ||
| import { motion } from "framer-motion"; | ||
| import data from "../../../../data/dummy_data.json"; | ||
|
|
||
| export default function CeramicMinimal() { | ||
| const { portfolioData: data } = usePortfolio(); | ||
|
|
||
|
anushkaa2704 marked this conversation as resolved.
|
||
| return ( | ||
| <div className="min-h-screen bg-gray-950 text-white flex flex-col items-center justify-center p-8 font-sans"> | ||
| <div className="max-w-3xl w-full text-center"> | ||
| <h1 className="text-5xl md:text-7xl font-bold mb-4 bg-gradient-to-r from-cyan-400 to-purple-500 bg-clip-text text-transparent"> | ||
| <div className="bg-[#F6F1EB] text-[#3e3a37] min-h-screen"> | ||
|
|
||
| {/* HERO */} | ||
| <section className="min-h-screen flex flex-col items-center justify-center text-center px-6"> | ||
| <motion.img | ||
| initial={{ scale: 0.8, opacity: 0 }} | ||
| animate={{ scale: 1, opacity: 1 }} | ||
| transition={{ duration: 0.8 }} | ||
| src={data.personal.avatar} | ||
| alt={data.personal.name} | ||
| className="w-40 h-40 rounded-full object-cover shadow-2xl border-8 border-white" | ||
| /> | ||
|
|
||
| <motion.h1 | ||
| initial={{ y: 30, opacity: 0 }} | ||
| animate={{ y: 0, opacity: 1 }} | ||
| transition={{ delay: 0.2 }} | ||
| className="text-5xl md:text-7xl font-bold mt-8" | ||
| > | ||
| {data.personal.name} | ||
| </h1> | ||
| <p className="text-xl md:text-2xl text-gray-400 mb-8">{data.personal.title}</p> | ||
| <div className="p-8 border-2 border-dashed border-cyan-500/40 rounded-2xl bg-gray-900/50 backdrop-blur-sm"> | ||
| <span className="inline-block px-3 py-1 rounded-full bg-cyan-500/20 text-cyan-400 text-xs font-bold uppercase tracking-widest mb-4"> | ||
| Glass / Modern UI | ||
| </span> | ||
| <h2 className="text-2xl font-bold text-gray-200 mb-3">Ceramic Minimal Template</h2> | ||
| <p className="text-gray-400 mb-6 leading-relaxed"> | ||
| Ceramic/pottery-inspired smooth matte surfaces. Earthy, warm undertones. Rounded shapes that look like sculpted clay objects. Organic plus minimal. | ||
| </motion.h1> | ||
|
|
||
| <p className="text-xl md:text-2xl text-[#8b6f47] mt-4"> | ||
| {data.personal.title} | ||
| </p> | ||
|
|
||
| <p className="max-w-2xl mt-6 text-lg text-[#6b5f55]"> | ||
| {data.personal.tagline} | ||
| </p> | ||
| </section> | ||
|
|
||
| {/* ABOUT */} | ||
| <section className="max-w-5xl mx-auto px-6 py-20"> | ||
| <h2 className="text-4xl font-bold mb-8"> | ||
| About Me | ||
| </h2> | ||
|
|
||
| <div className="bg-white rounded-[32px] p-8 shadow-lg"> | ||
| <p className="leading-relaxed text-lg"> | ||
| {data.personal.bio} | ||
| </p> | ||
| <p className="text-cyan-400 font-semibold">Open an issue to contribute and build this template!</p> | ||
|
|
||
| <p className="mt-6 text-[#8b6f47] font-medium"> | ||
| 📍 {data.personal.location} | ||
| </p> | ||
| </div> | ||
| </section> | ||
|
|
||
| {/* STATS */} | ||
| <section className="max-w-6xl mx-auto px-6 py-10"> | ||
| <div className="grid md:grid-cols-3 gap-6"> | ||
| <div className="bg-white rounded-[32px] p-8 text-center shadow-lg"> | ||
| <h3 className="text-5xl font-bold text-[#c7a77f]"> | ||
| {data.stats.yearsExperience}+ | ||
| </h3> | ||
| <p>Years Experience</p> | ||
| </div> | ||
|
|
||
| <div className="bg-white rounded-[32px] p-8 text-center shadow-lg"> | ||
| <h3 className="text-5xl font-bold text-[#c7a77f]"> | ||
| {data.stats.projectsCompleted}+ | ||
| </h3> | ||
| <p>Projects Completed</p> | ||
| </div> | ||
|
|
||
| <div className="bg-white rounded-[32px] p-8 text-center shadow-lg"> | ||
| <h3 className="text-5xl font-bold text-[#c7a77f]"> | ||
| {data.stats.happyClients}+ | ||
| </h3> | ||
| <p>Happy Clients</p> | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
||
| {/* SKILLS */} | ||
| <section className="max-w-6xl mx-auto px-6 py-20"> | ||
| <h2 className="text-4xl font-bold mb-10"> | ||
| Skills | ||
| </h2> | ||
|
|
||
| <div className="flex flex-wrap gap-4"> | ||
| {data.skills.map((skill) => ( | ||
| <span | ||
| key={skill.name} | ||
| className="px-5 py-3 rounded-full bg-white shadow-md" | ||
| > | ||
| {skill.name} | ||
| </span> | ||
| ))} | ||
| </div> | ||
| </section> | ||
|
|
||
| {/* PROJECTS */} | ||
| <section className="max-w-7xl mx-auto px-6 py-20"> | ||
| <h2 className="text-4xl font-bold mb-10"> | ||
| Projects | ||
| </h2> | ||
|
|
||
| <div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8"> | ||
| {data.projects.map((project) => ( | ||
| <div | ||
| key={project.title} | ||
| className="bg-white rounded-[32px] overflow-hidden shadow-lg" | ||
| > | ||
| <img | ||
| src={project.image} | ||
| alt={project.title} | ||
| className="h-56 w-full object-cover" | ||
| /> | ||
|
|
||
| <div className="p-6"> | ||
| <h3 className="font-bold text-2xl mb-3"> | ||
| {project.title} | ||
| </h3> | ||
|
|
||
| <p className="text-[#6b5f55] text-sm"> | ||
| {project.description} | ||
| </p> | ||
|
|
||
| <div className="flex flex-wrap gap-2 mt-4"> | ||
| {project.techStack.map((tech) => ( | ||
| <span | ||
| key={tech} | ||
| className="text-xs px-3 py-1 rounded-full bg-[#E8DDD6]" | ||
| > | ||
| {tech} | ||
| </span> | ||
| ))} | ||
| </div> | ||
|
|
||
| <div className="flex gap-4 mt-5"> | ||
| <a | ||
| href={project.liveUrl} | ||
| target="_blank" | ||
| rel="noreferrer" | ||
| className="px-4 py-2 rounded-full bg-[#c7a77f] text-white" | ||
| > | ||
| Live | ||
| </a> | ||
|
|
||
| <a | ||
| href={project.githubUrl} | ||
| target="_blank" | ||
| rel="noreferrer" | ||
| className="px-4 py-2 rounded-full border border-[#c7a77f]" | ||
| > | ||
| Code | ||
| </a> | ||
|
anushkaa2704 marked this conversation as resolved.
|
||
| </div> | ||
| </div> | ||
| </div> | ||
| ))} | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
||
| {/* EXPERIENCE */} | ||
| <section className="max-w-5xl mx-auto px-6 py-20"> | ||
| <h2 className="text-4xl font-bold mb-10"> | ||
| Experience | ||
| </h2> | ||
|
|
||
| <div className="space-y-6"> | ||
| {data.experience.map((job, idx) => ( | ||
| <div | ||
| key={idx} | ||
| className="bg-white rounded-[32px] p-8 shadow-lg" | ||
| > | ||
| <h3 className="text-2xl font-bold"> | ||
| {job.role} | ||
| </h3> | ||
|
|
||
| <p className="text-[#8b6f47] font-medium"> | ||
| {job.company} | ||
| </p> | ||
|
|
||
| <p className="text-sm text-gray-500 mt-1"> | ||
| {job.period} | ||
| </p> | ||
|
|
||
| <p className="mt-4"> | ||
| {job.description} | ||
| </p> | ||
| </div> | ||
| ))} | ||
| </div> | ||
| </section> | ||
|
|
||
| {/* TESTIMONIALS */} | ||
| <section className="max-w-7xl mx-auto px-6 py-20"> | ||
| <h2 className="text-4xl font-bold mb-10"> | ||
| Testimonials | ||
| </h2> | ||
|
|
||
| <div className="grid md:grid-cols-2 gap-8"> | ||
| {data.testimonials.map((item) => ( | ||
| <div | ||
| key={item.name} | ||
| className="bg-white rounded-[32px] p-8 shadow-lg" | ||
| > | ||
| <div className="flex items-center gap-4 mb-5"> | ||
| <img | ||
| src={item.avatar} | ||
| alt={item.name} | ||
| className="w-14 h-14 rounded-full" | ||
| /> | ||
|
|
||
| <div> | ||
| <h4 className="font-bold"> | ||
| {item.name} | ||
| </h4> | ||
| <p className="text-sm text-[#8b6f47]"> | ||
| {item.role} | ||
| </p> | ||
| </div> | ||
| </div> | ||
|
|
||
| <p className="italic"> | ||
| "{item.text}" | ||
| </p> | ||
| </div> | ||
| ))} | ||
| </div> | ||
| </section> | ||
|
|
||
| {/* CONTACT */} | ||
| <section className="py-24 text-center px-6"> | ||
| <h2 className="text-5xl font-bold mb-6"> | ||
| Let's Work Together | ||
| </h2> | ||
|
|
||
| <p className="text-lg text-[#6b5f55] mb-8"> | ||
| Open to freelance work, collaborations and opportunities. | ||
| </p> | ||
|
|
||
| <a | ||
| href={`mailto:${data.socials.email}`} | ||
| className="inline-block px-8 py-4 rounded-full bg-[#c7a77f] text-white font-semibold shadow-lg" | ||
| > | ||
| Contact Me | ||
| </a> | ||
| </section> | ||
| </div> | ||
| ); | ||
| } | ||
| } | ||
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.
Uh oh!
There was an error while loading. Please reload this page.