Skip to content
Snippets Groups Projects
Commit 6c40f2a7 authored by Moritz Stückler's avatar Moritz Stückler :cowboy:
Browse files

fix: remove unnecessary subfooter wrapper

parent 4f86a487
No related branches found
No related tags found
No related merge requests found
Pipeline #9799 passed
......@@ -26,7 +26,6 @@ export default defineConfig({
"NewsletterSignUpSendInBlue",
"LogoGrid",
"Pill",
"SubFooter",
"People",
"Footer",
"NewsletterForm",
......@@ -47,7 +46,8 @@ export default defineConfig({
"Feature",
"ImageSlider",
"GridCard",
"SocialMediaIcons"
"SocialMediaIcons",
"SubFooter",
],
},
],
......
---
import { SubFooter } from "@fchh/fcos-suite-ui";
import { getBaseUrl } from "@utils";
const baseUrl = getBaseUrl();
export interface Props {
src: string;
alt?: string;
position?: "left" | "center" | "right";
}
const { src, alt, position } = Astro.props;
---
<SubFooter src={`${baseUrl}${src}`} alt={alt} position={position} />
......@@ -10,7 +10,6 @@ import Icon from "@components/Icon";
import LogoGrid from "@components/LogoGridWrapper.astro";
import NewsletterSignUpSendInBlue from "@components/NewsletterFullWidth";
import Pill from "@components/PillWrapper";
import SubFooter from "@components/SubFooterWrapper.astro";
import People from "@components/People.astro";
import Accordion from "@components/AccordionWrapper";
import Footer from "@components/FooterWrapper.astro";
......@@ -38,7 +37,6 @@ export {
NewsletterSignUpSendInBlue,
LogoGrid,
Pill,
SubFooter,
People,
Footer,
NewsletterForm,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment