Update hyperlink paths and import statements across files

This commit is contained in:
Emil Gulamov 2024-04-11 00:00:08 +04:00
parent b3204904ba
commit 242b411ab0
8 changed files with 29 additions and 40 deletions

View file

@ -13,7 +13,7 @@ interface Props {
} }
// Define SVG marker to be used in the component // Define SVG marker to be used in the component
const ListItemMarker: string = `<svg fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="mt-0.5 h-6 w-6 text-orange-400 dark:text-orange-300"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>`; const ListItemMarker: string = `<svg fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="mt-0.5 h-6 w-6 text-orange-400 dark:text-orange-300 flex-none"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>`;
--- ---
<section <section

View file

@ -9,10 +9,7 @@ import {
Card, Card,
CardGrid, CardGrid,
LinkCard, LinkCard,
Steps, Steps
Aside,
Tabs,
TabItem,
} from "@astrojs/starlight/components"; } from "@astrojs/starlight/components";
Dive deep into the technicalities of our product offerings with ScrewFast's comprehensive technical specifications documentation. Our detailed data sheets provide you with all the information you need on: Dive deep into the technicalities of our product offerings with ScrewFast's comprehensive technical specifications documentation. Our detailed data sheets provide you with all the information you need on:
@ -50,9 +47,9 @@ Explore the possibilities with ScrewFast through real-world scenarios. Our catal
See how ScrewFast products have been instrumental in: See how ScrewFast products have been instrumental in:
<CardGrid> <CardGrid>
<LinkCard title="Major infrastructure projects" href="en/guides/getting-started" /> <LinkCard title="Major infrastructure projects" href="/guides/getting-started" />
<LinkCard title="Innovative architectural accomplishments" href="en/guides/getting-started" /> <LinkCard title="Innovative architectural accomplishments" href="/guides/getting-started" />
<LinkCard title="High-stress industrial applications" href="en/guides/getting-started" /> <LinkCard title="High-stress industrial applications" href="/guides/getting-started" />
</CardGrid> </CardGrid>
These case studies serve as an inspiration and a learning tool, showcasing what can be achieved with the right expertise and ScrewFast's superior product range. These case studies serve as an inspiration and a learning tool, showcasing what can be achieved with the right expertise and ScrewFast's superior product range.

View file

@ -6,11 +6,7 @@ sidebar:
order: 3 order: 3
--- ---
import { import { Card, CardGrid, LinkCard } from "@astrojs/starlight/components";
Card,
CardGrid,
LinkCard
} from "@astrojs/starlight/components";
Safety is at the core of everything we do at ScrewFast. Our comprehensive safety protocols and procedures are designed to protect our team, clients, and the integrity of your project. Safety is at the core of everything we do at ScrewFast. Our comprehensive safety protocols and procedures are designed to protect our team, clients, and the integrity of your project.
@ -18,12 +14,18 @@ Safety is at the core of everything we do at ScrewFast. Our comprehensive safety
<LinkCard <LinkCard
title="Rigorous safety training for all personnel" title="Rigorous safety training for all personnel"
href="en/guides/getting-started" href="/guides/getting-started"
/> />
<CardGrid> <CardGrid>
<LinkCard title="Regular safety audits and compliance checks" href="en/guides/getting-started" /> <LinkCard
<LinkCard title="Emergency response plans and drills" href="en/guides/getting-started" /> title="Regular safety audits and compliance checks"
href="/guides/getting-started"
/>
<LinkCard
title="Emergency response plans and drills"
href="/guides/getting-started"
/>
</CardGrid> </CardGrid>
By integrating safety into our daily operations, we create a secure working environment without compromising on quality and productivity. By integrating safety into our daily operations, we create a secure working environment without compromising on quality and productivity.

View file

@ -50,16 +50,16 @@ Embarking on a new project can be exciting and challenging in equal measure. Wit
<LinkCard <LinkCard
title="Detailed Guides" title="Detailed Guides"
description="Access in-depth documentation and user manuals for ScrewFast tools and services." description="Access in-depth documentation and user manuals for ScrewFast tools and services."
href="en/guides/getting-started" href="/guides/getting-started"
/> />
<LinkCard <LinkCard
title="Support Contacts" title="Support Contacts"
description="Keep handy the contact details for ScrewFast support, available for assistance throughout your project." description="Keep handy the contact details for ScrewFast support, available for assistance throughout your project."
href="en/guides/getting-started" href="/guides/getting-started"
/> />
<LinkCard <LinkCard
title="Advanced Learning" title="Advanced Learning"
description="Explore further educational resources provided by ScrewFast to refine your skills and knowledge base." description="Explore further educational resources provided by ScrewFast to refine your skills and knowledge base."
href="en/guides/getting-started" href="/guides/getting-started"
/> />
</CardGrid> </CardGrid>

View file

@ -23,15 +23,15 @@ Welcome to ScrewFast Docs! We're excited to help you get started with our premiu
<CardGrid> <CardGrid>
<Card title="ScrewDriver Set" icon="seti:config"> <Card title="ScrewDriver Set" icon="seti:config">
Versatile and ergonomic, suitable for all screw types. Versatile and ergonomic, suitable for all screw types.
<LinkCard title="Learn More " href="en/guides/getting-started" /> <LinkCard title="Learn More " href="/guides/getting-started" />
</Card> </Card>
<Card title="Hammer Drill" icon="seti:pipeline"> <Card title="Hammer Drill" icon="seti:pipeline">
Powerful performance for drilling and impact driving. Powerful performance for drilling and impact driving.
<LinkCard title="Learn More " href="en/guides/getting-started" /> <LinkCard title="Learn More " href="/guides/getting-started" />
</Card> </Card>
<Card title="Power Saws" icon="seti:crystal"> <Card title="Power Saws" icon="seti:crystal">
Precision cutting with adjustable settings for various materials. Precision cutting with adjustable settings for various materials.
<LinkCard title="Learn More " href="en/guides/getting-started" /> <LinkCard title="Learn More " href="/guides/getting-started" />
</Card> </Card>
</CardGrid> </CardGrid>
@ -65,17 +65,17 @@ Regular maintenance ensures longevity and safety. Clean your tools after each us
<LinkCard <LinkCard
title="In-depth Tutorials" title="In-depth Tutorials"
description="Deep dive into using our tools with expert-led tutorials." description="Deep dive into using our tools with expert-led tutorials."
href="en/guides/getting-started" href="/guides/getting-started"
/> />
<LinkCard <LinkCard
title="Video Demos" title="Video Demos"
description="Visual guides to get the most out of your tools." description="Visual guides to get the most out of your tools."
href="en/guides/getting-started" href="/guides/getting-started"
/> />
<LinkCard <LinkCard
title="Warranty Information" title="Warranty Information"
description="Understand your coverage and how to make a claim if needed." description="Understand your coverage and how to make a claim if needed."
href="en/guides/getting-started" href="/guides/getting-started"
/> />

View file

@ -16,11 +16,11 @@ import {
<Card title="Maintaining Your ScrewFast Tools" icon="approve-check-circle"> <Card title="Maintaining Your ScrewFast Tools" icon="approve-check-circle">
<LinkCard <LinkCard
description="Step-by-step guide for the routine care and maintenance of your ScrewFast tools to ensure long-lasting functionality." description="Step-by-step guide for the routine care and maintenance of your ScrewFast tools to ensure long-lasting functionality."
href="en/guides/getting-started" href="/guides/getting-started"
/> />
<LinkCard <LinkCard
description="Cleaning, storage, and inspection practices to keep tools in optimal condition" description="Cleaning, storage, and inspection practices to keep tools in optimal condition"
href="en/guides/getting-started" href="/guides/getting-started"
/> />
</Card> </Card>

View file

@ -6,16 +6,6 @@ sidebar:
order: 1 order: 1
--- ---
import {
Card,
CardGrid,
LinkCard,
Steps,
Aside,
Tabs,
TabItem,
} from "@astrojs/starlight/components";
ScrewFast prides itself on a comprehensive range of high-grade tools and equipment. These resources are not just about delivering the performance you expect but ensuring they stand the test of time. Below, you will find a curated selection of guides geared towards helping you get the most out of our products. ScrewFast prides itself on a comprehensive range of high-grade tools and equipment. These resources are not just about delivering the performance you expect but ensuring they stand the test of time. Below, you will find a curated selection of guides geared towards helping you get the most out of our products.
### Tool Guides ### Tool Guides

View file

@ -202,7 +202,7 @@ const pageTitle: string = `${post.data.title} | ${SITE.title}`;
}); });
const SVG_HTML_STRING = const SVG_HTML_STRING =
'<svg class="w-0 h-0" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#fa5a15"><path stroke-linecap="round" stroke-linejoin="round" d="m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></svg>'; '<svg class="w-0 h-0 flex-none" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#fa5a15"><path stroke-linecap="round" stroke-linejoin="round" d="m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></svg>';
function setActiveLinkById(id: string | null) { function setActiveLinkById(id: string | null) {
const listItems = document.querySelectorAll("#toc li"); const listItems = document.querySelectorAll("#toc li");