diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index b301492b..16dbd6f4 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/package.json b/package.json index 20e6caf4..2d5a3f2d 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@fontsource-variable/nunito-sans": "^5.0.14", "@fontsource/baskervville": "^5.0.20", "@hookform/resolvers": "^3.4.0", - "astro": "^4.8.4", + "astro": "^4.8.5", "firebase": "^10.12.0", "firebase-admin": "^12.1.0", "gsap": "^3.12.5", diff --git a/src/assets/images/svg-components/leftArrow/LeftArrow.tsx b/src/assets/images/svg-components/leftArrow/LeftArrow.tsx index 1cec293a..37e7e2ff 100644 --- a/src/assets/images/svg-components/leftArrow/LeftArrow.tsx +++ b/src/assets/images/svg-components/leftArrow/LeftArrow.tsx @@ -1,14 +1,14 @@ -interface LeftArrowProps{ - fill?: string +interface LeftArrowProps { + fill?: string; } -export const LeftArrow = ({fill='currentColor'}:LeftArrowProps) => { +export const LeftArrow = ({ fill = "currentColor" }: LeftArrowProps) => { return ( diff --git a/src/consts.ts b/src/consts.ts index 29265c69..59646f8e 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -43,12 +43,6 @@ export const WORLD_GLOBE_CONFIG: WorldGlobeConfig = { export const DEFAULT_LOCALE_STRING: Intl.LocalesArgument = "es-ES"; -export const CONTACT_FORM_REQUEST_PARAMETERS: RequestInit = { - method: `POST`, - headers: { "Content-Type": `application/x-www-form-urlencoded` }, - signal: AbortSignal.timeout(10000), -}; - export const DEFAULT_DATE_FORMAT: Intl.DateTimeFormatOptions = { weekday: "long", year: "numeric", diff --git a/src/pages/contact.astro b/src/pages/contact.astro index 73842c0f..4d261748 100644 --- a/src/pages/contact.astro +++ b/src/pages/contact.astro @@ -3,11 +3,11 @@ import BaseLayout from "@components/templates/baseLayout/BaseLayout.astro"; import Tabs from "@components/organisms/tabs/Tabs.astro"; import ContactIntro from "@components/organisms/contactIntro/ContactIntro.astro"; import LatestArticles from "src/ui/components/organisms/latestArticles/LatestArticles.astro"; -import Breadcrumbs from "@components/molecules/breadcrumbs/Breadcrumbs.astro"; +import Breadcrumbs from "../ui/components/molecules/breadcrumbs/Breadcrumbs.astro"; --- - + diff --git a/src/ui/components/molecules/breadcrumbs/Breadcrumbs.astro b/src/ui/components/molecules/breadcrumbs/Breadcrumbs.astro index cc0bb3bb..2db13d60 100644 --- a/src/ui/components/molecules/breadcrumbs/Breadcrumbs.astro +++ b/src/ui/components/molecules/breadcrumbs/Breadcrumbs.astro @@ -1,27 +1,34 @@ --- -import { generateBreadcrumbs } from './utils/generateBreadcrumbs'; - -const { pathname:currentPath }= Astro.url; - -const breadcrumbs = generateBreadcrumbs({ currentPath }); +import { generateBreadcrumbs } from "./utils/generateBreadcrumbs"; +import "./breadcrumbs.css"; + +interface BreadcrumbProps { + classNames?: string; +} + +const { classNames } = Astro.props as BreadcrumbProps; +const { pathname: currentPath, origin } = Astro.url; + +const breadcrumbs = generateBreadcrumbs({ currentPath }); --- -
+
+
+ +