Commit Graph

111 Commits

Author SHA1 Message Date
Rico van Zelst
7fd5f92853 fix(schedule): make seed scheduler work on prod. 2023-12-10 17:56:56 +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
8fa2d066c8 Apply fixes from StyleCI 2023-12-05 14:41:37 +00: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
76d9a0c3ab style(*): update style
- Update the anonymous class syntax in the `add_admin_to_users` migration to use parentheses instead of a space before the opening brace.
- This change ensures compatibility with newer versions of PHP.
2023-12-01 21:50:26 +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
d79c0dba5f style: laravel pint 2023-11-27 20:49:41 +01:00
Rico van Zelst
3e7592fa9c feat: summoner icon show 2023-11-27 19:11:09 +01:00
Rico van Zelst
383099910d fix: reverse summoner icon sorting
when you check out the icons, most of the time you probably are looking for recent ones not ones from 2009.
2023-11-27 17:39:59 +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
4d118028b8 Apply fixes from StyleCI 2023-11-26 17:24:33 +00:00
Rico van Zelst
c11df81e5c feat: emote data 2023-11-26 18:24:23 +01:00
Rico van Zelst
1a6091e099 feat: code for emotes 2023-11-26 17:52:06 +01:00
Rico
d07bda0fa3 Apply fixes from StyleCI 2023-11-26 16:39:54 +00:00
Rico van Zelst
a2dc7ad465 feat: implement sqids 2023-11-26 17:39:45 +01:00
Rico van Zelst
f79395cfae cache time 2023-11-26 16:20:06 +01:00
Rico van Zelst
560c75a1b4 feat: asset page 2023-11-16 14:43:40 +01:00
Rico
3fcbbc8e9c Apply fixes from StyleCI 2023-11-16 10:29:51 +00:00
Rico van Zelst
cea55e776c feat: icon list + search functionality 2023-11-15 13:58:12 +01:00
Rico van Zelst
9dfe98cbef fix: only clear cloudflare on prod 2023-11-14 11:02:42 +01:00
Rico van Zelst
7ced468ad1 feat: search through skins 2023-11-14 10:30:44 +01:00
Rico van Zelst
36009e116e feat: cloudflare purge command 2023-11-09 16:22:14 +01:00
Rico
590070b49b Apply fixes from StyleCI 2023-11-09 13:56:07 +00: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
88a7ba0b3b fix: optimize home images 2023-11-09 12:42:03 +01:00
Rico van Zelst
2b8e6d9327 feat: skin list 2023-11-09 12:20:46 +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
68231197d0 fix: skin foreign key 2023-11-08 15:01:20 +01:00
Rico
8ad573c920 Apply fixes from StyleCI 2023-11-08 13:13:00 +00: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
d17d19bac6 fix: query optimization
 166 Queries -> 2 Queries (cached)
2023-11-07 22:04:00 +01:00
Rico van Zelst
b5342fcc9d style: remove unused code 2023-11-07 19:15:09 +01:00
Rico van Zelst
4445bc1478 feat: champion list 2023-11-07 17:28:37 +01:00
Rico van Zelst
1f4e18641b fix: use https on prod 2023-11-07 14:10:28 +01:00
Rico van Zelst
ab15e38ac0 feat: skinline tags 2023-11-07 13:16:46 +01:00
Rico van Zelst
67df40dce6 fix: optimize queries 2023-11-07 08:38:17 +01:00
Rico
4e05fcee91 Apply fixes from StyleCI 2023-11-06 20:47:58 +00:00
Rico van Zelst
90e36c74ec feat: caching 2023-11-06 21:47:51 +01:00
Rico van Zelst
3d6c00dd0d feat: upcoming skins & feat: return types 2023-11-06 20:56:21 +01:00
Rico van Zelst
1262ea3475 fix: fix bug in component 2023-11-06 00:59:45 +01:00
Rico van Zelst
5898983aed style: style fix 2023-11-06 00:58:37 +01:00
Rico van Zelst
0fb5f76ad2 feat: add recent skins to home 2023-11-06 00:56:11 +01:00
Rico van Zelst
18d293d049 feat: scheduled data gathering 2023-11-02 14:59:15 +01:00
Rico van Zelst
9f419ca0ca fix: bug with role accessor 2023-11-02 14:16:08 +01:00
Rico van Zelst
5ee2e0ad68 feat: champion roles data seeder 2023-11-02 13:54:27 +01:00
Rico van Zelst
91ec747c2c style: make per the coding style in pint 2023-11-02 13:05:53 +01:00