From 182def4a6d94d6148bed1f9b666fd416fde55020 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 29 May 2025 10:44:06 +0200 Subject: [PATCH] removing unused bundled files --- css/editor-style.css | 489 ------------------------------------------- js/app.js | 89 -------- 2 files changed, 578 deletions(-) delete mode 100644 css/editor-style.css delete mode 100644 js/app.js diff --git a/css/editor-style.css b/css/editor-style.css deleted file mode 100644 index bbe9a35..0000000 --- a/css/editor-style.css +++ /dev/null @@ -1,489 +0,0 @@ -.container { - width: 100%; - padding-right: 1rem; - padding-left: 1rem -} - -@media (min-width: 480px) { - .container { - max-width: 480px - } -} - -@media (min-width: 600px) { - .container { - max-width: 600px; - padding-right: 2rem; - padding-left: 2rem - } -} - -@media (min-width: 782px) { - .container { - max-width: 782px - } -} - -@media (min-width: 960px) { - .container { - max-width: 960px; - padding-right: 0rem; - padding-left: 0rem - } -} - -@media (min-width: 1280px) { - .container { - max-width: 1280px - } -} - -@media (min-width: 1440px) { - .container { - max-width: 1440px - } -} - -@media (min-width: 1840px) { - .container { - max-width: 1840px - } -} - -.relative { - position: relative -} - -.m-8 { - margin: 2rem -} - -.my-3 { - margin-top: 0.75rem; - margin-bottom: 0.75rem -} - -.my-8 { - margin-top: 2rem; - margin-bottom: 2rem -} - -.mx-auto { - margin-left: auto; - margin-right: auto -} - -.mb-8 { - margin-bottom: 2rem -} - -.mb-4 { - margin-bottom: 1rem -} - -.mb-1 { - margin-bottom: 0.25rem -} - -.mb-2 { - margin-bottom: 0.5rem -} - -.mt-8 { - margin-top: 2rem -} - -.mb-12 { - margin-bottom: 3rem -} - -.block { - display: block -} - -.flex { - display: flex -} - -.grid { - display: grid -} - -.h-1 { - height: 0.25rem -} - -.h-48 { - height: 12rem -} - -.min-h-screen { - min-height: 100vh -} - -.w-full { - width: 100% -} - -.w-16 { - width: 4rem -} - -.max-w-sm { - max-width: 24rem -} - -.max-w-screen-md { - max-width: 782px -} - -.flex-grow { - flex-grow: 1 -} - -.cursor-pointer { - cursor: pointer -} - -.grid-cols-1 { - grid-template-columns: repeat(1, minmax(0, 1fr)) -} - -.flex-col { - flex-direction: column -} - -.items-center { - align-items: center -} - -.justify-center { - justify-content: center -} - -.justify-between { - justify-content: space-between -} - -.gap-6 { - gap: 1.5rem -} - -.overflow-hidden { - overflow: hidden -} - -.rounded { - border-radius: 0.25rem -} - -.rounded-lg { - border-radius: 0.5rem -} - -.border { - border-width: 1px -} - -.border-b { - border-bottom-width: 1px -} - -.border-primary { - --tw-border-opacity: 1; - border-color: rgb(19 111 99 / var(--tw-border-opacity)) -} - -.border-red-400 { - --tw-border-opacity: 1; - border-color: rgb(248 113 113 / var(--tw-border-opacity)) -} - -.bg-primary { - --tw-bg-opacity: 1; - background-color: rgb(19 111 99 / var(--tw-bg-opacity)) -} - -.bg-gray-200 { - --tw-bg-opacity: 1; - background-color: rgb(229 231 235 / var(--tw-bg-opacity)) -} - -.bg-red-100 { - --tw-bg-opacity: 1; - background-color: rgb(254 226 226 / var(--tw-bg-opacity)) -} - -.bg-white { - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)) -} - -.object-cover { - -o-object-fit: cover; - object-fit: cover -} - -.p-4 { - padding: 1rem -} - -.px-4 { - padding-left: 1rem; - padding-right: 1rem -} - -.py-2 { - padding-top: 0.5rem; - padding-bottom: 0.5rem -} - -.px-3 { - padding-left: 0.75rem; - padding-right: 0.75rem -} - -.py-8 { - padding-top: 2rem; - padding-bottom: 2rem -} - -.py-3 { - padding-top: 0.75rem; - padding-bottom: 0.75rem -} - -.text-5xl { - font-size: 3rem; - line-height: 1 -} - -.text-2xl { - font-size: 1.5rem; - line-height: 2rem -} - -.text-lg { - font-size: 1.125rem; - line-height: 1.75rem -} - -.text-sm { - font-size: 0.875rem; - line-height: 1.25rem -} - -.text-3xl { - font-size: 1.875rem; - line-height: 2.25rem -} - -.text-xl { - font-size: 1.25rem -} - -.font-light { - font-weight: 300 -} - -.font-bold { - font-weight: 700 -} - -.font-extrabold { - font-weight: 800 -} - -.font-semibold { - font-weight: 600 -} - -.uppercase { - text-transform: uppercase -} - -.leading-tight { - line-height: 1.25 -} - -.text-gray-800 { - --tw-text-opacity: 1; - color: rgb(31 41 55 / var(--tw-text-opacity)) -} - -.text-white { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)) -} - -.text-gray-600 { - --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity)) -} - -.text-gray-700 { - --tw-text-opacity: 1; - color: rgb(55 65 81 / var(--tw-text-opacity)) -} - -.text-red-700 { - --tw-text-opacity: 1; - color: rgb(185 28 28 / var(--tw-text-opacity)) -} - -.antialiased { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale -} - -.shadow-md { - --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) -} - -.ease-in-out { - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) -} - -.alignfull { - margin: 2rem calc(50% - 50vw) !important; - max-width: 100vw !important; - width: 100vw -} - -.alignwide { - margin: 2rem 0; - max-width: 1280px !important -} - -.alignnone { - margin-left: 0px; - margin-right: 0px; - height: auto; - max-width: 100% -} - -.aligncenter { - margin: 0.5rem auto; - display: block -} - -@media (min-width: 600px) { - .alignleft:not(.wp-block-button) { - margin-right: 0.5rem; - float: left - } - - .alignright:not(.wp-block-button) { - margin-left: 0.5rem; - float: right - } - - .wp-block-button.alignleft a { - float: left; - margin-right: 1rem - } - - .wp-block-button.alignright a { - float: right; - margin-left: 1rem - } -} - -.wp-caption { - display: inline-block -} - -.wp-caption img { - margin-bottom: 0.5rem; - line-height: 1 -} - -.wp-caption-text { - font-size: 0.875rem; - color: #4b5563 -} - -body { - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" -} - -.wp-block { - max-width: 1280px -} - -.wp-block[data-align="wide"] { - max-width: 1280px -} - -.wp-block[data-align="full"] { - max-width: 100% -} - -.wp-block.alignfull { - max-width: 100% -} - -.acf-block-component { - /* @apply bg-red-500; */ -} - -.acf-block-fields { - margin-left: auto; - margin-right: auto; - max-width: 782px -} - -@media (min-width: 600px) { - .sm\:inline { - display: inline - } -} - -@media (min-width: 782px) { - .md\:my-6 { - margin-top: 1.5rem; - margin-bottom: 1.5rem - } - - .md\:flex { - display: flex - } - - .md\:w-1\/2 { - width: 50% - } - - .md\:grid-cols-2 { - grid-template-columns: repeat(2, minmax(0, 1fr)) - } - - .md\:text-3xl { - font-size: 1.875rem; - line-height: 2.25rem - } -} - -@media (min-width: 960px) { - .lg\:flex { - display: flex - } - - .lg\:grid-cols-3 { - grid-template-columns: repeat(3, minmax(0, 1fr)) - } - - .lg\:items-center { - align-items: center - } - - .lg\:justify-between { - justify-content: space-between - } - - .lg\:text-5xl { - font-size: 3rem; - line-height: 1 - } -} diff --git a/js/app.js b/js/app.js deleted file mode 100644 index b327c99..0000000 --- a/js/app.js +++ /dev/null @@ -1,89 +0,0 @@ -(() => { - // resources/js/header.js - function menuInit() { - let main_navigation = document.querySelector("#primary-menu"); - const header = document.querySelector("#primary-header"); - const primary_menu = header.querySelector("#primary-menu"); - const burgerMenuToggle = header.querySelector("#burger-menu-toggle"); - const submenuToggles = primary_menu.querySelectorAll(".menu-item-submenu-toggle"); - burgerMenuToggle.addEventListener("click", function(e) { - e.preventDefault(); - header.classList.toggle("nav-open"); - burgerMenuToggle.toggleAttribute("aria-expanded"); - gsap.from(primary_menu, { - opacity: 20, - y: "-100vh", - duration: 0.5, - ease: Power4.easeOut - }); - }); - document.addEventListener("focusin", (e) => { - const header2 = document.querySelector("#primary-header"); - if (header2.classList.contains("nav-open") && !header2.contains(document.activeElement)) { - header2.classList.remove("nav-open"); - burgerMenuToggle.setAttribute("aria-expanded", false); - burgerMenuToggle.focus(); - } - }, true); - submenuToggles.forEach((button) => { - button.addEventListener("click", function(e) { - let isExpanded = button.getAttribute("aria-expanded") === "true"; - button.setAttribute("aria-expanded", !isExpanded); - button.parentElement.querySelector(".sub-menu").classList.toggle("sub-menu-open"); - }); - }); - } - - // resources/js/app.js - window.addEventListener("load", function() { - menuInit(); - gsap.to(".shape.square", { - scrollTrigger: { - trigger: ".branding", - start: "top bottom", - end: "bottom top", - markers: true, - scrub: 0.2 - }, - y: "300%", - duration: 2, - ease: "none" - }); - gsap.to(".shape.circle", { - scrollTrigger: { - trigger: ".branding", - start: "top bottom", - end: "bottom top", - markers: true, - scrub: 0.4 - }, - y: "175%", - duration: 2, - ease: "none" - }); - gsap.to(".shape.rectangle-rotated", { - scrollTrigger: { - trigger: ".branding", - start: "top bottom", - end: "bottom top", - markers: true, - scrub: 0.6 - }, - y: "340%", - duration: 2, - ease: "none" - }); - gsap.to(".shape.rectangle-vertical", { - scrollTrigger: { - trigger: ".branding", - start: "top bottom", - end: "bottom top", - markers: true, - scrub: 0.3 - }, - y: "150%", - duration: 2, - ease: "none" - }); - }); -})();