diff --git a/build.sh b/build.sh index 2415a7b..6076171 100755 --- a/build.sh +++ b/build.sh @@ -16,7 +16,7 @@ pnpm install pnpm run build # local mirror (optional) -rsync -rav --delete dist/ "${HOME}/hero/var/www/$PREFIX/" +# rsync -rav --delete dist/ "${HOME}/hero/var/www/$PREFIX/" # deploy to veda server rsync -avz --delete out/ "root@veda.info:/root/hero/www/info/$PREFIX/" diff --git a/next.config.js b/next.config.js index 78a9610..fb2edfa 100644 --- a/next.config.js +++ b/next.config.js @@ -4,10 +4,11 @@ const nextConfig = { trailingSlash: true, skipTrailingSlashRedirect: true, distDir: 'out', + basePath: process.env.NEXT_PUBLIC_BASE_PATH || '', images: { unoptimized: true }, - assetPrefix: process.env.NODE_ENV === 'production' ? '' : '', + assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH || '', // Development optimizations experimental: { turbo: { diff --git a/src/components/Boat.jsx b/src/components/Boat.jsx index f06c497..751f69f 100644 --- a/src/components/Boat.jsx +++ b/src/components/Boat.jsx @@ -156,41 +156,48 @@ export function Boat() { return (
- Discover peaceful platforms where every detail ensures a truly memorable stay. Our fleet of traditional dahabiyas combines authentic Nile heritage with modern comfort, offering intimate sailing experiences that connect you with Egypt's timeless river culture. -
++ Discover peaceful platforms where every detail ensures a truly memorable stay. Our fleet of traditional dahabiyas combines authentic Nile heritage with modern comfort, offering intimate sailing experiences that connect you with Egypt's timeless river culture. +
+