Commit Graph

107 Commits

Author SHA1 Message Date
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
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
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
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
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
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
6a91cc1b7e style(footer): add aria-label attribute to link for accessibility 2024-02-26 01:32:50 +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
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
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
f1ada2fb01 refactor(icons): improve code readability and formatting
- Reorganized the HTML structure for better readability.
- Fixed indentation and spacing inconsistencies.
- Added missing newline after PHP opening tag.
- Updated class names to follow consistent naming conventions.
- Wrapped icon titles in anchor tags for improved accessibility.
2024-02-16 01:57:48 +01:00
Rico van Zelst
a48ea6e42f feat(home): update upcoming and latest skins display
- Updated the query in HomeController@index to filter upcoming skins based on release date.
- Updated the query in HomeController@index to filter latest skins based on release date.
- Added links to champion details page for each champion in list_all.blade.php.
- Added links to skin details page for each skin in recent_skins.blade.php and upcoming_skins.blade.php.
2024-02-16 01:41:06 +01:00
Rico van Zelst
1bb4655bdb feat(home): add link to skin details page
- Modify recent_skins.blade.php and upcoming_skins.blade.php
- Add a hyperlink to the skin name that redirects to the skin details page
2024-01-20 15:04:25 +01:00
Rico van Zelst
266b5f6a92 feat(posts): add privacy policy and terms of use pages
- Added new files `privacy-policy.md` and `terms-of-use.md` to the `content/posts` directory.
- Updated the footer component to include links to the privacy policy and terms of use pages.
- Updated the listposts component to exclude hidden posts from being displayed.
2024-01-20 14:01:02 +01:00
Rico van Zelst
e4051a2a4d feat(home): update upcoming skins description
- Updated the description of upcoming skins section on the home page.
- Added a link to the League of Legends Wiki as the data source.
- Mentioned that the data is not guaranteed to be real-time accurate.
2024-01-13 17:31:22 +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
8aac9e6bd9 fix(views): fix role filter bug
The code changes in `list_all.blade.php` fix a spacing issue in the champion card component. So filters work now
2023-12-28 14:43:30 +01:00
Rico van Zelst
c15c4d640f refactor: Update schema.org markup for FAQ dropdown
- Changed the itemtype from "https://schema.org/QAPage" to "https://schema.org/Question"
- Removed unnecessary itemprop attribute from summary element
- Added "suggestedAnswer" itemprop attribute to the answer element

These changes improve the accuracy and consistency of the schema.org markup for the FAQ dropdown component.
2023-12-14 14:57:58 +01:00
Rico van Zelst
5226d7e3fe refactor: Update FAQ dropdown to include schema.org markup
- Added `itemscope` and `itemtype` attributes to the main container div for QAPage schema
- Added `itemprop`, `itemscope`, and `itemtype` attributes to the summary element for Question schema
- Added `itemprop` attribute to the question text span
- Added `itemprop`, `itemscope`, and `itemtype` attributes to the svg element for Answer schema
- Wrapped the answer text in a div with itemprop, itemscope, and itemtype attributes for Answer schema
2023-12-14 14:35:23 +01:00
Rico van Zelst
0a06f1f7cc refactor: Update import statement for Carbon library
The import statement for the Carbon library in the listposts.blade.php file has been updated to use the @use directive instead of the @php directive. This change improves code readability and follows best practices.
2023-12-13 09:01:30 +01:00
Rico van Zelst
3de5f42860 feat: blog post show page 2023-12-12 14:32:44 +01:00
Rico van Zelst
5fe3fcac61 feat: add working posts index
This commit adds pagination functionality to the posts index page. The code changes include:
- Sorting the posts by descending date
- Paginating the posts with 6 items per page
- Creating a new component called "Listposts" for rendering the paginated posts
- Adding a new view file for the "Listposts" component
- Updating the blade template of the posts index page to use the "Listposts" component and pass in the paginated posts

The purpose of these changes is to improve user experience by displaying a limited number of posts per page and providing navigation links for easier browsing.
2023-12-12 12:32:42 +01:00
Rico van Zelst
66d71f84c0 feat(components): update heading tags in blade templates
- Updated the heading tags in the `list_all.blade.php` files for champions, emotes, icons, and skins from `<h2>` to `<h1>`.
- Also updated the heading tag in the `features.blade.php` file from `<h2>` to `<h1>`.
2023-12-08 18:18:12 +01:00
Rico van Zelst
733e9852ae refactor(faq): update about + faq
- Updated the HTML structure and removed unnecessary meta tags
- Replaced the Laravel blade syntax with standard PHP syntax
- Added appropriate section titles and descriptions for better SEO optimization
- Fixed a typo in the class name "min-h-sceen" to "min-h-screen"
- Removed redundant code related to OpenGraph and Twitter metadata
- Improved readability by using consistent indentation and spacing
2023-12-08 18:14:10 +01:00
Rico van Zelst
ba5f1f8b10 feat(assets): update assets index page layout and content
- Updated the layout of the assets index page to extend the 'layouts.app' template.
- Added a title and description for better SEO optimization.
- Reorganized the HTML structure for improved readability.
- Updated the section titles for clarity.
- Adjusted the styling of the main heading and subheading.
- Added an image and descriptive text to enhance user engagement.
- Improved the alignment and spacing of elements on the page.
- Updated the links to asset categories with improved hover effects.

This commit improves the overall user experience on the assets index page by enhancing its layout, content, and visual appeal.
2023-12-08 17:57:37 +01:00
Rico
51e95ecf84 About (#46)
* feat(controllers): add AboutController and FAQController

- Added new controllers for the About page and FAQ page.
- The AboutController handles requests related to the About page.
- The FAQController handles requests related to the FAQ page.

feat(components): add Dropdown component

- Created a new Dropdown component for displaying questions and answers in the FAQ page.
- The Dropdown component takes in a question and answer as props.

feat(views): add blade templates for Heimerdinger and League of Legends FAQs

- Added blade templates for displaying frequently asked questions about Heimerdinger and League of Legends.
- The Heimerdinger template includes specific questions and answers about Heimerdinger, along with relevant meta tags for SEO purposes.
- The League of Legends template includes general questions and answers about League of Legends, along with relevant meta tags.

* feat(faq): add Heimerdinger's backstory and naming

- Added a new FAQ dropdown for Heimerdinger's backstory, providing information about his origins, role in Piltover, and association with Ekko.
- Included another FAQ dropdown that explains the inspiration behind Heimerdinger's name, combining J. Robert Oppenheimer and Erwin Schrödinger.
- These additions enhance the user's understanding of Heimerdinger's character and background.

* Apply fixes from StyleCI

* refactor(components): simplify constructor syntax

- Refactored the constructor syntax in the `Dropdown` component to use a simplified format.
- Removed unnecessary line breaks and indentation for improved readability.

* refactor(faq): update Heimerdinger page layout

- Change the heading tag from `<h2>` to `<h1>` for better semantic structure.
- Update the paragraph tag from `<p>` to `<h2>` for consistency with other sections.
- Improve the readability and maintainability of the code.

* feat(controllers): add AboutController and FAQController

- Added new controllers for the About page and FAQ page.
- The AboutController handles requests related to the About page.
- The FAQController handles requests related to the FAQ page.

feat(components): add Dropdown component

- Created a new Dropdown component for displaying questions and answers in the FAQ page.
- The Dropdown component takes in a question and answer as props.

feat(views): add blade templates for Heimerdinger and League of Legends FAQs

- Added blade templates for displaying frequently asked questions about Heimerdinger and League of Legends.
- The Heimerdinger template includes specific questions and answers about Heimerdinger, along with relevant meta tags for SEO purposes.
- The League of Legends template includes general questions and answers about League of Legends, along with relevant meta tags.

* feat(faq): add Heimerdinger's backstory and naming

- Added a new FAQ dropdown for Heimerdinger's backstory, providing information about his origins, role in Piltover, and association with Ekko.
- Included another FAQ dropdown that explains the inspiration behind Heimerdinger's name, combining J. Robert Oppenheimer and Erwin Schrödinger.
- These additions enhance the user's understanding of Heimerdinger's character and background.

* Apply fixes from StyleCI

* refactor(components): simplify constructor syntax

- Refactored the constructor syntax in the `Dropdown` component to use a simplified format.
- Removed unnecessary line breaks and indentation for improved readability.

* refactor(faq): update Heimerdinger page layout

- Change the heading tag from `<h2>` to `<h1>` for better semantic structure.
- Update the paragraph tag from `<p>` to `<h2>` for consistency with other sections.
- Improve the readability and maintainability of the code.

* feat(about): add about page and route

- Added a new AboutController class with an index method to handle the /about route.
- Created a new blade template file, index.blade.php, for the about page.
- Added HTML markup and content for the about page.
- Updated web.php routes file to include the /about route.

* feat(about): add information about League of Legends,  Heimerdinger

- Added a section with detailed information about League of Legends, including its gameplay, competitive scene, and spin-off game modes.
- Included a section introducing Heimerdinger.lol as a fan-made website dedicated to providing information about League of Legends.
- Added a section describing the character Heimerdinger, his role in the game, and his appearance in the animated series Arcane.

* feat(navbar): update About link and fix routing issue

- Updated the href attribute of the About link in the navbar component to point to the correct route.
- Fixed a routing issue where the active class was not being applied correctly when on the About page.

---------

Co-authored-by: Rico <rico-vz@users.noreply.github.com>
2023-12-07 23:37:12 +01:00
Rico van Zelst
a659b4a855 feat(home): update features and navbar links
- Updated the link in the "features.blade.php" file to point to "/sale-rotation".
- Updated the link in the "navbar.blade.php" file to use the route "sales.index".

These changes improve navigation and ensure consistency across pages.
2023-12-05 15:46:44 +01:00
Rico van Zelst
39567c861c feat(sales): add discount percentage and link to champion/skin details
- Added the display of the discount percentage for each champion and skin on sale.
- Linked each champion and skin to their respective details page.
2023-12-05 15:41:40 +01:00
Rico van Zelst
48c74fb4d6 feat(sales): WIP: add SaleController, Current_sales component, and view
- Added a new file `SaleController.php` in the `app/Http/Controllers` directory to handle sales-related logic.
- Created a new file `Current_sales.php` in the `app/View/Components/Sales` directory to define the `Current_sales` component.
- Added a new file `current_sales.blade.php` in the `resources/views/components/sales` directory to display the current sales.
- Modified the `web.php` routes file to include a route for accessing the sales page.

These changes introduce functionality related to displaying and managing sales data on the website.
2023-12-05 13:35:59 +01:00