refactor: enforce global Button component usage across all files (Header, Forms, Grids, MDX)

Former-commit-id: aa55620667a28e5c00ab2603da6ea6dc1e1c5ecf
This commit is contained in:
2026-05-07 11:40:47 +02:00
parent 055f6009d4
commit b393bba073
341 changed files with 885 additions and 877 deletions

View File

@@ -1,4 +0,0 @@
;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="57fc6e9b-4019-f360-387a-758afd1c0d49")}catch(e){}}();
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,7284,r=>{"use strict";function e(){for(var r,e,t=0,o="",n=arguments.length;t<n;t++)(r=arguments[t])&&(e=function r(e){var t,o,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(o=r(e[t]))&&(n&&(n+=" "),n+=o)}else for(o in e)e[o]&&(n&&(n+=" "),n+=o);return n}(r))&&(o&&(o+=" "),o+=e);return o}r.s(["clsx",()=>e])}]);
//# debugId=57fc6e9b-4019-f360-387a-758afd1c0d49

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="b6f49d6e-43ce-fd92-68d0-22ec2e6c4a30")}catch(e){}}();
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,445774,370476,575003,982016,105050,801206,587778,9797,e=>{"use strict";var t=e.i(111023);e.i(676525);var n=e.i(452797);function r({className:e,children:r,...l}){return(0,n.jsx)("section",{className:(0,t.cn)("py-16 md:py-28 lg:py-36 overflow-hidden content-visibility-auto",e),...l,children:r})}function l({className:e,children:r,...l}){return(0,n.jsx)("div",{className:(0,t.cn)("container mx-auto px-4 md:px-12 lg:px-16 max-w-7xl",e),...l,children:r})}function a({level:e=2,children:r,className:l,subtitle:a,align:i="left"}){let s=`h${e}`;return(0,n.jsxs)("div",{className:(0,t.cn)("mb-6 md:mb-12 text-primary",{left:"text-left",center:"text-center mx-auto",right:"text-right"}[i],l),children:[a&&(0,n.jsx)("span",{className:"inline-block text-accent font-bold tracking-widest uppercase text-xs md:text-sm mb-3 md:mb-4 animate-fade-in",children:a}),(0,n.jsx)(s,{className:(0,t.cn)({1:"text-2xl md:text-4xl lg:text-5xl font-bold leading-[1.1] tracking-tight",2:"text-xl md:text-3xl lg:text-4xl font-bold leading-[1.2] tracking-tight",3:"text-lg md:text-2xl lg:text-3xl font-bold leading-[1.3] tracking-tight",4:"text-lg md:text-xl lg:text-2xl font-bold leading-[1.4]",5:"text-base md:text-lg font-bold leading-[1.5]",6:"text-base md:text-lg font-semibold leading-[1.6]"}[e]),children:r})]})}function i({className:e,children:r,tag:l="div",...a}){return(0,n.jsx)(l,{className:(0,t.cn)("premium-card overflow-hidden",e),...a,children:r})}function s({className:e,...r}){return(0,n.jsx)("input",{className:(0,t.cn)("w-full px-4 md:px-6 py-2.5 md:py-4 bg-neutral-light/50 border border-neutral-dark/10 rounded-xl md:rounded-2xl focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent focus:bg-white transition-all duration-300 placeholder:text-neutral-dark/40 text-sm md:text-lg",e),...r})}function o({className:e,...r}){return(0,n.jsx)("textarea",{className:(0,t.cn)("w-full px-4 md:px-6 py-2.5 md:py-4 bg-neutral-light/50 border border-neutral-dark/10 rounded-xl md:rounded-2xl focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent focus:bg-white transition-all duration-300 placeholder:text-neutral-dark/40 text-sm md:text-lg resize-none",e),...r})}function c({className:e,...r}){return(0,n.jsx)("label",{className:(0,t.cn)("text-[10px] md:text-xs font-extrabold text-primary uppercase tracking-widest",e),...r})}e.s(["Section",()=>r],370476),e.s(["Container",()=>l],575003),e.s(["Heading",()=>a],982016),e.s(["Card",()=>i],105050),e.s(["Input",()=>s],801206),e.s(["Textarea",()=>o],587778),e.s(["Label",()=>c],9797),e.s([],445774)},759095,e=>{"use strict";var t=e.i(452797),n=e.i(907358);e.i(445774);var r=e.i(111023);function l({children:e,className:l,threshold:a=.1,delay:i=0}){let[s,o]=(0,n.useState)(!1),c=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=new IntersectionObserver(([t])=>{t.isIntersecting&&(o(!0),e.unobserve(t.target))},{threshold:a}),t=c.current;return t&&e.observe(t),()=>{t&&e.unobserve(t)}},[a]),(0,t.jsx)("div",{ref:c,className:(0,r.cn)("reveal-on-scroll",s&&"is-visible",l),style:{transitionDelay:`${i}ms`},children:e})}e.s(["default",()=>l])},783488,e=>{"use strict";var t=e.i(907358),n=e.i(976819);function r({currentPage:e,totalPages:r,locale:l}){let a=(0,n.useRouter)();return(0,t.useEffect)(()=>{let t=t=>{document.activeElement?.tagName!=="INPUT"&&document.activeElement?.tagName!=="TEXTAREA"&&document.activeElement?.tagName!=="SELECT"&&("ArrowLeft"===t.key&&e>1?a.push(`/${l}/blog?page=${e-1}`):"ArrowRight"===t.key&&e<r&&a.push(`/${l}/blog?page=${e+1}`))};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e,r,l,a]),null}e.s(["BlogPaginationKeyboardObserver",()=>r])}]);
//# debugId=b6f49d6e-43ce-fd92-68d0-22ec2e6c4a30

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long