Commit Graph

23 Commits

Author SHA1 Message Date
Rico van Zelst
60d9aa48be feat(analytics): switch analytics provider 2025-09-27 10:45:50 +02:00
Rico van Zelst
602d1e8be1 perf: attempt to fix pagespeed 2025-05-16 19:04:41 +02:00
Rico van Zelst
8338384df9 feat: add Google AdSense integration
- Included Google AdSense script for ads.
- Added common ad component to the layout.
2025-02-26 22:25:31 +01:00
Rico van Zelst
54795765af chore: add ga verification 2024-07-27 00:46:33 +02:00
Rico van Zelst
6d2731f1d3 feat: Add functionality to retrieve champion images from the database
- Added a new function `getChampionImage` to fetch champion images based on ID and type.
- Created a new model `ChampionImage` to store champion image details in the database.
- Implemented seeding of champion images using `ChampionImageSeeder`.
- Updated usage of champion images in existing methods.
2024-05-02 00:50:51 +02:00
Rico van Zelst
63d975dab9 feat: Add notification banner for image display issue
- Added a notification banner to inform users about the image display problem and that a solution is being worked on.
2024-05-01 01:17:50 +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
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
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
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
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
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
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
984b7a862d feat(components): add googletag component
- Added a new blade component `googletag.blade.php` to the `resources/views/components` directory.
- The component includes the necessary script tags for Google Tag Manager integration.
- Updated the `app.blade.php` layout file to include the newly added `googletag` component.
2024-01-03 03:51:50 +01:00
Rico van Zelst
47f811f7d9 feat: Add DOCTYPE declaration to app.blade.php
This change adds the DOCTYPE declaration to the app.blade.php file in order to ensure proper rendering of HTML.
2023-12-14 15:04:44 +01:00
Rico van Zelst
b88cdc1f07 feat: SEO Improvements
- Added `APP_STAGING` variable to `.env.example`
- Updated `config/app.php` to use `APP_STAGING` for determining the value of `IS_STAGING`
- Updated `resources/views/layouts/app.blade.php` and `resources/views/posts/show.blade.php` to include additional meta tags for SEO and attribution
2023-12-14 14:11:08 +01:00
Rico van Zelst
3e9fbc05ff feat(layouts): update app.blade.php and add new sections
- Updated the meta description tag in `app.blade.php` to fix formatting.
- Added `@stack('top_scripts')` and `@stack('bottom_scripts')` sections in `app.blade.php`.
- Extended the `layouts.app` template in `skins/index.blade.php` and `skins/show.blade.php`.
- Added title and description sections in both files.
- Removed duplicate meta tags from both files.
- Added content section with appropriate components in both files.
- Added a new script file, 'vert-scroll.js', to be loaded at the bottom of the page in `skins/show.blade.php`.
2023-12-08 17:30:23 +01:00
Rico van Zelst
2294140fce refactor(views): Update home.blade.php and app.blade.php
- Refactored the home.blade.php file to extend the layouts.app.blade.php file.
- Moved the title and description sections to their respective yield sections in app.blade.php.
- Removed duplicate code from home.blade.php.

This commit improves code organization and removes duplication in the views.
2023-12-08 17:09:46 +01:00