Skip to content

Conversation

@rutuHaladkar
Copy link
Collaborator

No description provided.

@netlify
Copy link

netlify bot commented Jul 7, 2025

Deploy Preview for cfp-portal failed.

Name Link
🔨 Latest commit 1f45d3d
🔍 Latest deploy log https://app.netlify.com/projects/cfp-portal/deploys/687f768ad535030008ad198a

const email = ref('')
const error = ref('')
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can se there is validation for email in each file can you move all the validation to util

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have moved the validation to util

<input v-model="email" type="text" placeholder="Enter your email" >
<span>{{ error }}</span>

<button type="submit">Send Reset Link</button>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use pf elements across all the three files

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have used pf elements and pushed in latest commit


<button type="submit">Send Reset Link</button>

<router-link to="/login" class="back-link">Back to Login</router-link>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you using in Nuxt ? I guess is available.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have replaced this with NuxtLink

<div>
<h1>Deafult Header</h1>

<slot />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

layout is use for common skeleton if you are just using slot I think there is no need of layout can render pages directly

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still I can see there are no changes in this files

}
error.value = ''
alert('Reset link sent to your email!')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use any pf-element

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have used pf elements and pushed in latest commit


<button type="submit">Login</button>

<a href="/forgot-password" class="forgot-link">Forgot password?</a>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try to use nuxtlink

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have replaced this with NuxtLink and pushed in latest commit

errors.value = newErrors
if (Object.keys(newErrors).length === 0) {
alert('Login successful!')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use any pf-element

// } catch (err) {
// alert(err?.data?.message || 'Registration failed.')
// }
alert('Registration successful!')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use any pf-element

@hybridx
Copy link
Member

hybridx commented Jul 9, 2025

Please rebase

const PUBLIC_KEY = 'pAWKcYpKic8yzixYp'
function handleSubmit() {
if (!email.value.trim()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can create the email validation function in the util itself and use wherever required i can see its repeating in each file

const SERVICE_ID = 'service_r6tk9ii'
const TEMPLATE_ID = 'template_2dmls66'
const PUBLIC_KEY = 'pAWKcYpKic8yzixYp'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to move this thing in the env

<pf-card class="form-card">
<h1>Reset your Password</h1>
<form @submit.prevent="handleSubmit">
<input v-model="email" type="text" placeholder="Enter your email">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can look the replace this too with pf elements

@rutuHaladkar rutuHaladkar force-pushed the feature/login-signup branch from 5fdaa49 to 6d46baf Compare July 11, 2025 09:56
@vercel
Copy link

vercel bot commented Jul 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cfp-portal ❌ Failed (Inspect) Jul 22, 2025 11:31am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants