glass other page

This commit is contained in:
hamid zarghami
2026-06-21 15:02:18 +03:30
parent de45b1f197
commit d34a3a92f1
33 changed files with 106 additions and 65 deletions
@@ -7,6 +7,7 @@ import { AUTH_PAGE_ELEMENT } from '@/enums'
import Image from 'next/image'
import React, { useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next'
import { glassSurfaceFlat } from '@/lib/styles/glassSurface'
type Props = {
onChange: ((e: React.ChangeEvent<HTMLInputElement>) => void) &
@@ -84,7 +85,7 @@ function StepNewPassword ({
valid={!hasError()}
aria-errormessage={error}
autoComplete='new-password'
className='mt-10 bg-container'
className={glassSurfaceFlat('mt-10')}
htmlFor={AUTH_PAGE_ELEMENT.INPUT_PASSWORD}
labelText={t('NewPassword.LabelPass')}
value={value}
@@ -108,7 +109,7 @@ function StepNewPassword ({
valid={!hasError(error2)}
aria-errormessage={error2}
autoComplete='new-password'
className='mt-6 bg-container'
className={glassSurfaceFlat('mt-6')}
htmlFor={AUTH_PAGE_ELEMENT.INPUT_PASSWORD_REPEAT}
labelText={t('NewPassword.LabelRepeatPass')}
value={repeatValue}