Commit Graph

130 Commits

Author SHA1 Message Date
Rico van Zelst
b7b3fab027 refactor(emotes): update emotes index view
- Refactored the emotes index view to extend the 'layouts.app' blade template.
- Updated the title and description sections with dynamic content using Blade directives.
- Removed unnecessary meta tags related to favicon, OpenGraph, and Twitter.
- Added a new section for content and included the 'x-emotes.list_all' component.

This commit improves the structure and organization of the emotes index view by utilizing reusable components and dynamic content.
2023-12-08 17:41:33 +01:00
Rico van Zelst
561e53cee6 feat(icons): update index and show blade templates
- Updated the `index.blade.php` template to extend the `layouts.app` layout.
- Added a title and description section for SEO purposes in the `index.blade.php` template.
- Removed unnecessary HTML tags from the `index.blade.php` template.
- Updated the `show.blade.php` template to extend the `layouts.app` layout.
- Added a title and description section for SEO purposes in the `show.blade.php` template.
- Removed unnecessary HTML tags from the `show.blade.php` template.
2023-12-08 17:39:24 +01:00
Rico van Zelst
031883ad36 refactor(sales): update sales index view
- Refactored the sales index view to extend the 'layouts.app' blade template.
- Updated the title and description sections with appropriate content.
- Removed unnecessary meta tags related to icons, OpenGraph, and Twitter.
- Added a new section for content and included the 'x-sales.current_sales' component.

This commit improves the structure and content of the sales index page.
2023-12-08 17:34:55 +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
Rico van Zelst
7833921632 chore(views): update livestreaming website name
The livestreaming website name "Trello" has been replaced with "Trovo" in the about/index.blade.php file. This change reflects the correct information regarding where League of Legends events are broadcasted.
2023-12-08 14:43:25 +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
2374a39c77 feat(monitoring): add pulse
- Added a new gate called `viewPulse` in the `AuthServiceProvider` class.
- The gate allows only admin users to view the Pulse feature.
2023-12-01 21:49:26 +01:00
Rico van Zelst
d08702888f fix: meta for assets & emotes 2023-11-28 09:33:28 +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
08693eb302 style: cleaner vite import 2023-11-09 13:20:00 +01:00
Rico van Zelst
b8c924442d fix: further css loading optim 2023-11-09 13:06:32 +01:00
Rico van Zelst
754c97774e fix: async load inter font 2023-11-09 12:51:29 +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
70306245e6 fix: add footer to all pages 2023-11-09 11:16:17 +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
Rico van Zelst
cabb5414ae axe: accessibility text size 2023-11-07 22:24:02 +01:00
Rico van Zelst
1b58cbc388 seo: description meta 2023-11-07 22:15:58 +01:00