Commit Graph

87 Commits

Author SHA1 Message Date
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
Denshooter
bf79f2ea06 refactor: update header and hero components for improved styling and layout 2025-02-03 20:01:18 +01:00
Denshooter
65d9c2738d fix error for deployment on vercel 2025-01-30 23:28:37 +01:00
Denshooter
262f8d3b86 update 2025-01-29 19:03:18 +01:00
Denshooter
bd657eb7ea updata 2025-01-23 14:08:25 +01:00
Denshooter
c8eaef7c36 update 2025-01-15 13:40:51 +01:00
Denshooter
8f82df884a update 2025-01-06 09:08:55 +01:00
Denshooter
33b8b44b1f update 2025-01-05 21:05:18 +01:00
Denshooter
143bd821e5 update 2025-01-05 17:52:41 +01:00
Denshooter
ceb64d5251 Initial commit from Create Next App 2025-01-05 13:09:13 +01:00