diff --git a/Dockerfile b/Dockerfile index 0812b70..53fb1ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,17 @@ WORKDIR /app # Install git. RUN apk add --no-cache git +# Set build arguments for token and username +ARG GIT_ACCESS_TOKEN +ARG GIT_USERNAME + +# Set environment variables (optional, for use in RUN) +ENV GIT_ACCESS_TOKEN=${GIT_ACCESS_TOKEN} +ENV GIT_USERNAME=${GIT_USERNAME} + # Clone the repository. # IMPORTANT: Replace with your actual repository URL. -RUN git clone https://git.haider.app/your-repo.git . +RUN git clone https://${GIT_USERNAME}:${GIT_ACCESS_TOKEN}@git.haider.app/tizian/quarry-party-landing-page-react.git . # Install dependencies. RUN npm install diff --git a/ai_docs/images/150FF_SG.svg b/ai_docs/images/150FF_SG.svg new file mode 100644 index 0000000..9efe42c --- /dev/null +++ b/ai_docs/images/150FF_SG.svg @@ -0,0 +1,65 @@ + + \ No newline at end of file diff --git a/ai_docs/images/150FF_SW.svg b/ai_docs/images/150FF_SW.svg new file mode 100644 index 0000000..88de8a3 --- /dev/null +++ b/ai_docs/images/150FF_SW.svg @@ -0,0 +1,63 @@ + + \ No newline at end of file diff --git a/ai_docs/images/failure_cut_off_cookie_message.png b/ai_docs/images/failure_cut_off_cookie_message.png new file mode 100644 index 0000000..88405fe Binary files /dev/null and b/ai_docs/images/failure_cut_off_cookie_message.png differ diff --git a/docker-compose.yml b/docker-compose.yml index 0f46ec6..a61786a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,11 @@ version: '3.8' services: web: - build: . + build: + context: . + args: + GIT_ACCESS_TOKEN: ${GIT_ACCESS_TOKEN} + GIT_USERNAME: ${GIT_USERNAME} ports: - "8150:8150" restart: unless-stopped diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5ec7991..d39ee29 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -25,7 +25,7 @@ export default function RootLayout({ return (
{children} diff --git a/src/components/CookieBanner.tsx b/src/components/CookieBanner.tsx index d123496..3e5da04 100644 --- a/src/components/CookieBanner.tsx +++ b/src/components/CookieBanner.tsx @@ -22,9 +22,9 @@ export default function CookieBanner() { } return ( -Wir verwenden Cookies, um Ihre Erfahrung zu verbessern.
- +Wir verwenden Cookies, um Ihre Erfahrung zu verbessern.
+