Update image references to use WebP format for improved performance and remove unused design candidates from the project. Adjusted placeholder image handling in the faculty import script and updated metadata for various pages to reflect the new image paths.

This commit is contained in:
smhk1376 committed 2026-10-16 17:45:55 +03:30
1 parent 5b0a394216
commit 05b0a1af72
94 files changed
+181 -36

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ export default async function AlumniPage() {
<PageHero
title={t("alumniTitle")}
intro={t("alumniIntro")}
imageUrl="/brand/graduation-cap-neural.png"
imageUrl="/brand/graduation-cap-neural.webp"
/>
<Section tone="subtle">
<Container>
+1 -1
View File
@@ -25,7 +25,7 @@ export default async function InsightsPage() {
<PageHero
title={t("insightsTitle")}
intro={t("insightsIntro")}
imageUrl="/brand/neural-open-book.png"
imageUrl="/brand/neural-open-book.webp"
/>
<Section tone="subtle">
<Container>
+1 -1
View File
@@ -34,7 +34,7 @@ export default async function ProgramsPage() {
<PageHero
title={t("programsTitle")}
intro={t("programsIntro")}
imageUrl="/brand/neural-tree-knowledge.png"
imageUrl="/brand/neural-tree-knowledge.webp"
/>
<Section tone="subtle">
<Container className="space-y-16">
+1 -1
View File
@@ -29,7 +29,7 @@ export default async function ValuesPage() {
eyebrow={valuesContent.eyebrow}
title={valuesContent.title}
intro={valuesContent.intro}
imageUrl="/brand/collective-intelligence.png"
imageUrl="/brand/collective-intelligence.webp"
/>
<Section tone="subtle">
+1 -1
View File
@@ -54,7 +54,7 @@ export async function generateMetadata(): Promise<Metadata> {
title: t("homeTitle"),
description: t("homeDescription"),
images: [
{ url: "/brand/mst-faculty.png", alt: "دانشکده مدیریت، علم و فناوری دانشگاه صنعتی امیرکبیر" },
{ url: "/brand/mst-faculty.webp", alt: "دانشکده مدیریت، علم و فناوری دانشگاه صنعتی امیرکبیر" },
],
},
twitter: {
+1 -1
View File
@@ -56,7 +56,7 @@ function LoginForm() {
<CardHeader className="space-y-3 text-center">
<div className="mx-auto relative size-14">
<Image
src="/brand/mst-faculty.png"
src="/brand/mst-faculty.webp"
alt="دانشگاه صنعتی امیرکبیر"
fill
sizes="56px"