bugfix: site renamed. Name component created.
This commit is contained in:
@@ -10,6 +10,7 @@ import { zodResolver } from '@hookform/resolvers/zod';
|
||||
import * as z from 'zod';
|
||||
import { Lock, Mail, User } from 'lucide-react';
|
||||
import { AuthPageShell } from '@/components/ui/auth/AuthPageShell';
|
||||
import { BrandWordmark } from '@/components/ui/shared/BrandWordmark';
|
||||
import { Button } from '@/components/ui/shared/Button';
|
||||
import { Input } from '@/components/ui/shared/Input';
|
||||
import { OrganizationDetailsFields } from '@/components/ui/auth/OrganizationDetailsFields';
|
||||
@@ -179,9 +180,7 @@ function AcceptOrganizationInviteContent() {
|
||||
header={
|
||||
<>
|
||||
<Link href="/" className="flex justify-center">
|
||||
<span className="text-2xl sm:text-3xl font-semibold text-text-primary">
|
||||
{tCommon('appName')}
|
||||
</span>
|
||||
<BrandWordmark className="text-2xl sm:text-3xl font-semibold text-text-primary" />
|
||||
</Link>
|
||||
<h2 className="mt-4 sm:mt-6 text-center text-2xl sm:text-3xl font-semibold text-text-primary">
|
||||
{t('acceptOrganizationTitle')}
|
||||
|
||||
@@ -11,6 +11,7 @@ import { authApi } from '@/lib/api/auth';
|
||||
import { getUserFacingError } from '@/components/shared/formatApiError';
|
||||
import { useAuth } from '@/lib/hooks/useAuth';
|
||||
import { AuthPageShell } from '@/components/ui/auth/AuthPageShell';
|
||||
import { BrandWordmark } from '@/components/ui/shared/BrandWordmark';
|
||||
import { Button } from '@/components/ui/shared/Button';
|
||||
import { Input } from '@/components/ui/shared/Input';
|
||||
|
||||
@@ -28,7 +29,6 @@ function normalizeIranMobile(input: string): string {
|
||||
|
||||
export default function ForgotPasswordPage() {
|
||||
const t = useTranslations('auth');
|
||||
const tCommon = useTranslations('common');
|
||||
const tValidation = useTranslations('validation');
|
||||
const tErrors = useTranslations('errors');
|
||||
const router = useRouter();
|
||||
@@ -128,9 +128,7 @@ export default function ForgotPasswordPage() {
|
||||
header={
|
||||
<>
|
||||
<Link href="/" className="flex justify-center">
|
||||
<span className="text-2xl sm:text-3xl font-semibold text-text-primary">
|
||||
{tCommon('appName')}
|
||||
</span>
|
||||
<BrandWordmark className="text-2xl sm:text-3xl font-semibold text-text-primary" />
|
||||
</Link>
|
||||
<h2 className="mt-4 sm:mt-6 text-center text-2xl sm:text-3xl font-semibold text-text-primary">
|
||||
{t('forgotPasswordTitle')}
|
||||
|
||||
@@ -12,6 +12,7 @@ import { getUserFacingError } from '@/components/shared/formatApiError';
|
||||
import { useAuth } from '@/lib/hooks/useAuth';
|
||||
import { getRememberedEmail } from '@/lib/auth/rememberMe';
|
||||
import { AuthPageShell } from '@/components/ui/auth/AuthPageShell';
|
||||
import { BrandWordmark } from '@/components/ui/shared/BrandWordmark';
|
||||
import { Button } from '@/components/ui/shared/Button';
|
||||
import { Checkbox } from '@/components/ui/shared/Checkbox';
|
||||
import { Input } from '@/components/ui/shared/Input';
|
||||
@@ -91,9 +92,7 @@ function LoginPageContent() {
|
||||
header={
|
||||
<>
|
||||
<Link href="/" className="flex justify-center">
|
||||
<span className="text-2xl sm:text-3xl font-semibold text-text-primary">
|
||||
{tCommon('appName')}
|
||||
</span>
|
||||
<BrandWordmark className="text-2xl sm:text-3xl font-semibold text-text-primary" />
|
||||
</Link>
|
||||
<h2 className="mt-4 sm:mt-6 text-center text-2xl sm:text-3xl font-semibold text-text-primary">
|
||||
{t('signInTitle')}
|
||||
|
||||
@@ -5,20 +5,20 @@ import { Link } from '@/i18n/navigation';
|
||||
import { useAuth } from '@/lib/hooks/useAuth';
|
||||
import { Button } from '@/components/ui/shared/Button';
|
||||
import { TopBarControls } from '@/components/ui/shared/TopBarControls';
|
||||
import { BrandWordmark } from '@/components/ui/shared/BrandWordmark';
|
||||
import { Building2, Beaker, Calendar, Shield, Clock, Users } from 'lucide-react';
|
||||
|
||||
export default function HomePage() {
|
||||
const t = useTranslations('landing');
|
||||
const tAuth = useTranslations('auth');
|
||||
const tCommon = useTranslations('common');
|
||||
const { user, isAuthReady } = useAuth();
|
||||
|
||||
return (
|
||||
<div className="min-h-[100dvh] flex flex-col app-web-bg text-text-primary">
|
||||
<header className="border-b border-border/70 bg-background-secondary/65 backdrop-blur-sm fixed top-0 w-full z-10">
|
||||
<div className="container mx-auto px-4 py-3 sm:py-4 flex flex-wrap items-center justify-between gap-x-4 gap-y-3">
|
||||
<Link href="/" className="text-xl sm:text-2xl font-semibold text-text-primary shrink-0">
|
||||
{tCommon('appName')}
|
||||
<Link href="/" className="shrink-0">
|
||||
<BrandWordmark className="text-xl sm:text-2xl font-semibold text-text-primary" />
|
||||
</Link>
|
||||
|
||||
<div className="flex items-center gap-1.5 sm:gap-3 ml-auto shrink-0">
|
||||
|
||||
@@ -11,6 +11,7 @@ import { getUserFacingError } from '@/components/shared/formatApiError';
|
||||
import { useAuth } from '@/lib/hooks/useAuth';
|
||||
import { useEnterAppWhenAuthenticated } from '@/lib/hooks/useEnterAppWhenAuthenticated';
|
||||
import { AuthPageShell } from '@/components/ui/auth/AuthPageShell';
|
||||
import { BrandWordmark } from '@/components/ui/shared/BrandWordmark';
|
||||
import { OrganizationDetailsFields } from '@/components/ui/auth/OrganizationDetailsFields';
|
||||
import { RegistrationProgressSteps } from '@/components/ui/auth/RegistrationProgressSteps';
|
||||
import { Button } from '@/components/ui/shared/Button';
|
||||
@@ -136,9 +137,7 @@ export default function RegisterPage() {
|
||||
header={
|
||||
<>
|
||||
<Link href="/" className="flex justify-center">
|
||||
<span className="text-2xl sm:text-3xl font-semibold text-text-primary">
|
||||
{tCommon('appName')}
|
||||
</span>
|
||||
<BrandWordmark className="text-2xl sm:text-3xl font-semibold text-text-primary" />
|
||||
</Link>
|
||||
<h2 className="mt-4 sm:mt-6 text-center text-2xl sm:text-3xl font-semibold text-text-primary">
|
||||
{t('registerTitle')}
|
||||
|
||||
@@ -13,7 +13,7 @@ import { routing, isRtlLocale, localeHtmlLang } from '@/i18n/routing';
|
||||
import { LocaleSync } from '@/components/i18n/LocaleSync';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'DyoLink - Dental Clinic & Lab Communication Hub',
|
||||
title: 'Nudentic - Dental Clinic & Lab Communication Hub',
|
||||
description: 'Connect dental clinics and laboratories seamlessly',
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user