mirror of
https://github.com/mudabbir-ahmad/Portfolio_V1.git
synced 2026-12-06 19:53:09 +00:00
Redesign portfolio, add real project screenshots and refresh content
- New design language: self-hosted fonts, numbered sections, hero card, nav pill with scroll-spy - Two-pane project pop-up with WebP screenshots; gold ring on the final-year project - Content moved to src/data JSON and updated from the new CV - Staggered card entrances and stat count-up; simpler dot cursor - Capture script converts manual screenshots to WebP Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2e67bc1418
commit
89d4de8df0
85 files changed
+4111
-1150
No files matched your search
@@ -0,0 +1,38 @@
|
||||
# Container deployment: docker compose up -d --build (or: npm run docker)
|
||||
#
|
||||
# Inside the container the site reads ONLY the values below. secrets/ is never
|
||||
# copied into the image (.dockerignore), so nothing personal lives in it.
|
||||
# Running without Docker (npm run dev / npm start) reads secrets/.env instead.
|
||||
#
|
||||
# Edit the placeholders here, or keep this file generic and put your real
|
||||
# values in a gitignored docker-compose.override.yml (compose merges it in
|
||||
# automatically) or in a root .env file (compose substitutes ${VARS} from it).
|
||||
services:
|
||||
portfolio:
|
||||
build: .
|
||||
image: portfolio
|
||||
container_name: portfolio
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# Localhost only; put a TLS reverse proxy in front for public access.
|
||||
- "${BIND:-127.0.0.1}:${HOST_PORT:-3001}:3001"
|
||||
environment:
|
||||
VITE_NAME: "${VITE_NAME:-Your Name}"
|
||||
VITE_EMAIL: "${VITE_EMAIL:-}" # empty hides the email button
|
||||
VITE_GITHUB_USER: "${VITE_GITHUB_USER:-your-github-username}"
|
||||
VITE_LINKEDIN: "${VITE_LINKEDIN:-}" # empty hides the LinkedIn button
|
||||
VITE_UNIVERSITY: "${VITE_UNIVERSITY:-Your University}"
|
||||
VITE_CV_URL: "${VITE_CV_URL:-}" # e.g. /CV/your-cv.pdf; empty hides CV buttons
|
||||
GITHUB_TOKEN: "${GITHUB_TOKEN:-}" # read-only PAT; empty disables the contribution graph
|
||||
ALLOWED_ORIGIN: "${ALLOWED_ORIGIN:-http://localhost:3001}"
|
||||
FORCE_HTTPS: "${FORCE_HTTPS:-false}"
|
||||
# Only if you set VITE_CV_URL: the CV is never baked into the image.
|
||||
# volumes:
|
||||
# - ./public/CV:/app/dist/CV:ro
|
||||
read_only: true
|
||||
tmpfs: [/tmp]
|
||||
cap_drop: [ALL]
|
||||
security_opt: ["no-new-privileges:true"]
|
||||
pids_limit: 100
|
||||
mem_limit: 256m
|
||||
cpus: 0.5
|
||||
Reference in new issue
Block a user