diff --git a/.env b/.env index 8bdb0ab..5340f29 100644 --- a/.env +++ b/.env @@ -13,3 +13,5 @@ NEXT_PUBLIC_CONTACT_PHONE="+374 431 085 88" NEXT_PUBLIC_LOCATION_GOOGLE_MAPS_LINK="https://shorturl.at/gsuK5" NEXT_PUBLIC_LOCATION_ADDRESS_TEXT=" 41, 4 Abovyan St, Yerevan 0009" + +BASE_PATH="/salsaviva" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2a4a9d2..a1c6e9c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: push: branches: - master + workflow_dispatch: permissions: contents: write diff --git a/app/styles.css b/app/styles.css index 2d5f44e..d0703a4 100644 --- a/app/styles.css +++ b/app/styles.css @@ -16,16 +16,24 @@ body { display: block; content: ""; background-color: theme(colors.white); - height: 1px; + height: 1.5px; width: 0; left: 0; position: absolute; transition: width 0.4s; transition-timing-function: cubic-bezier(0.91, 0.43, 0.84, 0.89); + + @media (prefers-reduced-motion) { + transition: none; + } } .animated-link:hover:after { width: 100%; + + @media (prefers-reduced-motion) { + width: 0; + } } .animated-link:focus { @@ -34,6 +42,10 @@ body { .animated-link:focus:after { width: 100%; + + @media (prefers-reduced-motion) { + width: 0; + } } .focus-ring { diff --git a/next.config.mjs b/next.config.mjs index d017dd4..dbf4720 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -8,6 +8,7 @@ const nextConfig = { images: { unoptimized: true, }, + basePath: process.env.BASE_PATH, }; const withAnalyzer = withBundleAnalyzer({