--- import { Logos } from "starlight-theme-nova/components/Logos"; import type { Props } from "@astrojs/starlight/props"; const { siteTitle, locale } = Astro.props; // Starlight props const sections = [ { label: "Civil DX", value: "/civil-dx/" }, { label: "기반기술", value: "/기반기술/" }, { label: "설계", value: "/설계/" }, { label: "시공", value: "/시공/" }, ]; const currentPath = decodeURIComponent(Astro.url.pathname); let currentSection = ""; // Determine current section for (const section of sections) { if (currentPath.includes(section.value)) { currentSection = section.value; break; } } ---
CEL { siteTitle && siteTitle.logoVisibleOnMobile !== false && siteTitle.logo && ( ) } {siteTitle ? siteTitle.textContent : "CivilEngineeringLab"} |