Apply the public site UI checklist.
Align header, footer, brand, homepage course preview, faculty links, and the course catalog with the documented changes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
8886aa8640
commit
de800d27b1
139 files changed
+3311
-1547
No files matched your search
@@ -0,0 +1,59 @@
|
||||
import { Mail, MapPin, Phone } from "lucide-react";
|
||||
import { Heading } from "@/components/atoms/Heading";
|
||||
import { TextLink } from "@/components/atoms/TextLink";
|
||||
import { siteAddress } from "@/lib/site-config";
|
||||
|
||||
const rowClass = "flex items-start gap-4";
|
||||
const iconClass =
|
||||
"flex size-10 shrink-0 items-center justify-center rounded-xl bg-primary/10 text-primary";
|
||||
|
||||
export function ContactDetails() {
|
||||
return (
|
||||
<div className="min-w-0 space-y-8">
|
||||
<Heading level={3} as="h2">
|
||||
اطلاعات تماس
|
||||
</Heading>
|
||||
<ul className="space-y-6 text-sm leading-7">
|
||||
<li className={rowClass}>
|
||||
<span className={iconClass}>
|
||||
<MapPin className="size-4" aria-hidden />
|
||||
</span>
|
||||
<div className="min-w-0">
|
||||
<p className="font-semibold text-foreground">آدرس</p>
|
||||
<p className="text-muted-foreground">{siteAddress.line}</p>
|
||||
<a
|
||||
href={siteAddress.mapUrl}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="mt-1 inline-block font-medium text-primary underline-offset-4 hover:underline"
|
||||
>
|
||||
مشاهده روی نقشه
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
<li className={rowClass}>
|
||||
<span className={iconClass}>
|
||||
<Phone className="size-4" aria-hidden />
|
||||
</span>
|
||||
<div className="min-w-0">
|
||||
<p className="font-semibold text-foreground">تلفن</p>
|
||||
<p className="text-muted-foreground">
|
||||
<span dir="ltr">{siteAddress.phone}</span>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<li className={rowClass}>
|
||||
<span className={iconClass}>
|
||||
<Mail className="size-4" aria-hidden />
|
||||
</span>
|
||||
<div className="min-w-0">
|
||||
<p className="font-semibold text-foreground">ایمیل</p>
|
||||
<TextLink href={`mailto:${siteAddress.email}`} tone="accent">
|
||||
{siteAddress.email}
|
||||
</TextLink>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user