Commit Graph

51 Commits

Author SHA1 Message Date
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
Denshooter
cc6ae8ff7b Merge pull request #2 from Denshooter/production (#4) 2025-02-10 22:16:47 +01:00
Denshooter
e1cd000442 update GitHub Actions workflow to use actions/checkout@v4 and improve container management 2025-02-10 16:05:50 +01:00
Denshooter
65cbab94c7 update port configurations in GitHub Actions workflow 2025-02-10 15:58:12 +01:00
Denshooter
82953ea1b3 update bug fix 2025-02-10 15:27:39 +01:00
Denshooter
18e2268e0e Update Dockerfile 2025-02-10 15:08:37 +01:00
Denshooter
3914c776d9 updating to lts 2025-02-10 13:50:04 +01:00
Denshooter
2d9124f3e5 adding Dockerfile for CI/CD 2025-02-10 13:45:34 +01:00
Denshooter
e423e6d4f5 Merge branch 'production' of https://github.com/Denshooter/my_portfolio into production 2025-02-10 11:20:07 +01:00
Denshooter
05cbef9a52 test change 2025-02-10 11:19:49 +01:00
Denshooter
a7d980d68a Update main.yml 2025-02-10 11:19:21 +01:00
Denshooter
b87af01386 remove thank you mail 2025-02-10 11:11:53 +01:00
Denshooter
2ccfcd5993 Delete .fleet directory 2025-02-10 11:06:18 +01:00
Denshooter
4b5711337e Create main.yml 2025-02-10 11:04:45 +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
0a909045ca Merge pull request #1 from Denshooter/dev
feat: add cookie consent banner and privacy policy page; update depen…
2025-02-04 16:45:42 +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
2d21a82205 Merge remote-tracking branch 'origin/main' 2025-01-30 23:29:00 +01:00
Denshooter
65d9c2738d fix error for deployment on vercel 2025-01-30 23:28:37 +01:00
Denshooter
abe88f34a2 update 2025-01-30 12:37:43 +01:00
Denshooter
7438630194 update 2025-01-30 11:35:05 +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