Commit Graph

183 Commits

Author SHA1 Message Date
Denshooter
10a27ec91f 🚀 refactor: rename job and streamline deployment steps 2025-02-21 16:51:25 +01:00
denshooter
4aa0ba662b dev (#42)
* 🚀 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
2025-02-21 16:31:14 +01:00
Denshooter
afce84dde0 🚀 fix: correct container name in deployment script logic 2025-02-21 16:03:02 +01:00
denshooter
9f4c055b23 Dev (#41)
* 🚀 refactor: simplify deployment process in workflow file

* 🚀 chore: add IMAGE_NAME to GITHUB_ENV for deployment workflow

*  chore: simplify deployment logging in workflow file
2025-02-18 19:04:01 +01:00
denshooter
c3a76c2650 Merge branch 'production' into dev 2025-02-18 19:03:50 +01:00
Denshooter
aaf15aedd5 chore: simplify deployment logging in workflow file 2025-02-18 18:45:10 +01:00
Denshooter
78c2632002 🚀 chore: add IMAGE_NAME to GITHUB_ENV for deployment workflow 2025-02-18 18:35:24 +01:00
denshooter
7c41eb2d1a 🚀 refactor: simplify deployment process in workflow file (#40) 2025-02-18 14:46:16 +01:00
Denshooter
eb999a70c6 🚀 refactor: simplify deployment process in workflow file 2025-02-18 14:35:33 +01:00
denshooter
59fcaf4cc5 Delete .github/workflows/linter.yml 2025-02-18 14:04:57 +01:00
denshooter
3c26e00d9b Dev (#39)
*  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

* 🚀 feat: add GitHub Actions for deployment and testing workflows

*  chore: add branch filters for workflows in YAML files
2025-02-18 14:02:39 +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
e1d446d7ac docs: update README.md with detailed project features, structure, and deployment instructions 2025-02-13 16:15:21 +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
996b1b74f9 Merge pull request #17 from Denshooter/d-branch-1
fix(sitemap): improve error logging for sitemap generation
2025-02-12 18:35:48 +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
d527845692 Merge pull request #16 from Denshooter/d-branch-3
feat(sitemap): enhance sitemap generation and error handling
2025-02-12 18:32:09 +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
66efa25ba8 Merge pull request #15 from Denshooter/d-branch-2
fix: correct CMD syntax in Dockerfile
2025-02-12 18:19:57 +01:00
Denshooter
1f4fe21555 fix: correct CMD syntax in Dockerfile
Remove extraneous character from CMD instruction in Dockerfile to 
ensure proper execution of the start script. This change fixes 
the command syntax and improves the reliability of the Docker 
container startup process.
2025-02-12 18:18:49 +01:00
Denshooter
0f87dee9ac Merge pull request #14 from Denshooter/d-branch-1
feat(sitemap): update base URL and add build environment handling
2025-02-12 17:59:58 +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
bcd25ef751 Merge pull request #13 from Denshooter/d-branch-1
refactor: clean up project details URL handling
2025-02-12 17:31:25 +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
c5181c42d8 Merge pull request #12 from Denshooter/d-branch-2
fix: improve project data handling and sitemap generation
2025-02-12 17:19:16 +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
28f6bb74b8 Merge pull request #11 from Denshooter/d-branch-1
feat: update dependencies and enhance privacy policy
2025-02-12 12:59:56 +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
16b62a08ee combine (#3) (#5)
* Create main.yml

* Delete .fleet directory

* remove thank you mail

* Update main.yml

* test change

* adding Dockerfile for CI/CD

* updating to lts

* Update Dockerfile

* update bug fix

* update port configurations in GitHub Actions workflow

* update GitHub Actions workflow to use actions/checkout@v4 and improve container management
2025-02-10 22:17:21 +01:00