Refactor HomeTemplate and layout components for improved structure and responsiveness. Adjusted CSS animations for better visual performance and updated layout links to enhance navigation. Removed unused brand link from the professional layout and streamlined section structures for clarity.

This commit is contained in:
smhk1376 committed 2026-09-24 16:54:52 +03:30
1 parent b6ff82fad9
commit 0874b968ba
5 files changed
+41 -30

No files matched your search

+3 -2
View File
@@ -224,14 +224,15 @@
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
@supports (animation-timeline: view()) {
@keyframes section-reveal {
from { opacity: 0; transform: translateY(1.25rem); }
from { opacity: 0.35; transform: translateY(0.6rem); }
to { opacity: 1; transform: translateY(0); }
}
.motion-section {
animation: section-reveal both cubic-bezier(0.22, 1, 0.36, 1);
animation-timeline: view();
animation-range: entry 8% cover 22%;
/* Finish early so section padding never reads as an empty page */
animation-range: entry 0% cover 12%;
}
}
}
-1
View File
@@ -21,7 +21,6 @@ export default async function ProfessionalLayout({
searchLabel={t("nav.search")}
brandTitle={siteShortName}
brandSubtitle={t("nav.brandSubtitle")}
brandHref="/professional"
academicsLabel={t("nav.academics")}
programSelectorTitle={t("home.programSelectorTitle")}
executiveLabel={t("home.executiveLabel")}