Commit Graph

75 Commits

Author SHA1 Message Date
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
Rico van Zelst
0723d5aa72 fix: center icon show + add alt to img 2023-11-27 20:48:33 +01:00
Rico van Zelst
3e7592fa9c feat: summoner icon show 2023-11-27 19:11:09 +01:00
Rico van Zelst
96c346f426 minor: add href. 2023-11-27 17:47:01 +01:00
Rico van Zelst
d9fac4259d feat: implement summoner emote index 2023-11-27 17:38:38 +01:00
Rico van Zelst
de9deadd97 feat: start on emote components... 2023-11-26 19:17:26 +01:00
Rico van Zelst
560c75a1b4 feat: asset page 2023-11-16 14:43:40 +01:00
Rico van Zelst
ad49426825 feat: active nav highlighting & icon fixes 2023-11-16 11:29:32 +01:00
Rico van Zelst
7c05647079 fix: improved tooltip 2023-11-15 14:51:17 +01:00
Rico van Zelst
cea55e776c feat: icon list + search functionality 2023-11-15 13:58:12 +01:00
Rico van Zelst
cc2ebc8899 feat: backlink to champ on skin 2023-11-15 10:24:47 +01:00
Rico van Zelst
7ced468ad1 feat: search through skins 2023-11-14 10:30:44 +01:00
Rico van Zelst
2aa85db037 fix: schar solution 2023-11-09 20:06:01 +01:00
Rico van Zelst
04b3784639 fix: typo 2023-11-09 19:56:00 +01:00
Rico van Zelst
eae85fa7b0 feat: backup text if no lore 2023-11-09 19:44:29 +01:00
Rico van Zelst
0351c6eaa9 fix: skin splash aspectratio 2023-11-09 17:09:18 +01:00
Rico van Zelst
c542a2421b feat: skin grid info 2023-11-09 14:55:57 +01:00
Rico van Zelst
86990c6fea feat: skin rarity color 2023-11-09 14:10:01 +01:00
Rico van Zelst
927f85600f axe: implement rule ID: aria-allowed-attr 2023-11-09 13:41:13 +01:00
Rico van Zelst
45ea4d6ab4 fix: footer margin top for spacing 2023-11-09 13:20:50 +01:00
Rico van Zelst
88a7ba0b3b fix: optimize home images 2023-11-09 12:42:03 +01:00
Rico van Zelst
6eb8a68f9b fix: link to skins page 2023-11-09 12:24:00 +01:00
Rico van Zelst
2b8e6d9327 feat: skin list 2023-11-09 12:20:46 +01:00
Rico van Zelst
3e2d8ad6fe feat: add footer 2023-11-09 11:15:18 +01:00
Rico van Zelst
225cab967d fix: vert scroll bug 2023-11-09 09:08:00 +01:00
Rico van Zelst
850564c096 style: move script to vite manifest 2023-11-09 08:54:32 +01:00
Rico van Zelst
00018878e0 feat: position filter 2023-11-08 21:40:51 +01:00
Rico van Zelst
c7eae5d41a fix: skin duplicate bug 2023-11-08 18:47:26 +01:00
Rico van Zelst
a61b4f8085 feat: sideways scroll improvement 2023-11-08 15:05:16 +01:00
Rico van Zelst
003c58544f feat: skin list on champion details 2023-11-08 15:01:20 +01:00
Rico van Zelst
68231197d0 fix: skin foreign key 2023-11-08 15:01:20 +01:00
Rico van Zelst
149174ebc3 feat: champ information, style improvement 2023-11-08 14:12:51 +01:00
Rico van Zelst
38247c71d9 feat: champ info start 2023-11-08 10:39:52 +01:00