Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
!.yarn/releases
!.yarn/versions

# IDEs
.idea/
.vscode/
*.iml


# testing
/coverage

Expand Down
55 changes: 55 additions & 0 deletions components/DoneButton.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import React from "react";

// Define the props for our button component
interface NextStepButtonProps {
onClick?: () => void;
logo?: React.ReactNode;
className?: string;
disabled?: boolean;
}

const DoneButton: React.FC<NextStepButtonProps> = ({
onClick,
logo,
className,
disabled,
}) => {
return (
<button
onClick={onClick}
disabled={disabled}
// Ensure the button is relative for absolute positioning of the logo
className={`
relative flex items-center justify-center
py-3 px-6 rounded-full text-white font-semibold text-lg
h-12 w-100
shadow-lg
cursor-pointer
transition-all duration-200 ease-in-out
overflow-visible
${
disabled
? "bg-gray-300 text-gray-500 cursor-not-allowed"
: "bg-gradient-to-r from-[#FF9100] to-[#FFC94C] hover:from-[#E68200] hover:to-[#E3B03C] text-white cursor-pointer"
}
${className || ""}
`}
>
<h1 className="transform -right-4 relative z-20">All Done</h1>

<span className="ml-4 flex items-center justify-center relative z-20 left-30">
&gt;
</span>

{logo && (
<span
className={`absolute overflow-visible h-15 w-15 right-10 -top-3 z-30 transform -translate-x-1/2 flex items-center justify-center`}
>
{logo}
</span>
)}
</button>
);
};

export default DoneButton;
34 changes: 34 additions & 0 deletions components/InterestCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import Image from 'next/image';

interface InterestCardProps {
name: string;
isSelected: boolean;
onToggle: () => void;
}

export default function InterestCard({ name, isSelected, onToggle }: InterestCardProps) {
return (
<button
onClick={onToggle}
className={`
flex flex-col items-center justify-center
cursor-pointer
rounded-2xl p-4 w-24 h-24
transition-colors duration-200
${isSelected ? 'bg-[#FFC03F]' : 'bg-[#F1EBE2]'}
`}
>
<div className="relative w-12 h-12 mb-2">
<Image
src={`/images/createProfileInterests/${name}.webp`}
alt={name}
fill
className="object-contain"
/>
</div>
<span className="text-xs font-medium text-gray-800 text-center">
{name}
</span>
</button>
);
}
37 changes: 37 additions & 0 deletions components/LifestylePreferencesCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import React from "react";

interface LifestylePreferencesCardProps {
// define props
title?: string;
imageSrc?: string;
isSelected?: boolean;
onClick?: () => void;
}

const LifestylePreferencesCard = ({
title,
imageSrc,
isSelected,
onClick,
}: LifestylePreferencesCardProps) => {
return (
<div
className={`rounded-xl px-14 py-4 w-full flex flex-col items-center drop-shadow-xl border-1 border-[#C4C7CA] hover:scale-105 hover:bg-gray-100 ${
isSelected ? "ring-2 ring-[#FF9100]" : "bg-white"
}`}
onClick={onClick}
>
{/* The circular image */}
<div className="rounded-full bg-linear-to-r from-[#FF9100] to-[#FFC94C] p-1">
<img
src={imageSrc}
className="h-12 w-12 object-cover p-2"
/>
</div>
<p className="text-lg text-gray-800 text-center">{title}</p>

</div>
);
};

export default LifestylePreferencesCard;
55 changes: 55 additions & 0 deletions components/NextStepButton.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import React from "react";

// Define the props for our button component
interface NextStepButtonProps {
onClick?: () => void;
logo?: React.ReactNode;
className?: string;
disabled?: boolean;
}

const NextStepButton: React.FC<NextStepButtonProps> = ({
onClick,
logo,
className,
disabled,
}) => {
return (
<button
onClick={!disabled ? onClick : undefined}
disabled={disabled}
// Ensure the button is relative for absolute positioning of the logo
className={`
relative flex items-center justify-center
py-3 px-6 rounded-full text-white font-semibold text-lg
h-12 w-100
shadow-lg
cursor-pointer
transition-all duration-200 ease-in-out
overflow-visible
${
disabled
? "bg-gray-300 text-gray-500 cursor-not-allowed"
: "bg-gradient-to-r from-[#FF9100] to-[#FFC94C] hover:from-[#E68200] hover:to-[#E3B03C] text-white cursor-pointer"
}
${className || ""}
`}
>
<h1 className="transform -right-4 relative z-20">Next Step</h1>

<span className="ml-4 flex items-center justify-center relative z-20 left-30">
&gt;
</span>

{logo && (
<span
className={`absolute overflow-visible h-15 w-15 right-10 -top-3 z-30 transform -translate-x-1/2 flex items-center justify-center`}
>
{logo}
</span>
)}
</button>
);
};

export default NextStepButton;
37 changes: 37 additions & 0 deletions components/ProgressHeader.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
interface ProgressHeaderProps {
title: string;
subtitle: string;
currentStep: number;
totalSteps?: number;
}

export default function ProgressHeader({
title,
subtitle,
currentStep,
totalSteps = 5
}: ProgressHeaderProps) {
const progressPercent = (currentStep / totalSteps) * 100;

return (
<div className="w-full max-w-xl mx-auto mb-4 mt-4">
<h1 className="text-2xl font-bold text-center">
{title}
</h1>
<p className="text-center text-md text-gray-600 mb-2">
{subtitle}
</p>

{/* Progress Bar */}
<div className="w-full bg-gray-300 rounded-full h-2 overflow-hidden">
<div
className="h-full rounded-full transition-all duration-300 ease-out"
style={{
width: `${progressPercent}%`,
background: 'linear-gradient(to right, #FF9100, #FFC94C)'
}}
/>
</div>
</div>
);
}
2 changes: 1 addition & 1 deletion components/ScreenBlocker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function ScreenBlocker() {
<div className="mt-5 border-t border-gray-200 pt-2 -mb-3">
<div className="flex items-center justify-center gap-1 mt-2">
<Image
src="/images/peechi_star.png"
src="/images/peechi_star.webp"
alt="MeteorMate Star Icon"
width={20}
height={20}
Expand Down
4 changes: 2 additions & 2 deletions components/landing/ContactUs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function ContactUs() {
id="contactUs"
className="bg-black bg-no-repeat bg-center bg-contain text-white flex flex-col w-full !py-12"
style={{
backgroundImage: `url('/images/stars_footerr.png')`,
backgroundImage: `url('/images/stars_footerr.webp')`,
}}
>
{/* Main Footer Content */}
Expand All @@ -21,7 +21,7 @@ export default function ContactUs() {
<div className="flex flex-col items-center md:items-start gap-3">
<div className="flex items-center gap-3">
<Image
src="/images/MM_logo_V1.png"
src="/images/MM_logo_V1.webp"
alt="MeteorMate Logo"
width={40}
height={40}
Expand Down
2 changes: 1 addition & 1 deletion components/landing/GetStarted.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function GetStarted() {
id="getStarted"
className="min-h-screen bg-black bg-no-repeat bg-center bg-contain text-white flex flex-col items-center justify-center"
style={{
backgroundImage: `url('/images/STARS__GRAYSCALE_LOGO_png.png')`,
backgroundImage: `url('/images/STARS__GRAYSCALE_LOGO_png.webp')`,
}}
>
<div className="flex flex-col items-center">
Expand Down
4 changes: 2 additions & 2 deletions components/landing/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function HeroSection() {
<section
id="home"
className="relative min-h-screen w-screen bg-black bg-cover bg-top-left bg-no-repeat text-white"
style={{ backgroundImage: `url('/images/hero_section_background.png')` }}
style={{ backgroundImage: `url('/images/hero_section_background.webp')` }}
>
{/* spacing for fixed navbar */}
<div className="pt-24 md:pt-28">
Expand Down Expand Up @@ -76,7 +76,7 @@ export default function HeroSection() {
</div>
<div className="flex items-end justify-end pb-0 pr-10 lg:pt-28 md:pt-20 w-1/2">
<Image
src="/images/laptop_model.png"
src="/images/laptop_model.webp"
alt="Laptop showing MeteorMate interface"
width={800}
height={600}
Expand Down
14 changes: 7 additions & 7 deletions components/landing/HowItWorks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function FeatureCard({
export default function HowItWorks() {
const features = [
{
imageSrc: "/images/landing_logo1_S2.png",
imageSrc: "/images/landing_logo1_S2.webp",
imageAlt: "AI Powered Matchmaking Icon",
title: "AI Powered Matchmaking",
description:
Expand All @@ -46,7 +46,7 @@ export default function HowItWorks() {
imageHeight: 68,
},
{
imageSrc: "/images/L2.png",
imageSrc: "/images/L2.webp",
imageAlt: "Data Driven Insights Icon",
title: "Data Driven Insights",
description:
Expand All @@ -55,7 +55,7 @@ export default function HowItWorks() {
imageHeight: 68,
},
{
imageSrc: "/images/L3.png",
imageSrc: "/images/L3.webp",
imageAlt: "Multistep Verification Icon",
title: "Multistep Verification",
description:
Expand All @@ -64,7 +64,7 @@ export default function HowItWorks() {
imageHeight: 68,
},
{
imageSrc: "/images/L4.png",
imageSrc: "/images/L4.webp",
imageAlt: "Privacy First Icon",
title: "Privacy First",
description:
Expand All @@ -73,7 +73,7 @@ export default function HowItWorks() {
imageHeight: 72,
},
{
imageSrc: "/images/L5.png",
imageSrc: "/images/L5.webp",
imageAlt: "Personalized Matchmaking Icon",
title: "Personalized Matchmaking",
description:
Expand All @@ -82,7 +82,7 @@ export default function HowItWorks() {
imageHeight: 68,
},
{
imageSrc: "/images/L6.png",
imageSrc: "/images/L6.webp",
imageAlt: "Social Integration Icon",
title: "Social Integration",
description:
Expand All @@ -96,7 +96,7 @@ export default function HowItWorks() {
<LandingSection
id="howItWorks"
className="w-screen min-h-screen bg-black flex flex-col justify-center items-center bg-cover bg-center bg-no-repeat"
style={{ backgroundImage: `url('/images/stars.png')` }}
style={{ backgroundImage: `url('/images/stars.webp')` }}
>
<h1 className="text-white text-[60px] font-extrabold">
Fast Solution and Best Matches
Expand Down
2 changes: 1 addition & 1 deletion components/landing/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function Navbar() {
<div className="relative flex items-center gap-4 group cursor-pointer" onClick={() => router.push("/")}>
<div className="relative">
<Image
src="/images/MM_logo_V1.png"
src="/images/MM_logo_V1.webp"
alt="MeteorMate Logo"
width={56}
height={56}
Expand Down
Binary file added public/images/3d-buildings.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/L2.png
Binary file not shown.
Binary file added public/images/L2.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/L3.png
Binary file not shown.
Binary file added public/images/L3.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/L4.png
Binary file not shown.
Binary file added public/images/L4.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/L5.png
Binary file not shown.
Binary file added public/images/L5.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/L6.png
Binary file not shown.
Binary file added public/images/L6.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/MM_logo_V1.png
Binary file not shown.
Binary file added public/images/MM_logo_V1.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/STARS__GRAYSCALE_LOGO_png.png
Binary file not shown.
Binary file added public/images/STARS__GRAYSCALE_LOGO_png.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/badge.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/best-friends.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/cooking-pots.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/createProfileInterests/Anime.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/createProfileInterests/Art.webp
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.
Binary file added public/images/createProfileInterests/Chess.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/createProfileInterests/Coding.webp
Binary file added public/images/createProfileInterests/Cooking.webp
Binary file added public/images/createProfileInterests/D&D.webp
Binary file added public/images/createProfileInterests/Dancing.webp
Binary file added public/images/createProfileInterests/EDM.webp
Binary file added public/images/createProfileInterests/Gaming.webp
Binary file added public/images/createProfileInterests/K-Pop.webp
Binary file added public/images/createProfileInterests/Legos.webp
Binary file added public/images/createProfileInterests/Movies.webp
Binary file added public/images/createProfileInterests/Music.webp
Binary file added public/images/createProfileInterests/Photos.webp
Binary file added public/images/createProfileInterests/Reading.webp
Binary file added public/images/createProfileInterests/Running.webp
Binary file added public/images/createProfileInterests/Singing.webp
Binary file added public/images/createProfileInterests/Travel.webp
Binary file added public/images/early_bird_card.webp
Binary file added public/images/environment.webp
Binary file added public/images/fire-sign-15238.webp
Binary file added public/images/flambee.webp
Binary file added public/images/flexible_card.webp
Binary file added public/images/friends.webp
Binary file added public/images/group.webp
Binary file removed public/images/hero_section_background.png
Diff not rendered.
Binary file added public/images/hero_section_background.webp
Binary file added public/images/high-five.webp
Binary file added public/images/hot-food.webp
Binary file added public/images/houses.webp
Binary file removed public/images/landing_logo1_S2.png
Diff not rendered.
Binary file added public/images/landing_logo1_S2.webp
Binary file removed public/images/laptop_model.png
Diff not rendered.
Binary file added public/images/laptop_model.webp
Binary file added public/images/moderate_card.webp
Binary file added public/images/neat_freak_card.webp
Binary file added public/images/night_cover.webp
Binary file removed public/images/night_cover_betterVersion.png
Diff not rendered.
Binary file added public/images/night_cover_betterVersion.webp
Binary file added public/images/night_owl_card.webp
Binary file added public/images/no-crowd.webp
Binary file added public/images/no-pets.webp
Binary file added public/images/orderly_card.webp
Binary file added public/images/pawprint.webp
Binary file removed public/images/peechi_duo.png
Diff not rendered.
Binary file added public/images/peechi_duo.webp
Binary file removed public/images/peechi_star.png
Diff not rendered.
Binary file added public/images/peechi_star.webp
Binary file added public/images/pet-care.webp
Binary file added public/images/pet.webp
Binary file added public/images/plinthAuthPic.webp
Binary file added public/images/quiet_card.webp
Binary file added public/images/reading-book.webp
Binary file added public/images/residential.webp
Binary file added public/images/roommate.webp
Binary file added public/images/school.webp
Binary file added public/images/social_card.webp
Binary file removed public/images/stars.png
Diff not rendered.
Binary file added public/images/stars.webp
Binary file added public/images/starsForCreateProfile.webp
Binary file removed public/images/stars_footerr.png
Diff not rendered.
Binary file added public/images/stars_footerr.webp
Binary file added public/images/stars_orange.webp
Binary file added public/images/study.webp
Binary file added public/images/tidy_card.webp
2 changes: 1 addition & 1 deletion src/app/authentication/createAccount/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default function CreateAccountPage() {
// };

return (
<LogoBox logoSrc="/images/MM_logo_V1.png" logoAlt="MeteorMate Logo">
<LogoBox logoSrc="/images/MM_logo_V1.webp" logoAlt="MeteorMate Logo">
{/* Back arrow */}
<button
onClick={router.back}
Expand Down
2 changes: 1 addition & 1 deletion src/app/authentication/forgotPassword/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function VerifyEmailPage() {


return (
<LogoBox logoSrc="/images/MM_logo_V1.png" logoAlt="MeteorMate Logo">
<LogoBox logoSrc="/images/MM_logo_V1.webp" logoAlt="MeteorMate Logo">
<div className="flex flex-col w-full max-w-2xl px-10">
<h1 className="font-urbanist font-semibold md:text-[35px] text-[20px] p-2">
Forgot Password
Expand Down
2 changes: 1 addition & 1 deletion src/app/authentication/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function AuthLayout({
<div
className="absolute inset-0 bg-cover bg-center bg-no-repeat"
style={{
backgroundImage: "url('/images/stars.png')",
backgroundImage: "url('/images/stars.webp')",
filter: "brightness(3) contrast(2)",
}}
></div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/authentication/newPassword/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default function NewPasswordPage() {
};

return (
<LogoBox logoSrc="/images/MM_logo_V1.png" logoAlt="MeteorMate Logo">
<LogoBox logoSrc="/images/MM_logo_V1.webp" logoAlt="MeteorMate Logo">
<div className="flex flex-col w-full max-w-2xl px-10">
<h1 className="font-urbanist font-semibold md:text-[35px] text-[20px] p-2">
Input New Password
Expand Down
Loading