Commit Graph

59 Commits

Author SHA1 Message Date
Dennis Konkol
ded873e6b4 🎨 Complete Portfolio Redesign: Modern Dark Theme + Admin Dashboard + Enhanced Markdown Editor
 New Features:
- Complete dark theme redesign with glassmorphism effects
- Responsive admin dashboard with collapsible projects list
- Enhanced markdown editor with live preview
- Project image upload functionality
- Improved project management (create, edit, delete, publish/unpublish)
- Slug-based project URLs
- Legal pages (Impressum, Privacy Policy)
- Modern animations with Framer Motion

🔧 Improvements:
- Fixed hydration errors with mounted state
- Enhanced UI/UX with better spacing and proportions
- Improved markdown rendering with custom components
- Better project image placeholders with initials
- Conditional rendering for GitHub/Live Demo links
- Enhanced toolbar with categorized quick actions
- Responsive grid layout for admin dashboard

📱 Technical:
- Next.js 15 + TypeScript + Tailwind CSS
- Local storage for project persistence
- Optimized performance and responsive design
2025-09-01 23:30:10 +00:00
Denshooter
69f254c791 refactor: update environment variables and dependencies 2025-02-23 14:42:06 +01:00
Denshooter
23a145b37e refactor: update environment variable usage and add caching 2025-02-23 14:20:23 +01:00
denshooter
0f573173c9 Merge branch 'production' into dev 2025-02-22 23:59:44 +01:00
Denshooter
5affec766f fix: remove unnecessary test assertions and improve act usage 2025-02-22 23:58:34 +01:00
denshooter
7cd50b4dca Dev (#45)
* 🚀 refactor: simplify deployment process in workflow file

* 🚀 chore: add IMAGE_NAME to GITHUB_ENV for deployment workflow

*  chore: simplify deployment logging in workflow file

* 🚀 fix: correct container name in deployment script logic

* 🚀 refactor: rename job and streamline deployment steps

* Update README.md

*  fix: prevent multiple form submissions in Contact component

*  feat: honeypot and timestamp checks to form submission

*  refactor: simplify contact form and improve UI elements

*  feat: add responsive masonry layout for projects display

*  style: Update project title size and improve layout visibility
2025-02-22 23:33:47 +01:00
Denshooter
725bbe5d50 style: Update project title size and improve layout visibility 2025-02-22 23:32:52 +01:00
Denshooter
a36cec04c7 feat: add responsive masonry layout for projects display 2025-02-22 23:16:36 +01:00
denshooter
9088a7cd32 Dev (#44)
* 🚀 refactor: simplify deployment process in workflow file

* 🚀 chore: add IMAGE_NAME to GITHUB_ENV for deployment workflow

*  chore: simplify deployment logging in workflow file

* 🚀 fix: correct container name in deployment script logic

* 🚀 refactor: rename job and streamline deployment steps

* Update README.md

*  fix: prevent multiple form submissions in Contact component

*  feat: honeypot and timestamp checks to form submission

*  refactor: simplify contact form and improve UI elements
2025-02-22 22:29:23 +01:00
Denshooter
82d5ab5fcf refactor: simplify contact form and improve UI elements 2025-02-22 21:53:57 +01:00
Denshooter
a1c4adc4b1 feat: honeypot and timestamp checks to form submission 2025-02-22 21:34:45 +01:00
Denshooter
a00e8241d2 fix: prevent multiple form submissions in Contact component 2025-02-22 17:15:05 +01:00
denshooter
0cbec0bb19 Dev (#38)
*  chore: update CI workflow to include testing and multi-arch build (#29)

*  chore: remove unused dependencies from package-lock.json and updated to a better local dev environment (#30)

*  test: add unit tests

*  test: add unit tests for whole project

*  feat: add whatwg-fetch for improved fetch support

*  chore: update Node.js version to 22 in workflow

*  refactor: update types and improve email handling tests

*  refactor: remove unused imports

*  fix: normalize image name to lowercase in workflows

*  fix: ensure Docker image names are consistently lowercase

*  chore: update

*  chore: update base URL to use secret variable

*  chore: update to login to ghcr

*  fix: add missing 'fi' to close if statement in workflow

* D branch 1 (#32)

* full upgrade (#31)

*  chore: update CI workflow to include testing and multi-arch build (#29)

*  chore: remove unused dependencies from package-lock.json and updated to a better local dev environment (#30)

*  test: add unit tests

*  test: add unit tests for whole project

*  feat: add whatwg-fetch for improved fetch support

*  chore: update Node.js version to 22 in workflow

*  refactor: update types and improve email handling tests

*  refactor: remove unused imports

*  fix: normalize image name to lowercase in workflows

*  fix: ensure Docker image names are consistently lowercase

*  chore: update

*  chore: update base URL to use secret variable

*  chore: update to login to ghcr

*  fix: add missing 'fi' to close if statement in workflow

* 🚀 fix: update Docker run commands to use specific network

* D branch 1 (#34)

* full upgrade (#31)

*  chore: update CI workflow to include testing and multi-arch build (#29)

*  chore: remove unused dependencies from package-lock.json and updated to a better local dev environment (#30)

*  test: add unit tests

*  test: add unit tests for whole project

*  feat: add whatwg-fetch for improved fetch support

*  chore: update Node.js version to 22 in workflow

*  refactor: update types and improve email handling tests

*  refactor: remove unused imports

*  fix: normalize image name to lowercase in workflows

*  fix: ensure Docker image names are consistently lowercase

*  chore: update

*  chore: update base URL to use secret variable

*  chore: update to login to ghcr

*  fix: add missing 'fi' to close if statement in workflow

* 🚀 fix: update Docker run commands to use specific network

*  fix: add error handling for invalid project data

* D branch 2 (#35)

* full upgrade (#31)

*  chore: update CI workflow to include testing and multi-arch build (#29)

*  chore: remove unused dependencies from package-lock.json and updated to a better local dev environment (#30)

*  test: add unit tests

*  test: add unit tests for whole project

*  feat: add whatwg-fetch for improved fetch support

*  chore: update Node.js version to 22 in workflow

*  refactor: update types and improve email handling tests

*  refactor: remove unused imports

*  fix: normalize image name to lowercase in workflows

*  fix: ensure Docker image names are consistently lowercase

*  chore: update

*  chore: update base URL to use secret variable

*  chore: update to login to ghcr

*  fix: add missing 'fi' to close if statement in workflow

*  fix: format code for better readability in Contact and Footer components

* D branch 2 (#36)

* full upgrade (#31)

*  chore: update CI workflow to include testing and multi-arch build (#29)

*  chore: remove unused dependencies from package-lock.json and updated to a better local dev environment (#30)

*  test: add unit tests

*  test: add unit tests for whole project

*  feat: add whatwg-fetch for improved fetch support

*  chore: update Node.js version to 22 in workflow

*  refactor: update types and improve email handling tests

*  refactor: remove unused imports

*  fix: normalize image name to lowercase in workflows

*  fix: ensure Docker image names are consistently lowercase

*  chore: update

*  chore: update base URL to use secret variable

*  chore: update to login to ghcr

*  fix: add missing 'fi' to close if statement in workflow

*  fix: format code for better readability in Contact and Footer components

* 🚀 fix: update Docker commands and remove hardcoded API URL

* Update main.yml

* Update main.yml

* Update main.yml

* D branch 1 (#37)

* full upgrade (#31)

*  chore: update CI workflow to include testing and multi-arch build (#29)

*  chore: remove unused dependencies from package-lock.json and updated to a better local dev environment (#30)

*  test: add unit tests

*  test: add unit tests for whole project

*  feat: add whatwg-fetch for improved fetch support

*  chore: update Node.js version to 22 in workflow

*  refactor: update types and improve email handling tests

*  refactor: remove unused imports

*  fix: normalize image name to lowercase in workflows

*  fix: ensure Docker image names are consistently lowercase

*  chore: update

*  chore: update base URL to use secret variable

*  chore: update to login to ghcr

*  fix: add missing 'fi' to close if statement in workflow

*  feat: display base URL in Hero component

* Update main.yml

* Update next.config.ts

* next.config.ts aktualisieren

* Update main.yml

*  chore: refactor environment variable handling in workflow

*  chore: update GitHub Actions workflow for improved security and caching

* 🚀 chore: update Trivy action version and enhance config

*  chore: update GitHub Actions workflows and add linter

* 🚫 chore: remove Docker image vulnerability scan step

*  chore: update environment variable logging in workflow

*  chore: add dynamic environment for deployment jobs

* 🚀 chore: set deployment environment to GitHub ref name

* 🎉 chore: remove environment variable exposure in CI/CD

*  chore: remove sensitive environment variable logging and update variable references

*  chore: log environment variables for debugging purposes

*  chore: create .env file for environment variables setup

*  feat: copy .env file to Docker image for config

*  refactor: update environment variables to public scope

*  chore: remove environment variable from Hero component

*  fix: update environment variable references in workflow

*  chore: add folder structure display to workflow steps

*  chore: reorder CI steps for improved workflow clarity

*  fix: remove unnecessary console logs and correct base URL variable
2025-02-17 09:58:58 +01:00
Denshooter
180b9aa9f8 full upgrade (#31)
*  chore: update CI workflow to include testing and multi-arch build (#29)

*  chore: remove unused dependencies from package-lock.json and updated to a better local dev environment (#30)

*  test: add unit tests

*  test: add unit tests for whole project

*  feat: add whatwg-fetch for improved fetch support

*  chore: update Node.js version to 22 in workflow

*  refactor: update types and improve email handling tests

*  refactor: remove unused imports

*  fix: normalize image name to lowercase in workflows

*  fix: ensure Docker image names are consistently lowercase

*  chore: update

*  chore: update base URL to use secret variable

*  chore: update to login to ghcr

*  fix: add missing 'fi' to close if statement in workflow
2025-02-16 16:36:21 +01:00
Denshooter
b4616234cf refactor(package.json, next.config.ts, Hero.tsx): add bundle analyzer support and improve code formatting 2025-02-13 19:04:32 +01:00
Denshooter
704924208f refactor(header): improve accessibility by updating aria-labels for menu buttons 2025-02-13 18:25:35 +01:00
Denshooter
d517abab9f refactor(footer, header, robots): enhance accessibility, improve formatting, and update sitemap directives 2025-02-13 18:18:00 +01:00
Denshooter
3cdd1c4bec refactor(sitemap): enforce dynamic rendering for sitemap routes 2025-02-13 17:50:26 +01:00
Denshooter
864580c0ab refactor(email): improve code formatting and error handling in email route 2025-02-13 17:46:39 +01:00
Denshooter
e610b9b462 refactor(email): improve code formatting and error handling in email route 2025-02-13 17:42:25 +01:00
Denshooter
efe2afb0b2 fix(sitemap): update base URL to production for sitemap generation 2025-02-13 17:33:57 +01:00
Denshooter
468451fdc2 refactor(sitemap): streamline sitemap generation by consolidating static and dynamic routes, improve error handling, and update XML response format 2025-02-13 17:31:31 +01:00
Denshooter
718b884b41 refactor(sitemap): remove static routes from sitemap generation and handle errors more gracefully 2025-02-13 16:30:47 +01:00
Denshooter
a8f10c8e37 refactor(sitemap): improve sitemap generation and error handling; rename sitemap file 2025-02-13 16:10:14 +01:00
Denshooter
12d7709437 feat(sitemap): implement server-side rendering for dynamic sitemap and improve XML generation 2025-02-13 15:42:03 +01:00
Denshooter
6695b5c361 refactor(page): standardize formatting and improve error handling in ProjectDetails component 2025-02-13 15:18:46 +01:00
Denshooter
b2e739a667 d-branch-1 (#20)
*  feat: update Docker setup and enhance error handling

*  fix: update GHOST_API_URL to use hostname instead of IP
2025-02-13 14:33:44 +01:00
Denshooter
0ca6b610a4 feat: update Docker setup and enhance error handling (#19) 2025-02-13 14:23:40 +01:00
Denshooter
2c4842cf1f d-branch-2 (#18)
*  refactor: streamline sitemap generation and contact form logic

*  refactor: update sendEmail function to handle JSON data
2025-02-13 12:42:06 +01:00
Denshooter
e6082085b9 fix(sitemap): improve error logging for sitemap generation
Updates error logging in the sitemap generation process to provide 
more consistent and clear error messages. Changes the error message 
from "Error generating sitemap" to "Failed to generate sitemap" 
for better clarity and uniformity in error handling.
2025-02-12 18:35:24 +01:00
Denshooter
588dfb912b feat(sitemap): enhance sitemap generation and error handling
Add optional `updated_at` field to the Project interface for 
tracking last modification. Update base URL to use an 
environment variable for better configurability. Improve 
error handling during sitemap data fetching by logging 
errors and returning static routes as a fallback. 
Refactor change frequency and priority logic for clarity 
and maintainability.
2025-02-12 18:31:13 +01:00
Denshooter
44589b5bbd feat(sitemap): update base URL and add build environment handling
Change the base URL from localhost to the production URL. 
Implement a check for the build environment to use mock data 
for generating the sitemap during the build process. 
This ensures that sitemap is correctly populated 
with project routes even when the API is not available.
2025-02-12 17:58:59 +01:00
Denshooter
b87b1d6237 refactor: use environment variable for GHOST_API_KEY
Replace hardcoded GHOST_API_KEY with process.env.GHOST_API_KEY in 
API routes to enhance security. Update Docker commands in the CI 
workflow to pass the GHOST_API_KEY as an environment variable. 
Add GHOST_API_KEY to the Next.js configuration for consistent 
access across the application.
2025-02-12 17:30:31 +01:00
Denshooter
af35a071a7 refactor: clean up project details URL handling
Removes unnecessary TypeScript error suppression for window 
object usage in the ProjectDetails component. This change 
improves code clarity and maintains functionality by ensuring 
the project data is removed from the URL without reloading 
the page.
2025-02-12 17:23:05 +01:00
Denshooter
b93226ad6f fix: improve project data handling and sitemap generation
Refactor project data parsing to ensure type safety by casting 
the project data as a string. Enhance the sitemap generation 
by fetching data from a dynamic API route, allowing for 
more accurate and up-to-date sitemap entries. Remove unused 
project markdown files to clean up the project structure. 
These changes improve code reliability and maintainability.
2025-02-12 17:18:22 +01:00
Denshooter
635c244c06 feat: update dependencies and enhance privacy policy
Replace "@vercel/analytics" with "@tryghost/content-api" and add 
"node-fetch" to dependencies. Remove "@vercel/speed-insights" to 
streamline the package. Update robots.txt to dis access to 
"/legal-notice" and "/privacy-policy". Change <p> tags to <div> in 
the Privacy Policy for better structure. Update the last modified 
date in the Legal Notice. Add a new API route for fetching images 
with error handling for missing URL parameters.
2025-02-12 12:59:15 +01:00
Denshooter
433a3c6d58 D branch 1 (#10)
* fix: update Umami script source to use HTTPS

Change the Umami script source from HTTP to HTTPS to enhance 
security and ensure that the script is loaded securely. This 
improves the overall integrity of the application by preventing 
mixed content issues.

* feat: add legal notice page and update footer component

Creates a new legal notice page with necessary content and links. 
Updates the Footer_Back component for improved formatting and 
consistency. These changes ensure compliance with legal 
requirements and enhance user experience.
2025-02-11 01:37:57 +01:00
Denshooter
f9f9097991 fix: update Umami script source to use HTTPS (#9)
Change the Umami script source from HTTP to HTTPS to enhance 
security and ensure that the script is loaded securely. This 
improves the overall integrity of the application by preventing 
mixed content issues.
2025-02-10 23:49:37 +01:00
Denshooter
afe9aeadff refactor: remove unused imports from layout.tsx (#8) 2025-02-10 23:42:43 +01:00
Denshooter
008ac8523f Dev (#7)
* removed vercel analytics, added umami

* removed unused stuff
2025-02-10 23:39:09 +01:00
Denshooter
a5233d09a4 removed vercel analytics, added umami (#6) 2025-02-10 23:32:39 +01:00
Denshooter
05cbef9a52 test change 2025-02-10 11:19:49 +01:00
Denshooter
b87af01386 remove thank you mail 2025-02-10 11:11:53 +01:00
Denshooter
05f879d226 feat: implement email sending functionality with nodemailer; add contact form handling and success/error notifications 2025-02-04 21:12:13 +01:00
Denshooter
2c9f69dcac fix: escape apostrophes in privacy policy text for proper rendering 2025-02-04 16:47:33 +01:00
Denshooter
36e44ef1b8 feat: add cookie consent banner and privacy policy page; update dependencies and improve animations 2025-02-04 16:44:49 +01:00
Denshooter
e37aba3ece feat: implement project fetching and markdown rendering for enhanced project display 2025-02-04 01:51:46 +01:00
Denshooter
f1112becd9 feat: implement project fetching and markdown rendering for enhanced project display 2025-02-04 01:37:58 +01:00
Denshooter
e7735e8521 style: enhance layout and styling of components with improved animations and responsiveness 2025-02-04 00:38:40 +01:00
Denshooter
b1e8775346 style: enhance global styles with animated background and improved layout 2025-02-03 23:01:06 +01:00