Merge pull request #57 from mearashadowfax/update-configs

Update `tsconfig.json` and `tailwind.config.mjs`
This commit is contained in:
Emil Gulamov 2024-04-17 14:52:22 +00:00 committed by GitHub
commit 597ae6d03d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
54 changed files with 192 additions and 217 deletions

View file

@ -1,8 +1,8 @@
---
import { getImage } from "astro:assets";
import { OG, SEO, SITE } from "@/data_files/constants";
import faviconSvgSrc from "@/images/icon.svg";
import faviconSrc from "@/images/icon.png";
import { OG, SEO, SITE } from "@data/constants";
import faviconSvgSrc from "@images/icon.svg";
import faviconSrc from "@images/icon.png";
// Default properties for the Meta component. These values are used if props are not provided.
// 'meta' sets a default description meta tag to describe the page content.

View file

@ -1,9 +1,9 @@
---
// Import the necessary components from their respective component files
import LoginModal from "../ui/forms/LoginModal.astro";
import RegisterModal from "../ui/forms/RegisterModal.astro";
import RecoverModal from "../ui/forms/RecoverModal.astro";
import LoginBtn from "../ui/buttons/LoginBtn.astro";
import LoginModal from "@components/ui/forms/LoginModal.astro";
import RegisterModal from "@components/ui/forms/RegisterModal.astro";
import RecoverModal from "@components/ui/forms/RecoverModal.astro";
import LoginBtn from "@components/ui/buttons/LoginBtn.astro";
---
<!-- Login Button -->

View file

@ -1,12 +1,12 @@
---
// Import the necessary dependencies.
import AuthBtn from "../ui/buttons/AuthBtn.astro";
import ContactIconBlock from "../ui/blocks/ContactIconBlock.astro";
import TextInput from "../ui/forms/input/TextInput.astro";
import EmailContactInput from "../ui/forms/input/EmailContactInput.astro";
import PhoneInput from "../ui/forms/input/PhoneInput.astro";
import TextAreaInput from "../ui/forms/input/TextAreaInput.astro";
import Icon from "../ui/icons/Icon.astro";
import AuthBtn from "@components/ui/buttons/AuthBtn.astro";
import ContactIconBlock from "@components/ui/blocks/ContactIconBlock.astro";
import TextInput from "@components/ui/forms/input/TextInput.astro";
import EmailContactInput from "@components/ui/forms/input/EmailContactInput.astro";
import PhoneInput from "@components/ui/forms/input/PhoneInput.astro";
import TextAreaInput from "@components/ui/forms/input/TextAreaInput.astro";
import Icon from "@components/ui/icons/Icon.astro";
// Define the variables that will be used in this component
const title: string = "Contact us";

View file

@ -1,6 +1,6 @@
---
// Import the necessary AccordionItem component and JSON data
import AccordionItem from "../ui/blocks/AccordionItem.astro";
import AccordionItem from "@components/ui/blocks/AccordionItem.astro";
// Define props from Astro
const { title, faqs } = Astro.props;

View file

@ -1,12 +1,12 @@
---
// Import the necessary dependencies
import FooterSocialLink from "../ui/links/FooterSocialLink.astro";
import EmailFooterInput from "../ui/forms/input/EmailFooterInput.astro";
import enStrings from "@/utils/navigation.ts";
import frStrings from "@/utils/fr/navigation.ts";
import Icon from "../ui/icons/Icon.astro";
import BrandLogo from "@/components/BrandLogo.astro";
import { SITE } from "@/data_files/constants";
import FooterSocialLink from "@components/ui/links/FooterSocialLink.astro";
import EmailFooterInput from "@components/ui/forms/input/EmailFooterInput.astro";
import enStrings from "@utils/navigation.ts";
import frStrings from "@utils/fr/navigation.ts";
import Icon from "@components/ui/icons/Icon.astro";
import BrandLogo from "@components/BrandLogo.astro";
import { SITE } from "@data/constants";
// Select the correct translation based on the page's lang prop:
const strings = Astro.currentLocale === "fr" ? frStrings : enStrings;

View file

@ -1,12 +1,12 @@
---
//Import relevant dependencies
import ThemeIcon from "../ThemeIcon.astro";
import NavLink from "../ui/links/NavLink.astro";
import ThemeIcon from "@components/ThemeIcon.astro";
import NavLink from "@components/ui/links/NavLink.astro";
import Authentication from "./Authentication.astro";
import enStrings from "@/utils/navigation.ts";
import frStrings from "@/utils/fr/navigation.ts";
import BrandLogo from "../BrandLogo.astro";
import LanguagePicker from "../ui/LanguagePicker.astro";
import enStrings from "@utils/navigation.ts";
import frStrings from "@utils/fr/navigation.ts";
import BrandLogo from "@components/BrandLogo.astro";
import LanguagePicker from "@components/ui/LanguagePicker.astro";
// Select the correct translation based on the page's lang prop:
const strings = Astro.currentLocale === "fr" ? frStrings : enStrings;

View file

@ -1,8 +1,8 @@
---
// Import the necessary dependencies
import { Image } from "astro:assets";
import IconBlock from "../../ui/blocks/IconBlock.astro";
import Icon from "../../ui/icons/Icon.astro";
import IconBlock from "@components/ui/blocks/IconBlock.astro";
import Icon from "@components/ui/icons/Icon.astro";
interface Feature {
heading: string;

View file

@ -1,8 +1,8 @@
---
// Import the necessary dependencies
import TabNav from "../../ui/blocks/TabNav.astro";
import TabContent from "../../ui/blocks/TabContent.astro";
import Icon from "../../ui/icons/Icon.astro";
import TabNav from "@components/ui/blocks/TabNav.astro";
import TabContent from "@components/ui/blocks/TabContent.astro";
import Icon from "@components/ui/icons/Icon.astro";
// Define props from Astro
const { title, tabs } = Astro.props;

View file

@ -1,7 +1,7 @@
---
// Import the necessary components
import StatsBig from "../../ui/blocks/StatsBig.astro";
import StatsSmall from "../../ui/blocks/StatsSmall.astro";
import StatsBig from "@components/ui/blocks/StatsBig.astro";
import StatsSmall from "@components/ui/blocks/StatsSmall.astro";
const { title, subTitle, stats, mainStatTitle, mainStatSubTitle } = Astro.props;

View file

@ -1,6 +1,6 @@
---
import { Image } from "astro:assets";
import product5 from "@/images/features-image.avif";
import product5 from "@images/features-image.avif";
// Define props from Astro
const { title, subTitle, benefits } = Astro.props;

View file

@ -1,12 +1,12 @@
---
// Import the necessary dependencies.
import AuthBtn from "../../ui/buttons/AuthBtn.astro";
import ContactIconBlock from "../../ui/blocks/ContactIconBlock.astro";
import TextInput from "../../ui/forms/input/TextInput.astro";
import EmailContactInput from "../../ui/forms/input/EmailContactInput.astro";
import PhoneInput from "../../ui/forms/input/PhoneInput.astro";
import TextAreaInput from "../../ui/forms/input/TextAreaInput.astro";
import Icon from "../../ui/icons/Icon.astro";
import AuthBtn from "@components/ui/buttons/AuthBtn.astro";
import ContactIconBlock from "@components/ui/blocks/ContactIconBlock.astro";
import TextInput from "@components/ui/forms/input/TextInput.astro";
import EmailContactInput from "@components/ui/forms/input/EmailContactInput.astro";
import PhoneInput from "@components/ui/forms/input/PhoneInput.astro";
import TextAreaInput from "@components/ui/forms/input/TextAreaInput.astro";
import Icon from "@components/ui/icons/Icon.astro";
// Define the variables that will be used in this component
const title: string = "Contactez-nous";

View file

@ -1,9 +1,9 @@
---
// Import the necessary dependencies
import { Image } from "astro:assets";
import PrimaryCTA from "../../ui/buttons/PrimaryCTA.astro";
import SecondaryCTA from "../../ui/buttons/SecondaryCTA.astro";
import ReviewComponent from "../../ui/blocks/ReviewComponent.astro";
import PrimaryCTA from "@components/ui/buttons/PrimaryCTA.astro";
import SecondaryCTA from "@components/ui/buttons/SecondaryCTA.astro";
import ReviewComponent from "@components/ui/blocks/ReviewComponent.astro";
// Define props from Astro
const {

View file

@ -1,6 +1,6 @@
---
// Import the necessary dependencies
import GithubBtn from "../../ui/buttons/GithubBtn.astro";
import GithubBtn from "@components/ui/buttons/GithubBtn.astro";
// Define props from Astro
const { title, subTitle, url } = Astro.props;

View file

@ -1,7 +1,7 @@
---
// Import SecondaryCTA component for use in this module
import SecondaryCTA from "../../ui/buttons/SecondaryCTA.astro";
import Icon from "../../ui/icons/Icon.astro";
import SecondaryCTA from "@components/ui/buttons/SecondaryCTA.astro";
import Icon from "@components/ui/icons/Icon.astro";
// Define props from Astro
const { pricing } = Astro.props;

View file

@ -1,5 +1,5 @@
---
import { languages } from "@/utils//ui";
import { languages } from "@utils//ui";
import Icon from "./icons/Icon.astro";
---

View file

@ -1,5 +1,5 @@
---
import Icon from "../icons/Icon.astro";
import Icon from "@components/ui/icons/Icon.astro";
// Define props from Astro
const { id, collapseId, question, answer, first } = Astro.props;
// Define TypeScript interface for props

View file

@ -1,7 +1,7 @@
---
// Import the necessary modules
import { Image } from "astro:assets";
import PrimaryCTA from "../buttons/PrimaryCTA.astro";
import PrimaryCTA from "@components/ui/buttons/PrimaryCTA.astro";
// Destructure the props passed to the Astro component
const { title, subTitle, btnExists, btnTitle, btnURL, img, imgAlt } =
Astro.props;

View file

@ -1,6 +1,6 @@
---
// Import PrimaryCTA component
import PrimaryCTA from "../buttons/PrimaryCTA.astro";
import PrimaryCTA from "@components/ui/buttons/PrimaryCTA.astro";
// Destructure the props passed to the Astro component
const { title, subTitle, btnExists, btnTitle, btnURL } = Astro.props;

View file

@ -1,7 +1,7 @@
---
import Avatar from "../../ui/avatars/Avatar.astro";
import FullStar from "../../ui/stars/FullStar.astro";
import HalfStar from "../../ui/stars/HalfStar.astro";
import Avatar from "@components/ui/avatars/Avatar.astro";
import FullStar from "@components/ui/stars/FullStar.astro";
import HalfStar from "@components/ui/stars/HalfStar.astro";
const { avatars, starCount = 0, rating, reviews } = Astro.props;

View file

@ -1,7 +1,7 @@
---
// Import the required modules
import { Image } from "astro:assets";
import PrimaryCTA from "../buttons/PrimaryCTA.astro";
import PrimaryCTA from "@components/ui/buttons/PrimaryCTA.astro";
// Extract properties from Astro.props
const {
title,

View file

@ -1,5 +1,5 @@
---
import Icon from "../icons/Icon.astro";
import Icon from "@components/ui/icons/Icon.astro";
const { count, description, index } = Astro.props;

View file

@ -1,5 +1,5 @@
---
import Icon from "../icons/Icon.astro";
import Icon from "@components/ui/icons/Icon.astro";
---
<button

View file

@ -1,5 +1,5 @@
---
import Icon from "../icons/Icon.astro";
import Icon from "@components/ui/icons/Icon.astro";
// Destructure the properties from Astro.props
const { title, id, noArrow } = Astro.props;
// Define TypeScript interface for the properties

View file

@ -1,5 +1,5 @@
---
import Icon from "../icons/Icon.astro";
import Icon from "@components/ui/icons/Icon.astro";
const { title, url } = Astro.props;
interface Props {

View file

@ -1,5 +1,5 @@
---
import Icon from "../icons/Icon.astro";
import Icon from "@components/ui/icons/Icon.astro";
// Destructure the properties from Astro.props
const { title, url, noArrow } = Astro.props;
// Define TypeScript interface for the properties

View file

@ -1,5 +1,5 @@
---
import Icon from "../icons/Icon.astro";
import Icon from "@components/ui/icons/Icon.astro";
// Destructure the properties from Astro.props
const { pageTitle } = Astro.props;

View file

@ -1,8 +1,8 @@
---
// Import necessary components and utilities
import AvatarBlog from "../avatars/AvatarBlog.astro";
import AvatarBlog from "@components/ui/avatars/AvatarBlog.astro";
import { Image } from "astro:assets";
import { formatDate } from "@/utils/utils";
import { formatDate } from "@utils/utils";
import type { CollectionEntry } from "astro:content";
const { blogEntry } = Astro.props;

View file

@ -2,8 +2,8 @@
// Import all required components and utilities
import { Image } from "astro:assets";
import type { CollectionEntry } from "astro:content";
import AvatarBlogLarge from "../avatars/AvatarBlogLarge.astro";
import PrimaryCTA from "../buttons/PrimaryCTA.astro";
import AvatarBlogLarge from "@components/ui/avatars/AvatarBlogLarge.astro";
import PrimaryCTA from "@components/ui/buttons/PrimaryCTA.astro";
const { blogEntry } = Astro.props;

View file

@ -1,7 +1,7 @@
---
// Import necessary modules and utilities
import { Image } from "astro:assets";
import Icon from "../icons/Icon.astro";
import Icon from "@components/ui/icons/Icon.astro";
import type { CollectionEntry } from "astro:content";
const { insightEntry } = Astro.props;

View file

@ -1,7 +1,7 @@
---
// Import necessary modules and utilities
import { Image } from "astro:assets";
import { formatDate } from "@/utils/utils";
import { formatDate } from "@utils/utils";
import type { CollectionEntry } from "astro:content";
const { blogEntry } = Astro.props;

View file

@ -1,7 +1,7 @@
---
// Import necessary modules and utilities
import { Image } from "astro:assets";
import Icon from "../icons/Icon.astro";
import Icon from "@components/ui/icons/Icon.astro";
import type { CollectionEntry } from "astro:content";
const { product } = Astro.props;

View file

@ -1,7 +1,7 @@
---
// Import necessary modules and utilities
import { Image } from "astro:assets";
import Icon from "../icons/Icon.astro";
import Icon from "@components/ui/icons/Icon.astro";
import type { CollectionEntry } from "astro:content";
const { product } = Astro.props;

View file

@ -3,8 +3,8 @@
import EmailInput from "./input/EmailInput.astro";
import PasswordInput from "./input/PasswordInput.astro";
import Checkbox from "./input/Checkbox.astro";
import AuthBtn from "../buttons/AuthBtn.astro";
import GoogleBtn from "../buttons/GoogleBtn.astro";
import AuthBtn from "@components/ui/buttons/AuthBtn.astro";
import GoogleBtn from "@components/ui/buttons/GoogleBtn.astro";
// Variables for customization of the LoginModal Component

View file

@ -1,7 +1,7 @@
---
// Import necessary components from individual files
import EmailInput from "./input/EmailInput.astro";
import AuthBtn from "../buttons/AuthBtn.astro";
import AuthBtn from "@components/ui/buttons/AuthBtn.astro";
// Config object for customization of the component
const config = {

View file

@ -3,8 +3,8 @@
import EmailInput from "./input/EmailInput.astro";
import PasswordInput from "./input/PasswordInput.astro";
import Checkbox from "./input/Checkbox.astro";
import GoogleBtn from "../buttons/GoogleBtn.astro";
import AuthBtn from "../buttons/AuthBtn.astro";
import GoogleBtn from "@components/ui/buttons/GoogleBtn.astro";
import AuthBtn from "@components/ui/buttons/AuthBtn.astro";
// Config object for customization of the component
const config = {
id: "hs-toggle-between-modals-register-modal", // Modal identifier

View file

@ -1,6 +1,6 @@
---
import mainLogo from "@/images/starlight/screwfast_logo_dark.svg?raw";
import docsLogo from "@/images/starlight/docs_logo.svg?raw";
import mainLogo from "@images/starlight/screwfast_logo_dark.svg?raw";
import docsLogo from "@images/starlight/docs_logo.svg?raw";
import type { Props } from "@astrojs/starlight/props";

View file

@ -1,9 +1,9 @@
---
// Importing necessary components
import Meta from "@/components/Meta.astro";
import Navbar from "@/components/sections/Navbar.astro";
import FooterSection from "@/components/sections/FooterSection.astro";
import { SITE } from "@/data_files/constants";
import Meta from "@components/Meta.astro";
import Navbar from "@components/sections/Navbar.astro";
import FooterSection from "@components/sections/FooterSection.astro";
import { SITE } from "@data/constants";
// Setting expected props
const { title = SITE.title, meta, structuredData, lang = "en" } = Astro.props;

View file

@ -1,8 +1,8 @@
---
// Import section components
import MainLayout from "@/layouts/MainLayout.astro";
import Btn404 from "@/components/ui/buttons/Btn404.astro";
import { SITE } from "@/data_files/constants";
import Btn404 from "@components/ui/buttons/Btn404.astro";
import { SITE } from "@data/constants";
const pageTitle: string = `Page Not Found | ${SITE.title}`;

View file

@ -1,16 +1,16 @@
---
// Import necessary components and utilities
import MainLayout from "@/layouts/MainLayout.astro";
import AvatarBlogLarge from "@/components/ui/avatars/AvatarBlogLarge.astro";
import CardRelated from "@/components/ui/cards/CardRelated.astro";
import Bookmark from "@/components/ui/buttons/Bookmark.astro";
import SocialShare from "@/components/ui/buttons/SocialShare.astro";
import PostFeedback from "@/components/ui/feedback/PostFeedback.astro";
import AvatarBlogLarge from "@components/ui/avatars/AvatarBlogLarge.astro";
import CardRelated from "@components/ui/cards/CardRelated.astro";
import Bookmark from "@components/ui/buttons/Bookmark.astro";
import SocialShare from "@components/ui/buttons/SocialShare.astro";
import PostFeedback from "@components/ui/feedback/PostFeedback.astro";
import { Image } from "astro:assets";
import { capitalize, formatDate } from "@/utils/utils";
import { capitalize, formatDate } from "@utils/utils";
import { getCollection } from "astro:content";
import type { CollectionEntry } from "astro:content";
import { SITE } from "@/data_files/constants";
import { SITE } from "@data/constants";
// getStaticPaths is used to pre-render all routes based on the blog posts
export async function getStaticPaths() {

View file

@ -1,12 +1,12 @@
---
// Import necessary components, modules and types
import MainLayout from "@/layouts/MainLayout.astro";
import CardBlog from "@/components/ui/cards/CardBlog.astro";
import CardBlogRecent from "@/components/ui/cards/CardBlogRecent.astro";
import CardInsight from "@/components/ui/cards/CardInsight.astro";
import CardBlog from "@components/ui/cards/CardBlog.astro";
import CardBlogRecent from "@components/ui/cards/CardBlogRecent.astro";
import CardInsight from "@components/ui/cards/CardInsight.astro";
import { getCollection } from "astro:content";
import type { CollectionEntry } from "astro:content";
import { SITE } from "@/data_files/constants";
import { SITE } from "@data/constants";
// Get all blogs post and sort them based on publish date
const blogPosts: CollectionEntry<"blog">[] = (await getCollection("blog")).sort(

View file

@ -1,8 +1,8 @@
---
// Import the necessary components
import MainLayout from "@/layouts/MainLayout.astro";
import ContactSection from "@/components/sections/ContactSection.astro";
import { SITE } from "@/data_files/constants";
import ContactSection from "@components/sections/ContactSection.astro";
import { SITE } from "@data/constants";
const pageTitle: string = `Contact | ${SITE.title}`;
---

View file

@ -1,7 +1,7 @@
---
// Import section components
import MainLayout from "@/layouts/MainLayout.astro";
import Btn404 from "@/components/ui/buttons/Btn404.astro";
import Btn404 from "@components/ui/buttons/Btn404.astro";
// Define variables for page content
const title: string = "404";

View file

@ -1,12 +1,12 @@
---
// Import necessary components, modules and types
import MainLayout from "@/layouts/MainLayout.astro";
import CardBlog from "@/components/ui/cards/CardBlog.astro";
import CardBlogRecent from "@/components/ui/cards/CardBlogRecent.astro";
import CardInsight from "@/components/ui/cards/CardInsight.astro";
import CardBlog from "@components/ui/cards/CardBlog.astro";
import CardBlogRecent from "@components/ui/cards/CardBlogRecent.astro";
import CardInsight from "@components/ui/cards/CardInsight.astro";
import { getCollection } from "astro:content";
import type { CollectionEntry } from "astro:content";
import { SITE } from "@/data_files/constants";
import { SITE } from "@data/constants";
// Get all blogs post and sort them based on publish date
const blogPosts: CollectionEntry<"blog">[] = (await getCollection("blog")).sort(

View file

@ -1,7 +1,7 @@
---
// Import the necessary components
import MainLayout from "@/layouts/MainLayout.astro";
import ContactSection from "@/components/sections/fr/ContactSection_fr.astro";
import ContactSection from "@components/sections/fr/ContactSection_fr.astro";
---
<!--Utilizing MainLayout for the outer layout of the page, and defining meta for SEO purposes-->

View file

@ -1,23 +1,23 @@
---
// Import the necessary components
import MainLayout from "@/layouts/MainLayout.astro";
import HeroSection from "@/components/sections/landing/HeroSection.astro";
import HeroSectionAlt from "@/components/sections/landing/HeroSectionAlt.astro";
import ClientsSection from "@/components/sections/landing/ClientsSection.astro";
import FeaturesGeneral from "@/components/sections/features/FeaturesGeneral.astro";
import FeaturesNavs from "@/components/sections/features/FeaturesNavs.astro";
import TestimonialsSection from "@/components/sections/testimonials/TestimonialsSection.astro";
import PricingSection from "@/components/sections/pricing/PricingSection.astro";
import FAQ from "@/components/sections/FAQ.astro";
import AnnouncementBanner from "@/components/ui/banners/AnnouncementBanner.astro";
import heroImage from "@/images/hero-image.avif";
import faqs from "@/data_files/fr/faqs.json";
import features from "@/data_files/fr/features.json";
import pricing from "@/data_files/fr/pricing.json";
import featureImage from "@/images/features-image.avif";
import construction from "@/images/construction-image.avif";
import tools from "@/images/automated-tools.avif";
import dashboard from "@/images/dashboard-image.avif";
import HeroSection from "@components/sections/landing/HeroSection.astro";
import HeroSectionAlt from "@components/sections/landing/HeroSectionAlt.astro";
import ClientsSection from "@components/sections/landing/ClientsSection.astro";
import FeaturesGeneral from "@components/sections/features/FeaturesGeneral.astro";
import FeaturesNavs from "@components/sections/features/FeaturesNavs.astro";
import TestimonialsSection from "@components/sections/testimonials/TestimonialsSection.astro";
import PricingSection from "@components/sections/pricing/PricingSection.astro";
import FAQ from "@components/sections/FAQ.astro";
import AnnouncementBanner from "@components/ui/banners/AnnouncementBanner.astro";
import heroImage from "@images/hero-image.avif";
import faqs from "@data/fr/faqs.json";
import features from "@data/fr/features.json";
import pricing from "@data/fr/pricing.json";
import featureImage from "@images/features-image.avif";
import construction from "@images/construction-image.avif";
import tools from "@images/automated-tools.avif";
import dashboard from "@images/dashboard-image.avif";
import { getRelativeLocaleUrl } from 'astro:i18n';
const avatarSrcs: Array<string> = [

View file

@ -1,11 +1,11 @@
---
// Importing necessary components
import MainLayout from "@/layouts/MainLayout.astro";
import PrimaryCTA from "@/components/ui/buttons/PrimaryCTA.astro";
import CardSmall from "@/components/ui/cards/CardSmall.astro";
import CardWide from "@/components/ui/cards/CardWide.astro";
import FeaturesStatsAlt from "@/components/sections/features/FeaturesStatsAlt.astro";
import TestimonialsSectionAlt from "@/components/sections/testimonials/TestimonialsSectionAlt.astro";
import PrimaryCTA from "@components/ui/buttons/PrimaryCTA.astro";
import CardSmall from "@components/ui/cards/CardSmall.astro";
import CardWide from "@components/ui/cards/CardWide.astro";
import FeaturesStatsAlt from "@components/sections/features/FeaturesStatsAlt.astro";
import TestimonialsSectionAlt from "@components/sections/testimonials/TestimonialsSectionAlt.astro";
// Importing necessary functions from Astro
import { getCollection } from "astro:content";

View file

@ -1,21 +1,21 @@
---
// Import necessary components
import MainLayout from "@/layouts/MainLayout.astro";
import MainSection from "@/components/ui/blocks/MainSection.astro";
import LeftSection from "@/components/ui/blocks/LeftSection.astro";
import RightSection from "@/components/ui/blocks/RightSection.astro";
import FeaturesStats from "@/components/sections/features/FeaturesStats.astro";
import MainSection from "@components/ui/blocks/MainSection.astro";
import LeftSection from "@components/ui/blocks/LeftSection.astro";
import RightSection from "@components/ui/blocks/RightSection.astro";
import FeaturesStats from "@components/sections/features/FeaturesStats.astro";
import { getRelativeLocaleUrl } from 'astro:i18n';
// Import necessary images
import blueprints from "@/images/blueprints-image.avif";
import personWorking from "@/images/person-working.avif";
import beforeAfter from "@/images/before-after.avif";
import constructionWorkers from "@/images/construction-workers.avif";
import aerialView from "@/images/aerial-view.avif";
import usingTools from "@/images/using-tools.avif";
import progressBuilding from "@/images/progress-building.avif";
import underConstruction from "@/images/under-construction.avif";
import blueprints from "@images/blueprints-image.avif";
import personWorking from "@images/person-working.avif";
import beforeAfter from "@images/before-after.avif";
import constructionWorkers from "@images/construction-workers.avif";
import aerialView from "@images/aerial-view.avif";
import usingTools from "@images/using-tools.avif";
import progressBuilding from "@images/progress-building.avif";
import underConstruction from "@images/under-construction.avif";
interface Article {
isRightSection: boolean;

View file

@ -1,23 +1,23 @@
---
// Import the necessary components
import MainLayout from "@/layouts/MainLayout.astro";
import HeroSection from "@/components/sections/landing/HeroSection.astro";
import HeroSectionAlt from "@/components/sections/landing/HeroSectionAlt.astro";
import ClientsSection from "@/components/sections/landing/ClientsSection.astro";
import FeaturesGeneral from "@/components/sections/features/FeaturesGeneral.astro";
import FeaturesNavs from "@/components/sections/features/FeaturesNavs.astro";
import TestimonialsSection from "@/components/sections/testimonials/TestimonialsSection.astro";
import PricingSection from "@/components/sections/pricing/PricingSection.astro";
import FAQ from "@/components/sections/FAQ.astro";
import AnnouncementBanner from "@/components/ui/banners/AnnouncementBanner.astro";
import heroImage from "@/images/hero-image.avif";
import faqs from "@/data_files/faqs.json";
import features from "@/data_files/features.json";
import pricing from "@/data_files/pricing.json";
import featureImage from "@/images/features-image.avif";
import construction from "@/images/construction-image.avif";
import tools from "@/images/automated-tools.avif";
import dashboard from "@/images/dashboard-image.avif";
import HeroSection from "@components/sections/landing/HeroSection.astro";
import HeroSectionAlt from "@components/sections/landing/HeroSectionAlt.astro";
import ClientsSection from "@components/sections/landing/ClientsSection.astro";
import FeaturesGeneral from "@components/sections/features/FeaturesGeneral.astro";
import FeaturesNavs from "@components/sections/features/FeaturesNavs.astro";
import TestimonialsSection from "@components/sections/testimonials/TestimonialsSection.astro";
import PricingSection from "@components/sections/pricing/PricingSection.astro";
import FAQ from "@components/sections/FAQ.astro";
import AnnouncementBanner from "@components/ui/banners/AnnouncementBanner.astro";
import heroImage from "@images/hero-image.avif";
import faqs from "@data/faqs.json";
import features from "@data/features.json";
import pricing from "@data/pricing.json";
import featureImage from "@images/features-image.avif";
import construction from "@images/construction-image.avif";
import tools from "@images/automated-tools.avif";
import dashboard from "@images/dashboard-image.avif";
const avatarSrcs: Array<string> = [
"https://images.unsplash.com/photo-1568602471122-7832951cc4c5?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=facearea&facepad=2&w=300&h=300&q=80",

View file

@ -1,6 +1,6 @@
---
// Import section components
import { SITE } from "@/data_files/constants";
import { SITE } from "@data/constants";
import MainLayout from "@/layouts/MainLayout.astro";
import { Image } from "astro:assets";
import { getCollection } from "astro:content";

View file

@ -1,11 +1,11 @@
---
// Import section components
import MainLayout from "@/layouts/MainLayout.astro";
import ProductTabBtn from "@/components/ui/buttons/ProductTabBtn.astro";
import PrimaryCTA from "@/components/ui/buttons/PrimaryCTA.astro";
import ProductTabBtn from "@components/ui/buttons/ProductTabBtn.astro";
import PrimaryCTA from "@components/ui/buttons/PrimaryCTA.astro";
import { Image } from "astro:assets";
import { getCollection } from "astro:content";
import { SITE } from "@/data_files/constants";
import { SITE } from "@data/constants";
// Global declaration for gsap animation library
declare global {

View file

@ -1,16 +1,16 @@
---
// Importing necessary components
import MainLayout from "@/layouts/MainLayout.astro";
import PrimaryCTA from "@/components/ui/buttons/PrimaryCTA.astro";
import CardSmall from "@/components/ui/cards/CardSmall.astro";
import CardWide from "@/components/ui/cards/CardWide.astro";
import FeaturesStatsAlt from "@/components/sections/features/FeaturesStatsAlt.astro";
import TestimonialsSectionAlt from "@/components/sections/testimonials/TestimonialsSectionAlt.astro";
import PrimaryCTA from "@components/ui/buttons/PrimaryCTA.astro";
import CardSmall from "@components/ui/cards/CardSmall.astro";
import CardWide from "@components/ui/cards/CardWide.astro";
import FeaturesStatsAlt from "@components/sections/features/FeaturesStatsAlt.astro";
import TestimonialsSectionAlt from "@components/sections/testimonials/TestimonialsSectionAlt.astro";
// Importing necessary functions from Astro
import { getCollection } from "astro:content";
import type { CollectionEntry } from "astro:content";
import { SITE } from "@/data_files/constants";
import { SITE } from "@data/constants";
// Fetching all the product related content and sorting it by main.id
const product: CollectionEntry<"products">[] = (

View file

@ -1,21 +1,21 @@
---
// Import necessary components
import MainLayout from "@/layouts/MainLayout.astro";
import MainSection from "@/components/ui/blocks/MainSection.astro";
import LeftSection from "@/components/ui/blocks/LeftSection.astro";
import RightSection from "@/components/ui/blocks/RightSection.astro";
import FeaturesStats from "@/components/sections/features/FeaturesStats.astro";
import MainSection from "@components/ui/blocks/MainSection.astro";
import LeftSection from "@components/ui/blocks/LeftSection.astro";
import RightSection from "@components/ui/blocks/RightSection.astro";
import FeaturesStats from "@components/sections/features/FeaturesStats.astro";
// Import necessary images
import blueprints from "@/images/blueprints-image.avif";
import personWorking from "@/images/person-working.avif";
import beforeAfter from "@/images/before-after.avif";
import constructionWorkers from "@/images/construction-workers.avif";
import aerialView from "@/images/aerial-view.avif";
import usingTools from "@/images/using-tools.avif";
import progressBuilding from "@/images/progress-building.avif";
import underConstruction from "@/images/under-construction.avif";
import { SITE } from "@/data_files/constants";
import blueprints from "@images/blueprints-image.avif";
import personWorking from "@images/person-working.avif";
import beforeAfter from "@images/before-after.avif";
import constructionWorkers from "@images/construction-workers.avif";
import aerialView from "@images/aerial-view.avif";
import usingTools from "@images/using-tools.avif";
import progressBuilding from "@images/progress-building.avif";
import underConstruction from "@images/under-construction.avif";
import { SITE } from "@data/constants";
interface Article {
isRightSection: boolean;

View file

@ -1,5 +1,5 @@
/** @type {import('tailwindcss').Config} */
import colors from 'tailwindcss/colors';
export default {
content: [
"./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}",
@ -12,35 +12,15 @@ export default {
current: "currentColor",
black: "#000000",
white: "#ffffff",
gray: {
100: "#f3f4f6",
300: "#d1d5db",
500: "#6b7280",
600: "#4b5563",
800: "#1f2937",
},
indigo: {
200: "#c7d2fe",
300: "#a5b4fc",
},
neutral: {
50: "#fafafa",
100: "#f5f5f5",
200: "#e5e5e5",
300: "#d4d4d4",
400: "#a3a3a3",
500: "#737373",
600: "#525252",
700: "#404040",
800: "#262626",
900: "#171717",
},
gray: colors.gray,
indigo: colors.indigo,
neutral: colors.neutral, // Used mainly for text color
yellow: {
50: "#fefce8",
100: "#fef9c3",
400: "#facc15",
500: "#eab308",
},
}, // Accent colors, used mainly for star color, heading and buttons
orange: {
100: "#ffedd5",
200: "#fed7aa",
@ -48,20 +28,9 @@ export default {
400: "#fa5a15",
500: "#e14d0b",
600: "#ea580c",
},
red: {
400: "#f87171",
500: "#ef4444",
},
zinc: {
200: "#e4e4e7",
400: "#a1a1aa",
500: "#71717a",
600: "#52525b",
700: "#3f3f46",
800: "#27272a",
900: "#18181b",
},
}, // Primary colors, used mainly for links, buttons and svg icons
red: colors.red, // Used for bookmark icon
zinc: colors.zinc, // Used mainly for box-shadow
},
extend: {},
},

View file

@ -3,7 +3,13 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
"@/*": ["src/*"],
"@components/*": ["src/components/*"],
"@content/*": ["src/content/*"],
"@data/*": ["src/data_files/*"],
"@images/*": ["src/images/*"],
"@styles/*": ["src/styles/*"],
"@utils/*": ["src/utils/*"]
},
}
}