This commit changes all project imports to use absolute paths instead of relative ones. In addition, the 'tsconfig.json' has been updated to recognize new paths, aiding in easier project navigation and improved readability. The implemented changes result in cleaner imports and a more comprehensible project structure.
32 lines
1 KiB
Text
32 lines
1 KiB
Text
---
|
|
// Import the necessary components
|
|
import MainLayout from "@/layouts/MainLayout.astro";
|
|
import ContactSection from "@components/sections/ContactSection.astro";
|
|
import { SITE } from "@data/constants";
|
|
|
|
const pageTitle: string = `Contact | ${SITE.title}`;
|
|
---
|
|
|
|
<!--Utilizing MainLayout for the outer layout of the page, and defining meta for SEO purposes-->
|
|
<MainLayout
|
|
title={pageTitle}
|
|
structuredData={{
|
|
"@context": "https://schema.org",
|
|
"@type": "WebPage",
|
|
"@id": "https://screwfast.uk/contact",
|
|
"url": "https://screwfast.uk/contact",
|
|
"name": "Contact Us | ScrewFast",
|
|
"description":
|
|
"Have questions or want to discuss a project? Reach out, and let's craft the perfect solution with our tools and services.",
|
|
"isPartOf": {
|
|
"@type": "WebSite",
|
|
"url": "https://screwfast.uk",
|
|
"name": "ScrewFast",
|
|
"description":
|
|
"ScrewFast offers top-tier hardware tools and expert construction services to meet all your project needs.",
|
|
},
|
|
"inLanguage": "en-US"
|
|
}}
|
|
>
|
|
<ContactSection />
|
|
</MainLayout>
|