diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 4275580..0000000 --- a/.dockerignore +++ /dev/null @@ -1,8 +0,0 @@ -node_modules -.env -.git -.gitignore -README.md -Dockerfile -.dockerignore -docker-compose.yml diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index a7b0188..0000000 --- a/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM node:20-alpine AS builder -WORKDIR /app -COPY package.json ./ -RUN npm install -COPY . . -RUN DATABASE_URL="postgres://user:pass@localhost:5432/db" npm run build -# DATABASE_URL is only needed at build time for Prisma to generate the client. It is not needed at runtime and will be replaced by the hosted neon database. -FROM node:20-alpine AS runner -WORKDIR /app -COPY --from=builder /app ./ - -ENV NODE_ENV=production -EXPOSE 3000 - -# Start the application -CMD ["node", "build"] diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 8433ee6..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,7 +0,0 @@ -services: - app: - build: . - ports: - - 3000:3000 - env_file: - - .env diff --git a/src/app.css b/src/app.css index 01aec11..09fdd3a 100644 --- a/src/app.css +++ b/src/app.css @@ -22,6 +22,8 @@ body { line-height: 1.5; background-color: #f8f8f8; color: #333; + max-width: 1200px; + margin: 0 auto; } h1 { diff --git a/src/lib/assets/favicon.svg b/src/lib/assets/favicon.svg index cc5dc66..0bac784 100644 --- a/src/lib/assets/favicon.svg +++ b/src/lib/assets/favicon.svg @@ -1 +1,4 @@ -svelte-logo \ No newline at end of file + + + + diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte index 2a8ab43..4fca86a 100644 --- a/src/lib/components/Header.svelte +++ b/src/lib/components/Header.svelte @@ -21,21 +21,29 @@

Serengo

- +
+ + +
- - diff --git a/src/lib/components/ProfilePanel.svelte b/src/lib/components/ProfilePanel.svelte index dad1470..57968c5 100644 --- a/src/lib/components/ProfilePanel.svelte +++ b/src/lib/components/ProfilePanel.svelte @@ -10,13 +10,6 @@ let { username, id, isOpen, onClose }: Props = $props(); - // Close panel when clicking outside - function handleBackdropClick(event: MouseEvent) { - if (event.target === event.currentTarget) { - onClose(); - } - } - // Close panel on escape key function handleKeydown(event: KeyboardEvent) { if (event.key === 'Escape') { @@ -28,7 +21,7 @@ {#if isOpen} -