Commit Graph

204 Commits

Author SHA1 Message Date
Rico van Zelst
29e102e8bb feat(champion-skin): Improve skin image URL handling
- Refactored the `getSkinImageAttribute` method in ChampionSkin model to accept a boolean parameter for uncentered images.
- Updated references to `getSkinImageAttribute` in ChampionSkinController and blade files to include the new parameter for uncentered images.
2024-04-14 14:29:30 +02:00
Rico van Zelst
0fb2b967fb feat: Add support for uncentered champion images
- Updated the Champion model to include an optional parameter for retrieving uncentered champion images. Adjusted image URLs in relevant views accordingly.
2024-04-14 14:21:32 +02:00
Rico van Zelst
a6ac3f8496 feat: Add streamer edit form and view
- Added a new blade file for editing streamers with form fields for champion, platform, username, and display name. Included styling and functionality to update streamer details.
2024-04-14 14:07:32 +02:00
Rico van Zelst
4cd8485a55 feat: Add custom error pages
fixes #189 https://github.com/rico-vz/HeimerdingerLoL/issues/189
- Created custom error pages with specific messages and designs for HTTP status codes.
- Each page includes a title, description, appropriate message content, and a link to return to the homepage.
2024-04-14 14:02:20 +02:00
Rico van Zelst
01b3e35e87 fix: Update Champion image URLs from CDN Cdragon to RAW
- Refactored the Champion model to use new image URLs for different attributes.
- Updated blade templates to fetch champion images with correct URLs.
2024-04-14 13:46:53 +02:00
Rico van Zelst
3478d5330b feat: Update logo SVG
- Updated the SVG paths in the logo.blade.php file to improve rendering and optimize code readability.
2024-04-14 13:46:30 +02:00
Rico van Zelst
76501b4dbf feat: Update page titles for consistency
- Updated page titles to remove ".LoL" for a more consistent branding across the website. This change affects multiple pages such as FAQ, About, Assets, Champions, and more.
2024-04-10 11:33:22 +02:00
Rico van Zelst
d099289685 feat: link to the hatty crabby icon guide
- Added a link to a guide for a specific icon ID (6584).
2024-04-01 16:36:25 +02:00
Rico van Zelst
55a72607e2 refactor: improve filtering of hidden posts in PostsController
- Refactored the code in `PostsController.php` to filter out hidden posts before sorting by date for better performance and accuracy.
- Updated the blade template `listposts.blade.php` to adjust formatting and structure for displaying posts.
2024-04-01 16:27:07 +02:00
Rico van Zelst
7ad53814d3 feat: Enhance social media sharing meta image for blogpost
- Update OpenGraph and Twitter meta tags in app.blade.php to dynamically set og:image based on content.
- Modify show.blade.php to include post thumbnail as og_image for better social media sharing.
2024-04-01 16:22:23 +02:00
Rico van Zelst
821c0d1c3c feat: Add roadmap functionality
- Added a new method `roadmap` to HomeController for displaying the roadmap view.
- Created a new Blade template `roadmap.blade.php` for the roadmap page.
- Defined a route `/roadmap` to access the roadmap feature.
2024-03-31 20:33:23 +02:00
Rico van Zelst
5b55e21659 feat: Add support page
- Added a new method in HomeController to handle the support page.
- Created a new blade template for the support page with donation options.
2024-03-27 01:04:40 +01:00
Rico van Zelst
486665fb45 fix: Correct casing in streamersTable component name
- Updated the component name to use proper camelCase for consistency.
2024-03-26 11:36:11 +01:00
Rico van Zelst
4f22451be3 style: Update CSS classes for video aspect ratio
- Updated CSS classes in grid_info.blade.php to use 'aspect-video' for maintaining video aspect ratio styling.
2024-03-26 11:27:28 +01:00
Rico van Zelst
99a5fea8f3 style: add streamer list styling per platform
- Added @font-face declarations for various font weights of the Inter font family in app.css to improve font rendering.
- Updated text-shadow styles for different platforms (Twitch, YouTube, Kick, Douyu, Huya) in grid_info.blade.php.
- Expanded file paths in tailwind.config.js to include more blade.php files.
2024-03-26 11:19:20 +01:00
Rico van Zelst
e6dcfacb31 feat: Add streamers to champion show view
- Added loading of streamers data in the champion show view.
- Updated ChampionController to load streamers for display.
2024-03-23 02:48:08 +01:00
Rico van Zelst
b46128ec26 Add Champion model, form validation, and components for StreamerPanel.
- Added Champion model to StreamerPanelController.
- Implemented form validation for champion_id, platform, username, and displayname in create and update methods.
- Created StreamerCreateForm and StreamersTable components for better organization.
2024-03-22 02:35:44 +01:00
Rico van Zelst
236ff32acc feat: Update AWS SDK and Laravel Package Tools versions
- Updated AWS SDK version to 3.301.4
- Updated Laravel Package Tools version to 1.16.4
2024-03-21 01:10:43 +01:00
Shift
2541825a1d Sort Tailwind classes 2024-03-18 17:55:31 +00:00
Rico van Zelst
d8082b4db8 refactor(views): update canonical URL generation logic
Refactored the canonical URL generation logic in the app.blade.php file to use Laravel's url() helper function instead of accessing $_SERVER directly.
2024-03-03 18:11:09 +01:00
Rico van Zelst
9ad6d1e091 style(layouts): comment out unnecessary canonical link generation
Commented out unnecessary canonical link generation code in the app.blade.php layout file to improve readability and avoid confusion.
2024-03-03 18:09:00 +01:00
Rico van Zelst
5c0a03e753 fix(layout): fix canonical link generation based on request URI
Adjusts the canonical link generation in the layout file to use `url()->full()` when 'page' is in the request URI.
2024-03-03 18:06:13 +01:00
Rico van Zelst
755fcf9561 fix(sec): Add 'rel="noopener"' to external links
Add 'rel="noopener"' attribute to external links for improved security and accessibility.
2024-03-03 17:44:49 +01:00
Rico van Zelst
37bc210923 feat(controller): add HTMLSitemapController for generating HTML sitemap
- Added HTMLSitemapController to generate sitemap with cached data
- Updated footer.blade.php and index.blade.php for sitemap links
2024-03-03 17:23:22 +01:00
Rico van Zelst
e69a1b1844 feat(layouts): add canonical link tag to app layout
Add a canonical link tag to the app layout for SEO purposes.
2024-03-03 16:23:48 +01:00
Rico van Zelst
f7d21fad55 style(views): Update heading tag in League of Legends FAQ page. Adjusted h2 to h1 for better semantic structure. 2024-03-03 16:04:40 +01:00
Rico van Zelst
fecd0e1d5f feat(ui): update meta image URLs for social sharing
- Update og:image and twitter:image URLs to use CDN for improved performance and consistency in social media sharing previews.
2024-03-03 15:11:44 +01:00
Rico van Zelst
f511320a17 fix(view): update image maxage to 7 days in recent_skins view
Updated the image URL in the recent_skins view to set the maximum age parameter to 7 days instead of 2 days for caching.
2024-03-01 23:47:46 +01:00
Rico van Zelst
96a2e6b35b feat(components): add Product Hunt badge to footer and features
- Added Product Hunt badge to the footer component.
- Added Product Hunt badge to the features component for better visibility.
2024-02-29 14:08:27 +01:00
Rico van Zelst
cdae1cda79 style(components): adjust image size and quality for skins
- Adjusted image width and quality attributes for recent and upcoming skin components to improve display consistency.
2024-02-27 13:03:33 +01:00
Rico van Zelst
1f1a07adb0 fix(ui): update image URLs with maxage parameter
Update image URLs in recent_skins.blade.php and upcoming_skins.blade.php to include the maxage=2d parameter for caching.
2024-02-27 11:52:52 +01:00
Rico van Zelst
7ecdad0ebb fix(ui): update image quality to 75 for recent and upcoming skins
Reduce image quality to 75 for recent and upcoming skin images.
2024-02-27 11:49:22 +01:00
Rico van Zelst
9bc14f21e5 style(components): update image loading attributes
- Update image loading attributes for recent and upcoming skins components to improve performance and consistency.
2024-02-27 11:43:45 +01:00
Rico van Zelst
3423382a0a chore(analytics): update Plausible script domain
Changed the Plausible analytics script domain to heimerdinger.lol.
2024-02-26 13:39:53 +01:00
Rico van Zelst
7826063f78 feat(analytics): replace old Google Tag script with new version
- Added a new file googletag.blade.php for updated Google Tag script
- Deleted the old version of googletag.blade.php containing outdated script
2024-02-26 13:38:51 +01:00
Rico van Zelst
8949c427e8 feat(analytics): Add Plausible analytics script, remove Matomo script
- Added a new file `plausible.blade.php` for Plausible analytics script.
- Removed the `matomo-analytics.blade.php` file and replaced its usage with the new Plausible analytics component in `app.blade.php`.
2024-02-26 13:38:46 +01:00
Rico van Zelst
1eeb7bc8c4 refactor(layout): remove unused googletag component from layout 2024-02-26 03:24:33 +01:00
Rico van Zelst
cb4c448736 refactor(matomo-analytics): optimize Matomo tracking script
Consolidated and optimized Matomo tracking script for better performance.
2024-02-26 03:23:27 +01:00
Rico van Zelst
fdc2843f6f feat(components): add Matomo analytics component
Add Matomo analytics tracking code to a new Blade component for easy integration across views.
2024-02-26 03:05:42 +01:00
Rico van Zelst
322755a42a style(layout): remove unused font loading code
Removed unused font loading code from the layout file to improve clarity and reduce unnecessary clutter.
2024-02-26 02:14:17 +01:00
Rico van Zelst
cb7cef45cf feat(fonts): add Inter font files for various weights
Add font files for Inter font family with different weights (100-900) in WOFF2 format. Update CSS to include font-face declarations for each weight.
2024-02-26 02:04:39 +01:00
Rico van Zelst
6a91cc1b7e style(footer): add aria-label attribute to link for accessibility 2024-02-26 01:32:50 +01:00
Rico van Zelst
c53a8154bd chore(about): update GitHub link in about page
Updated the GitHub link on the about page to provide a more concise and clear call-to-action for developers interested in contributing to the project.
2024-02-25 02:56:21 +01:00
Rico van Zelst
088066f720 feat(skins): Update grid_info blade with improved styling and layout
- Refactored CSS classes for better readability
- Adjusted grid layout for responsiveness
- Updated image display properties and transitions
2024-02-25 01:40:21 +01:00
Rico van Zelst
9dd4cc3b87 style(meta): Add dark mode meta tag and fix indentation
Added a meta tag to disable DarkReader on the site and fixed the indentation in the file.
2024-02-24 22:20:13 +01:00
Rico van Zelst
30819a8e14 style(about): Rearrange classes in about page for consistency
- Reordered classes in HTML elements for better readability and maintainability.
- Updated class order in various elements to follow a consistent pattern.
2024-02-24 21:54:32 +01:00
Rico van Zelst
8bdcd5b086 feat(contact): Add hCaptcha integration, Discord alert for contact
- Added hCaptcha validation to the contact form.
- Integrated hCaptcha configuration in the application.
- Implemented Discord alerts for new contact submissions with detailed content.
2024-02-24 21:52:00 +01:00
Rico van Zelst
1ed7856985 feat(contact): add ContactSubmissionController and contact form view
- Added ContactSubmissionController with index and store methods for handling contact submissions.
- Created a new Blade view for the contact form with fields for name, email, discord, category, subject, and message.
- Updated routes to include endpoints for displaying the contact form and submitting it.
2024-02-24 20:30:23 +01:00
Rico van Zelst
13ba72c897 feat(env): add GTAG_MEASUREMENT_ID to env and config
- Added GTAG_MEASUREMENT_ID to .env.example
- Updated 'GTAG_MEASUREMENT_ID' in config/app.php
- Modified script tag in googletag.blade.php to use dynamic ID
2024-02-24 15:44:57 +01:00
Rico van Zelst
2c6246faea feat(faq): update League of Legends FAQ
- Reordered the questions and answers for better readability
- Updated information about League of Legends availability on different platforms
- Added information about the characters in Arcane and the end date of Season 14
2024-02-16 02:11:50 +01:00