Commit Graph

64 Commits

Author SHA1 Message Date
Bram Suurd
b351f1ad1c refactor: revert to old image generation image. 2024-08-28 15:20:03 +02:00
Bram Suurd
a7c9bf7225 refactor: increased image dimensions and added object-fit style 2024-08-28 15:15:51 +02:00
Bram Suurd
def079e50e refactor: updated Open Graph API to use NextRequest for title parameter extraction 2024-08-28 15:10:47 +02:00
Bram Suurd
ab5d872f6c refactor: replaced export with const for image size in Open Graph API 2024-08-28 15:09:02 +02:00
Bram Suurd
fddec3c471 refactor: removed unused alt export in Open Graph image API, streamlining code for better maintainability 2024-08-28 15:07:51 +02:00
Bram Suurd
b2fbc49f14 refactor: enhanced Open Graph image generation by updating parameter handling and restructuring the response layout 2024-08-28 15:05:46 +02:00
Bram Suurd
17e27a944d fix: updated generateMetadata to return null for invalid scriptName, improving error handling and SEO consistency 2024-08-28 14:05:55 +02:00
Bram Suurd
9a74626fbb refactor: added error handling to og metadata api route 2024-08-28 14:05:15 +02:00
Bram Suurd
e4bd86e44d refactor: moved fetch to og image route for increased performance on front-end 2024-08-28 13:58:16 +02:00
Bram Suurd
2948a747ec Feat: added og image generation api for script pages. and added nextjs dynamic metadata to script page for better SEO 2024-08-28 13:37:55 +02:00
Bram Suurd
d603311652 refactor: Remove code-copy-button toast success message 2024-08-27 18:58:58 +02:00
Bram Suurd
67e6bc4a0e Revert "refactor: refactor the code base to use more server components"
This reverts commit 3f5e2abd12.
2024-08-26 01:21:56 +02:00
Bram Suurd
4b0c54a1c1 Revert "refactor: Update API endpoints to use baseUrl in page.tsx"
This reverts commit 36da0ec4cb.
2024-08-26 01:20:59 +02:00
Bram Suurd
15bb274818 Revert "Merge pull request #52 from BramSuurdje/feat--server-side-rendering"
This reverts commit 46753ef819, reversing
changes made to d172acc733.
2024-08-26 01:20:40 +02:00
Bram Suurd
ee6243e53c refactor: Remove dynamic import in category route 2024-08-25 21:26:46 +02:00
Bram Suurd
36da0ec4cb refactor: Update API endpoints to use baseUrl in page.tsx 2024-08-25 19:49:48 +02:00
Bram Suurd
0cb6d9d31b refactor: Update og route to use async function for GET request 2024-08-25 19:42:36 +02:00
Bram Suurd
db116e72c2 refactor: Remove runtime configuration from og route 2024-08-25 19:40:29 +02:00
Bram Suurd
3f5e2abd12 refactor: refactor the code base to use more server components 2024-08-25 19:39:25 +02:00
Bram Suurd
d172acc733 feat: Add robots.txt and sitemap.xml files 2024-08-25 15:14:02 +02:00
Bram Suurd
297a09ea98 refactor: Update ScriptBrowser component to use single accordion type 2024-08-25 02:00:51 +02:00
Bram Suurd
1fb0915cf7 fix: resolve issue in ScriptBrowser.tsx with searching 2024-08-25 01:51:17 +02:00
Bram Suurd
e96f1f2a85 refactor: Update CSS padding in page.tsx and Navbar.tsx 2024-08-25 01:17:57 +02:00
Bram Suurd
ce31b324fd feat: update searching mechanism 2024-08-25 01:12:58 +02:00
Bram Suurd
7be6f7d20a refactor: make footer visible in scripts page without scrolling down 2024-08-24 12:38:51 +02:00
Bram Suurd
4eddbde67b refactor: Optimize fetching categories and remove unused code in page.tsx 2024-08-24 11:19:32 +02:00
Bram Suurd
f557b0472d refactor: add loading spinner in page.tsx 2024-08-21 02:38:20 +02:00
Bram Suurd
96dc4085da refactor: Optimize fetching categories and remove unused code in page.tsx 2024-08-21 02:34:22 +02:00
Bram Suurd
96c1ef0e28 refactor: Remove unused code and optimize fetching categories in page.tsx 2024-08-21 02:23:25 +02:00
Bram Suurd
527be1ffab chore: Add dynamic export to page.tsx and Navbar.tsx 2024-08-17 00:20:29 +02:00
Bram Suurd
9588ddc7cb chore: Fix fetch API options in page.tsx and MobileNav.tsx 2024-08-17 00:14:53 +02:00
Bram Suurd
d1eb7459d8 chore: Add dynamic export to page.tsx and Navbar.tsx 2024-08-17 00:10:29 +02:00
Bram Suurd
d8b40721f7 chore: Add speed-insights npm package for performance monitoring 2024-08-16 23:16:29 +02:00
Bram Suurd
7148fd50db chore: Add installCommand property to Script interface 2024-08-16 01:17:01 +02:00
Bram Suurd
c23102220a Merge branch 'main' of github.com:BramSuurdje/proxmox-helper-scripts 2024-08-16 01:13:44 +02:00
Bram Suurd
21cfb32e57 chore: Componentized many items in the ScriptItem component to simplify future edits. 2024-08-16 01:11:45 +02:00
Bram Suurd
1a53337f95 chore: Update key in MobileNav component to use categoryId instead of collectionId 2024-08-15 19:24:24 +02:00
Bram Suurd
719bdba7ad chore: clean up types file and sort all items in types to make more sense. 2024-08-15 19:21:30 +02:00
Bram Suurd
beeeed6ea5 chore: Remove unused NextRequest parameter in GET function 2024-08-15 19:20:29 +02:00
Bram Suurd
49bc99b13a refactor: Remove unused mouse.ts file 2024-08-10 16:17:23 +02:00
Bram Suurd
416df4895e refactor: Remove unused code in utils.ts 2024-08-10 16:15:20 +02:00
Bram Suurd
48e9b03dec refactor: Improve conditional rendering in ScriptItem component for better clarity on item usage instructions 2024-08-09 02:56:44 +02:00
Bram Suurd
e19bd22267 refactor: Update ScriptItem component to use TooltipTrigger className for styling consistency 2024-08-09 02:52:12 +02:00
Bram Suurd
93a0fe7773 refactor: Update Badge component to include warning and failure variants 2024-08-09 02:44:28 +02:00
Bram Suurd
96f862edd9 run bun format 2024-08-09 02:32:54 +02:00
Bram Suurd
bbefd7cb42 Update the database by creating separate tables for alerts and default login details. Add a tab for default login details, and implement badges for updatable scripts and scripts requiring privileged access. 2024-08-09 02:32:06 +02:00
Bram Suurd
8a2d92a4bb refactor: Remove unused code in MostViewedScripts component 2024-08-09 00:40:29 +02:00
Bram Suurd
860c016e93 Refactor: Optimize the database model for more efficient storage of Alpine installation details. 2024-08-09 00:29:31 +02:00
Bram Suurd
73d80b2514 run prettier format 2024-08-09 00:03:31 +02:00
Bram Suurd
7f343c3b42 refactor: Update NumberTicker component to use Number constructor for formatting 2024-08-09 00:02:40 +02:00