Commit Graph

42 Commits

Author SHA1 Message Date
becarta
5ceb3491c7 Add spam detection and manual review request feature in contact form
- Integrated Gemini AI for spam detection in the contact form API, returning a token for manual review requests if spam is detected.
- Implemented a manual review UI in the Form.astro component, allowing users to submit their email and justification for review.
- Updated email handler to send manual review requests to a designated email address.
- Enhanced rate limiter configuration to allow more attempts in a shorter duration for better user experience.
- Added new dependencies: jsonwebtoken and @types/jsonwebtoken for handling JWTs in the spam detection process.
2025-06-12 23:43:12 +02:00
d2197984d8 Update BackToTop component styles for improved visibility and usability
- Adjusted positioning and dimensions of the BackToTop button for better accessibility and user experience.
- Increased right margin and button size to enhance visibility and interaction.
2025-06-07 18:05:44 +02:00
4321824bf5 Refactor ImageModal component for improved layout and responsiveness
- Updated ImageModal styles to include overflow handling and a maximum height for better usability.
- Adjusted the structure to place the enlarged image at the top, enhancing visual presentation.
- Removed the redundant image container to streamline the component.
2025-06-07 17:29:04 +02:00
27fae7fd5b Enhance ImageModal and CompactSteps components for improved layout and responsiveness
- Updated ImageModal styles to center the modal and adjust image container dimensions for better visual presentation.
- Refactored CompactSteps to include an icon component for better visual consistency and adjusted layout for improved readability.
- Removed outdated WorkExperience item rendering to streamline the component structure.
- Updated aboutme page to conditionally set icons based on title content for better context.
2025-06-07 15:30:14 +02:00
fcf639edcc Remove Netlify form handling logic from BasicScripts.astro and update Form.astro to set action attribute for contact form submission to the new API endpoint. 2025-06-07 01:39:21 +02:00
0893e235c2 Update Astro configuration to switch from Netlify to Node adapter and update dependencies
- Replace Netlify adapter with Node adapter in astro.config.ts for standalone mode.
- Update package.json to reflect the new dependency on @astrojs/node.
- Modify package-lock.json to include updated versions of dependencies and remove Netlify-specific configurations from the contact form.
2025-06-07 00:44:48 +02:00
02fe6d217a Add CSRF token handling to contact form for enhanced security
- Introduce a hidden CSRF token input field in the contact form.
- Implement a function to fetch and set the CSRF token on form load.
- Update form submission logic to use FormData and re-fetch the CSRF token after successful submission.
2025-06-07 00:29:49 +02:00
becarta
1fb54f947e Remove unnecessary background div from WidgetWrapper for cleaner design 2025-05-14 02:22:00 +02:00
becarta
9bc85a751b Add background gradient to WidgetWrapper for enhanced visual appeal 2025-05-14 01:17:59 +02:00
becarta
890d7b8670 Updated site completely
Some checks failed
GitHub Actions / build (18) (push) Has been cancelled
GitHub Actions / build (20) (push) Has been cancelled
GitHub Actions / build (22) (push) Has been cancelled
GitHub Actions / check (push) Has been cancelled
2025-03-29 22:32:31 +01:00
becarta
e9a276c11d updated timeline vertical line color and background years 2025-03-14 23:16:13 +01:00
becarta
e0f172d66d added kvk and btw number back, updated text colour text-muted 2025-03-14 23:05:05 +01:00
becarta
a2ecf840a8 updated our commitment image and text 2025-03-12 04:41:49 +01:00
becarta
f0c71110be Added crucial converstations certificate 2025-03-12 03:02:21 +01:00
becarta
9e47f30fc1 removed parallax, added flags to footer 2025-03-07 00:13:44 +01:00
becarta
f62c3458a5 added cookie notice, added terms and privacy notice, added return to top button 2025-03-06 23:27:26 +01:00
becarta
9f2f0107e9 updated logic icons small screens 2025-03-06 00:20:40 +01:00
becarta
d66123c029 major update in looks and feel 2025-03-06 00:03:16 +01:00
becarta
3b98eae137 added netlify to form 2025-03-04 01:13:00 +01:00
becarta
6040831ece updated form 2025-03-04 01:08:21 +01:00
becarta
85a819ed15 updated contact form logic 2025-03-04 00:59:40 +01:00
becarta
e9d3d8a2fb Contact form logic 2025-03-04 00:32:39 +01:00
becarta
2e4284cba3 changed font size and added blog item 2025-02-26 02:35:19 +01:00
becarta
4b0cdaf83c Main page overhaul 2025-02-26 01:53:49 +01:00
prototypa
38db18b05b Add basic animation 2024-10-13 03:33:40 -04:00
prototypa
a606b34a19 Format all files with prettier: npm run format 2024-04-29 17:51:55 -04:00
Dylan Awalt-Conley
afacd786bf fix: define component Props type instead of typecasting Astro.props
This surfaces some type errors in props being passed to some components,
particularly in the way Features passes the classes props.
2024-03-26 12:11:41 -04:00
prototypa
5e8bb02ab8 Allow set a name for textarea message 2024-03-25 08:18:12 -04:00
prototypa
9818cd08b8 Fix Button to render a <button> tag if the 'type' attribute exists. Issue #299 2023-12-02 09:25:34 -05:00
prototypa
55ac68f086 Minor ui fixes and format 2023-09-02 20:52:55 -04:00
prototypa
47ab6f02a5 Add cursor-pointer class to link 2023-09-02 20:37:56 -04:00
prototypa
770dee10bd Replace component CTA with Button with new props 2023-09-02 18:02:45 -04:00
widgeter
b775a11473 Include ItemGrid component on Content widget 2023-08-24 22:49:05 +02:00
prototypa
3022d4424b Fix imported type using a type-only import 2023-08-22 22:56:57 -04:00
prototypa
138fc72fe0 Small ui fixes 2023-08-21 20:01:01 -04:00
prototypa
9e7462a77d Better layout when no image 2023-08-16 00:42:35 -04:00
prototypa
b7e0ae9d66 Add scroll margin offset 2023-08-14 11:56:52 -04:00
widgeter
33242302c6 Merge branch 'main' of https://github.com/widgeter/astrowind 2023-08-11 19:35:09 +02:00
widgeter
5dbdf84dd7 Create a contact component 2023-08-11 17:50:09 +02:00
prototypa
c0c4cd1ccf Make components RTL compatible 2023-08-10 14:47:19 -04:00
prototypa
85868395f6 Move DListItem.astro to components/ui folder 2023-07-27 14:56:41 -04:00
prototypa
b51e3bdebc Add useful components for ui 2023-07-27 14:51:09 -04:00