-
Notifications
You must be signed in to change notification settings - Fork 1
feat: UI + Logic Improvements #301
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
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
5f63dee
feat:impr responsive
Bran18 218974b
feat:impr password strenght checker
Bran18 3b2c5f4
feat:impr responsive
Bran18 7151908
upt-build
Bran18 8d7f364
feat:respomsive tweask
Bran18 67eb340
feat:back arrow aria label
Bran18 daf0d1a
fix:chat mobile layout
Bran18 1ebbd0c
fix:code section
Bran18 dbfe467
fix:chat pannel
Bran18 3f9b6fb
fix:chatBot redirection
Bran18 6b76d15
feat:restore appConfig header
Bran18 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,43 @@ | ||
| 'use client' | ||
|
|
||
| import ForgotPasswordForm from '@/components/auth/forgot-password-form' | ||
| import { motion } from 'framer-motion' | ||
| import Image from 'next/image' | ||
|
|
||
| export default function ForgotPasswordPage() { | ||
| return ( | ||
| <div className="container max-w-md mx-auto mt-10"> | ||
| <h1 className="mb-4 text-2xl font-bold">Forgot Password</h1> | ||
| <ForgotPasswordForm /> | ||
| </div> | ||
| <motion.div | ||
| className="flex flex-col min-h-[calc(100vh-4rem)] items-center py-6 sm:py-10" | ||
| initial={{ opacity: 0 }} | ||
| animate={{ opacity: 1 }} | ||
| transition={{ duration: 0.3 }} | ||
| > | ||
| {/* Logo container with animation */} | ||
| <motion.div | ||
| className="w-full max-w-[320px] sm:max-w-[500px] md:max-w-[726px] relative aspect-[726/200] mb-6 sm:mb-10" | ||
| initial={{ y: 20 }} | ||
| animate={{ y: 0 }} | ||
| transition={{ duration: 0.4, delay: 0.1 }} | ||
| > | ||
| <Image | ||
| src="/images/masterbotslogo.png" | ||
| fill | ||
| priority | ||
| alt="Masterbots Logo" | ||
| className="object-contain" | ||
| /> | ||
| </motion.div> | ||
|
|
||
| {/* Form container with animation and enhanced responsiveness */} | ||
| <motion.div | ||
| className="w-full max-w-[min(100%,400px)] px-4 space-y-6" | ||
| initial={{ y: 20, opacity: 0 }} | ||
| animate={{ y: 0, opacity: 1 }} | ||
| transition={{ duration: 0.4, delay: 0.2 }} | ||
| > | ||
| <h1 className="mb-4 text-2xl font-bold">Forgot Password</h1> | ||
| <ForgotPasswordForm /> | ||
| </motion.div> | ||
| </motion.div> | ||
| ) | ||
| } | ||
| } |
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,17 +1,50 @@ | ||
| 'use client' | ||
|
|
||
| import { Suspense } from 'react' | ||
| import ResetPasswordForm from '@/components/auth/reset-password-form' | ||
| import { motion } from 'framer-motion' | ||
| import Image from 'next/image' | ||
|
|
||
| export default function ResetPasswordPage({ | ||
| searchParams | ||
| }: { | ||
| searchParams: { token: string } | ||
| }) { | ||
| return ( | ||
| <div className="container max-w-md mx-auto mt-10"> | ||
| <h1 className="mb-4 text-2xl font-bold">Reset Password</h1> | ||
| <Suspense fallback={<div>Loading...</div>}> | ||
| <ResetPasswordForm token={searchParams.token} /> | ||
| </Suspense> | ||
| </div> | ||
| <motion.div | ||
| className="flex flex-col min-h-[calc(100vh-4rem)] items-center py-6 sm:py-10" | ||
| initial={{ opacity: 0 }} | ||
| animate={{ opacity: 1 }} | ||
| transition={{ duration: 0.3 }} | ||
| > | ||
| {/* Logo container with animation */} | ||
| <motion.div | ||
| className="w-full max-w-[320px] sm:max-w-[500px] md:max-w-[726px] relative aspect-[726/200] mb-6 sm:mb-10" | ||
| initial={{ y: 20 }} | ||
| animate={{ y: 0 }} | ||
| transition={{ duration: 0.4, delay: 0.1 }} | ||
| > | ||
| <Image | ||
| src="/images/masterbotslogo.png" | ||
| fill | ||
| priority | ||
| alt="Masterbots Logo" | ||
| className="object-contain" | ||
| /> | ||
| </motion.div> | ||
|
|
||
| {/* Form container with animation and enhanced responsiveness */} | ||
| <motion.div | ||
| className="w-full max-w-[min(100%,400px)] px-4 space-y-6" | ||
| initial={{ y: 20, opacity: 0 }} | ||
| animate={{ y: 0, opacity: 1 }} | ||
| transition={{ duration: 0.4, delay: 0.2 }} | ||
| > | ||
| <h1 className="mb-4 text-2xl font-bold">Reset Password</h1> | ||
| <Suspense fallback={<div>Loading...</div>}> | ||
| <ResetPasswordForm token={searchParams.token} /> | ||
| </Suspense> | ||
| </motion.div> | ||
| </motion.div> | ||
| ) | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,60 @@ | ||
| 'use client' | ||
|
|
||
| import Image from 'next/image' | ||
| import SignUpForm from '@/components/auth/signup-form' | ||
| import { motion } from 'framer-motion' | ||
|
|
||
| export default function SignUpPage() { | ||
| return ( | ||
| <div className="flex flex-col h-[calc(100vh-theme(spacing.16))] items-center py-10"> | ||
| <div | ||
| className="relative flex justify-center w-full max-w-[726px] py-4 text-center " | ||
| style={{ height: 200 }} | ||
| <motion.div | ||
| className="flex flex-col min-h-[calc(100vh-4rem)] items-center py-6 sm:py-10" | ||
| initial={{ opacity: 0 }} | ||
| animate={{ opacity: 1 }} | ||
| transition={{ duration: 0.3 }} | ||
| > | ||
| {/* Logo container with animation */} | ||
| <motion.div | ||
| className="w-full max-w-[320px] sm:max-w-[500px] md:max-w-[726px] relative aspect-[726/200] mb-6 sm:mb-10" | ||
| initial={{ y: 20 }} | ||
| animate={{ y: 0 }} | ||
| transition={{ duration: 0.4, delay: 0.1 }} | ||
| > | ||
| <Image | ||
| src="/images/masterbotslogo.png" | ||
| fill={true} | ||
| fill | ||
| priority | ||
| alt="Masterbots Logo" | ||
| style={{ maxWidth: 726, objectFit: 'contain' }} | ||
| className="flex self-center" | ||
| className="object-contain" | ||
| /> | ||
| </div> | ||
| <div className="max-w-md mx-auto space-y-6"> | ||
| </motion.div> | ||
|
|
||
| {/* Form container with animation and enhanced responsiveness */} | ||
| <motion.div | ||
| className="w-full max-w-[min(100%,400px)] px-4 space-y-6" | ||
| initial={{ y: 20, opacity: 0 }} | ||
| animate={{ y: 0, opacity: 1 }} | ||
| transition={{ duration: 0.4, delay: 0.2 }} | ||
| > | ||
| <div className="space-y-2 text-center"> | ||
| <p className="text-muted-foreground"> | ||
| <p className="text-sm sm:text-base text-muted-foreground"> | ||
| Enter your email and password to create your account. | ||
| </p> | ||
| </div> | ||
|
|
||
| <SignUpForm /> | ||
| </div> | ||
| </div> | ||
|
|
||
| {/* Optional: Add terms and conditions notice */} | ||
| <p className="mt-6 text-xs text-center text-muted-foreground"> | ||
| By creating an account, you agree to our{' '} | ||
| <a href="/terms#terms" className="underline hover:text-primary"> | ||
| Terms of Service | ||
| </a>{' '} | ||
| and{' '} | ||
| <a href="/terms#privacy" className="underline hover:text-primary"> | ||
| Privacy Policy | ||
| </a> | ||
| </p> | ||
| </motion.div> | ||
Bran18 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| </motion.div> | ||
| ) | ||
| } | ||
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
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
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.