diff --git a/deploy.yml b/deploy.yml new file mode 100644 index 0000000..ca5497a --- /dev/null +++ b/deploy.yml @@ -0,0 +1,4 @@ +name: profen +type: node +start: npm run build && npx --yes -- serve -s dist -l $PORT +dev: ./node_modules/.bin/vite --port $PORT --host diff --git a/src/components/WhatsAppButton.jsx b/src/components/WhatsAppButton.jsx index 489666b..a93b3d0 100644 --- a/src/components/WhatsAppButton.jsx +++ b/src/components/WhatsAppButton.jsx @@ -1,18 +1,20 @@ -import { WHATSAPP_PHONE } from '../config' -const WHATSAPP_URL = `https://wa.me/${WHATSAPP_PHONE}` +import { WHATSAPP_PHONE } from '../config'; + +const WHATSAPP_URL = `https://wa.me/${WHATSAPP_PHONE}`; export default function WhatsAppButton() { return ( <> - - - + + + - ) + ); } diff --git a/src/css/dynamic.css b/src/css/dynamic.css index e55d2fa..7c6903d 100644 --- a/src/css/dynamic.css +++ b/src/css/dynamic.css @@ -168,3 +168,31 @@ /* === Service detail sidebar === */ .service-sidebar { padding: 12px !important; } } + +/* ── Hero 5: restore floating arrows (remove white panel) ── */ +.hero-5 .icon-box { + background: none; + border-radius: 0; + padding: 0; + display: block; + align-items: unset; + gap: 0; + bottom: 32px; + right: 32px; +} +.hero-5 .icon-box .slider-arrow { + background-color: rgba(255,255,255,0.2); + border: none; + color: #fff; +} +.hero-5 .icon-box .slider-arrow:hover { + background-color: var(--brand-primary, #FA2D39); + border-color: transparent; + color: #fff; +} +@media (max-width: 575px) { + .hero-5 .icon-box { + bottom: 16px; + right: 16px; + } +} diff --git a/src/css/hero-fix.css b/src/css/hero-fix.css new file mode 100644 index 0000000..0402818 --- /dev/null +++ b/src/css/hero-fix.css @@ -0,0 +1 @@ +/* hero-fix cleared — removed per user request */ diff --git a/src/css/theme-main.css b/src/css/theme-main.css index c8562b1..41b253b 100644 --- a/src/css/theme-main.css +++ b/src/css/theme-main.css @@ -14917,6 +14917,7 @@ span.select2-selection.select2-selection--single:focus { position: relative; z-index: 4; background-color: var(--body-bg); + margin-right : 200px; margin-top: -72px; padding-top: 24px; padding-right: 30px; @@ -17893,4 +17894,4 @@ span.select2-selection.select2-selection--single:focus { .space-extra2-bottom { padding-bottom: 70px; } -} \ No newline at end of file +} diff --git a/vite.config.js b/vite.config.js index 8b0f57b..ae46882 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,4 +4,10 @@ import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], + server: { + allowedHosts: true, + }, + preview: { + allowedHosts: true, + }, })