refactor: remove singular component and replace with wrapper component

This commit is contained in:
Nam Doan
2025-12-10 14:09:46 +07:00
parent baaa0e9c62
commit fe881d5aed
6 changed files with 133 additions and 93 deletions
+17 -65
View File
@@ -41,11 +41,11 @@
}
},
{
"Button": {
"Link": {
"config": {
"label": "Mehr Info",
"href": "/",
"className": "text-[13px] w-fit text-white px-3 flex items-center bg-[#112638] gap-1 "
"className": "text-[13px] rounded-md hover:text-white w-[80px] text-white text-center flex items-center bg-[#112638] flex justify-center h-[28px] "
}
}
}
@@ -89,7 +89,7 @@
"className": "h-24 bg-[white] text-[#11314E] gap-12 pl-16",
"left": [
{
"Image": {
"Logo": {
"config": {
"src": "/VibentecIT-logo.svg",
"alt": "MyShop",
@@ -202,37 +202,18 @@
"rightClassName": "flex mt-[160px]",
"left": [
{
"Image": {
"config": {
"src": "/VibentecIT-logo.svg",
"alt": "MyShop",
"className": "h-[100px] w-[320px]",
"objectFit": "contain"
}
}
},
{
"VtMenuItem": {
"VtFooterHero": {
"config": {
"logoClassName": "h-[100px] w-[255px]",
"logoSrc": "/VibentecIT-logo.svg",
"logoAlt": "Vibentec IT",
"title": "Der Wegbereiter für innovative IT-Lösungen",
"className": "flex flex-col gap-y-2 ml-10 w-[320px] text-[24px] font-semibold text-[#11314E]",
"itemClassName": "text-ui-fg-subtle txt-small",
"items": [
{
"text": "Tauchen Sie ein in eine Welt modernster Technologien, zuverlässiger Support und proaktiver Innovation gemeinsam gestalten wir die digitale Zukunft Ihres Unternehmens.",
"href": "/"
}
]
}
}
},
{
"Button": {
"config": {
"label": "Kontaktieren Sie uns",
"className": "bg-black text-white items-center flex gap-2 ml-10 px-4 mt-[24px] py-5 rounded-md w-fit text-[14px]",
"icon": "ChevronRightMini",
"iconClassName": "order-1"
"description": "Tauchen Sie ein in eine Welt modernster Technologien, zuverlässiger Support und proaktiver Innovation gemeinsam gestalten wir die digitale Zukunft Ihres Unternehmens.",
"cta": { "label": "Kontaktieren Sie uns", "href": "/" },
"className": "",
"ctaClassName": "ml-8",
"titleClassName": "ml-8",
"descriptionClassName": "ml-8 w-[320px]"
}
}
}
@@ -342,42 +323,13 @@
"Footer": {
"config": {
"className": "content-container h-[128px] w-full text text-[#11314E] flex items-center justify-between px-20 mt-2",
"leftClassName": "w-full",
"left": [
{
"Text": {
"VtFooterBottom": {
"config": {
"label": "©2025 Vibentec IT. All rights reserved",
"className": "text-[14px] font-[400] pt-2"
}
}
}
],
"center": [],
"right": [
{
"Button": {
"config": {
"href": "/",
"icon": "Mastercard",
"className": "shadow-none"
}
}
},
{
"Button": {
"config": {
"href": "/",
"icon": "PayPal",
"className": "shadow-none"
}
}
},
{
"Button": {
"config": {
"href": "/",
"icon": "Visa",
"className": "shadow-none"
"text": "©2025 Vibentec IT. All rights reserved",
"icons": ["Mastercard", "PayPal", "Visa"]
}
}
}