Commit Graph

259 Commits

Author SHA1 Message Date
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
bd6acbde6e feat(deps): add simonhamp/the-og dependency
This commit adds the "simonhamp/the-og" package as a new dependency in the composer.json file.
2024-01-07 03:25:19 +01:00
Rico van Zelst
2e7e7dc2a9 feat(config): add Cloudflare R2 filesystem configuration
- Added new environment variables for Cloudflare R2 access key, secret access key, bucket, endpoint, and URL in the .env.example file.
- Updated composer.json to include the league/flysystem-aws-s3-v3 package.
- Modified the filesystems.php configuration file to include a new 'r2' disk for Cloudflare R2 storage.
2024-01-07 03:02:40 +01:00
Rico
9872e5254b Merge pull request #74 from rico-vz/analysis-RPyo79
Apply fixes from StyleCI
2024-01-06 00:16:42 +01:00
Rico van Zelst
85e3c4ff2e feat(controllers): optimize caching and view data passing
- Refactored the ChampionController, ChampionSkinController, HomeController, SaleController, SummonerEmoteController, and SummonerIconController to use arrow functions for cache callbacks.
- Updated the view data passing in the ChampionController, ChampionSkinController, HomeController, PostsController, SaleController, SummonerEmoteController, and SummonerIconController to use associative arrays instead of compact().
- Removed unused imports from web.php.
2024-01-06 00:15:19 +01:00
Rico
b2dedb56c9 Apply fixes from StyleCI 2024-01-05 23:14:56 +00:00
Rico van Zelst
3717d3836e feat(deps): add Rector for code quality improvements
- Added "rector/rector" package to composer.json
- Created rector.php configuration file with rules for code quality improvements
2024-01-06 00:13:27 +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
72d49bc4ad Merge pull request #69 from rico-vz/dependabot/composer/intervention/image-3.2.1
build(deps): bump intervention/image from 3.2.0 to 3.2.1
2024-01-03 03:22:17 +01:00
Rico
103e3b8777 Merge pull request #70 from rico-vz/dependabot/composer/laravel/sanctum-3.3.3
build(deps): bump laravel/sanctum from 3.3.2 to 3.3.3
2024-01-03 03:22:00 +01:00
Rico
c6cbf21fd5 Merge pull request #71 from rico-vz/dependabot/composer/laravel/framework-10.39.0
build(deps): bump laravel/framework from 10.38.2 to 10.39.0
2024-01-03 03:21:51 +01:00
Rico
da6eae04f9 Merge pull request #72 from rico-vz/dependabot/composer/laravel/pulse-1.0.0-beta8
build(deps): bump laravel/pulse from 1.0.0-beta7 to 1.0.0-beta8
2024-01-03 03:21:38 +01:00
Rico
44594d0efd Merge pull request #73 from rico-vz/dependabot/composer/phpunit/phpunit-10.5.5
build(deps-dev): bump phpunit/phpunit from 10.5.3 to 10.5.5
2024-01-03 03:21:12 +01:00
dependabot[bot]
e6093275cf build(deps-dev): bump phpunit/phpunit from 10.5.3 to 10.5.5
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.3 to 10.5.5.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.5/ChangeLog-10.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.5.3...10.5.5)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 03:32:02 +00:00
dependabot[bot]
dc32f470f2 build(deps): bump laravel/pulse from 1.0.0-beta7 to 1.0.0-beta8
Bumps [laravel/pulse](https://github.com/laravel/pulse) from 1.0.0-beta7 to 1.0.0-beta8.
- [Commits](https://github.com/laravel/pulse/compare/v1.0.0-beta7...v1.0.0-beta8)

---
updated-dependencies:
- dependency-name: laravel/pulse
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 03:31:56 +00:00
dependabot[bot]
3f009345cd build(deps): bump laravel/framework from 10.38.2 to 10.39.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 10.38.2 to 10.39.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/10.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/framework/compare/v10.38.2...v10.39.0)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 03:31:43 +00:00
dependabot[bot]
29e0078ee9 build(deps): bump laravel/sanctum from 3.3.2 to 3.3.3
Bumps [laravel/sanctum](https://github.com/laravel/sanctum) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/laravel/sanctum/releases)
- [Changelog](https://github.com/laravel/sanctum/blob/3.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/sanctum/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: laravel/sanctum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 03:31:27 +00:00
dependabot[bot]
f56f9cf0a7 build(deps): bump intervention/image from 3.2.0 to 3.2.1
Bumps [intervention/image](https://github.com/Intervention/image) from 3.2.0 to 3.2.1.
- [Commits](https://github.com/Intervention/image/compare/3.2.0...3.2.1)

---
updated-dependencies:
- dependency-name: intervention/image
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 03:31:14 +00:00
Rico van Zelst
5aef60fc5e refactor(posts): update thumbnail image class
fixes #59
2023-12-28 15:06:09 +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
391e2a19f4 fix(about/faq): update League of Legends season end date
The answer to the question "When League of Legends season 13 end?" has been updated to reflect that Season 13 ends on January 9, 2024 at 12AM of the server's time zone. Additionally, it mentions that Season 14 will start on January 9th, 2024 when patch 14.1 is live.
2023-12-27 15:54:43 +01:00
Rico
6b2558e870 Merge pull request #65 from rico-vz/dependabot/composer/spatie/laravel-ignition-2.3.3
build(deps-dev): bump spatie/laravel-ignition from 2.3.2 to 2.3.3
2023-12-26 04:15:13 +01:00
Rico
113c25d335 Merge pull request #66 from rico-vz/dependabot/composer/spatie/sheets-1.11.0
build(deps): bump spatie/sheets from 1.10.0 to 1.11.0
2023-12-26 04:15:03 +01:00
Rico
f8860d7816 Merge pull request #67 from rico-vz/dependabot/composer/laravel/framework-10.38.2
build(deps): bump laravel/framework from 10.37.3 to 10.38.2
2023-12-26 04:14:53 +01:00
Rico van Zelst
ce69f0e409 refactor(helper): update image processing in HelperFunctions.php
- Replace the deprecated `Intervention\Image\ImageManagerStatic` with `Intervention\Image\ImageManager`.
- Use the `Intervention\Image\Drivers\Gd\Driver` for image manipulation.
- Update the code to read and resize images using the new ImageManager instance.
- Modify color picking logic to use the updated syntax for accessing RGB values.
2023-12-25 23:50:18 +01:00
dependabot[bot]
374e54f0ff build(deps): bump laravel/framework from 10.37.3 to 10.38.2
Bumps [laravel/framework](https://github.com/laravel/framework) from 10.37.3 to 10.38.2.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/10.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/framework/compare/v10.37.3...v10.38.2)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 22:33:13 +00:00
Rico van Zelst
920227950d Merge remote-tracking branch 'origin/dependabot/composer/intervention/image-3.2.0' 2023-12-25 23:33:03 +01:00
dependabot[bot]
55861f5b14 build(deps): bump intervention/image from 3.1.0 to 3.2.0
Bumps [intervention/image](https://github.com/Intervention/image) from 3.1.0 to 3.2.0.
- [Commits](https://github.com/Intervention/image/compare/3.1.0...3.2.0)

---
updated-dependencies:
- dependency-name: intervention/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 03:37:54 +00:00
dependabot[bot]
926502c902 build(deps): bump spatie/sheets from 1.10.0 to 1.11.0
Bumps [spatie/sheets](https://github.com/spatie/sheets) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/spatie/sheets/releases)
- [Changelog](https://github.com/spatie/sheets/blob/main/CHANGELOG.md)
- [Commits](https://github.com/spatie/sheets/compare/1.10.0...1.11.0)

---
updated-dependencies:
- dependency-name: spatie/sheets
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 03:37:31 +00:00
dependabot[bot]
6bdb63e39e build(deps-dev): bump spatie/laravel-ignition from 2.3.2 to 2.3.3
Bumps [spatie/laravel-ignition](https://github.com/spatie/laravel-ignition) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/spatie/laravel-ignition/releases)
- [Changelog](https://github.com/spatie/laravel-ignition/blob/main/CHANGELOG.md)
- [Commits](https://github.com/spatie/laravel-ignition/compare/2.3.2...2.3.3)

---
updated-dependencies:
- dependency-name: spatie/laravel-ignition
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 03:37:17 +00:00
Rico
c6ebf53c58 Merge pull request #60 from rico-vz/dependabot/composer/intervention/image-3.1.0
build(deps): bump intervention/image from 3.0.1 to 3.1.0
2023-12-18 23:57:50 +01:00
Rico
88b69efc96 Merge pull request #61 from rico-vz/dependabot/composer/spatie/laravel-ignition-2.3.2
build(deps-dev): bump spatie/laravel-ignition from 2.3.1 to 2.3.2
2023-12-18 23:57:33 +01:00
Rico
6cbdb5b976 Merge pull request #62 from rico-vz/dependabot/composer/phpunit/phpunit-10.5.3
build(deps-dev): bump phpunit/phpunit from 10.5.2 to 10.5.3
2023-12-18 23:57:21 +01:00
Rico
d00b71f417 Merge pull request #63 from rico-vz/dependabot/composer/laravel/framework-10.37.3
build(deps): bump laravel/framework from 10.35.0 to 10.37.3
2023-12-18 23:57:08 +01:00
Rico
70ff2cc14e Merge pull request #64 from rico-vz/dependabot/composer/laravel/pulse-1.0.0-beta7
build(deps): bump laravel/pulse from 1.0.0-beta2 to 1.0.0-beta7
2023-12-18 23:56:33 +01:00
dependabot[bot]
75fddfeb50 build(deps): bump laravel/pulse from 1.0.0-beta2 to 1.0.0-beta7
Bumps [laravel/pulse](https://github.com/laravel/pulse) from 1.0.0-beta2 to 1.0.0-beta7.
- [Commits](https://github.com/laravel/pulse/compare/v1.0.0-beta2...v1.0.0-beta7)

---
updated-dependencies:
- dependency-name: laravel/pulse
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 03:58:31 +00:00
dependabot[bot]
122a1ffa70 build(deps): bump laravel/framework from 10.35.0 to 10.37.3
Bumps [laravel/framework](https://github.com/laravel/framework) from 10.35.0 to 10.37.3.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/10.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/framework/compare/v10.35.0...v10.37.3)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 03:58:08 +00:00
dependabot[bot]
b7d9dfdc6b build(deps-dev): bump phpunit/phpunit from 10.5.2 to 10.5.3
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.2 to 10.5.3.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.3/ChangeLog-10.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.5.2...10.5.3)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 03:57:38 +00:00
dependabot[bot]
8a2f441818 build(deps-dev): bump spatie/laravel-ignition from 2.3.1 to 2.3.2
Bumps [spatie/laravel-ignition](https://github.com/spatie/laravel-ignition) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/spatie/laravel-ignition/releases)
- [Changelog](https://github.com/spatie/laravel-ignition/blob/main/CHANGELOG.md)
- [Commits](https://github.com/spatie/laravel-ignition/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: spatie/laravel-ignition
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 03:57:25 +00:00
dependabot[bot]
bffb2ee813 build(deps): bump intervention/image from 3.0.1 to 3.1.0
Bumps [intervention/image](https://github.com/Intervention/image) from 3.0.1 to 3.1.0.
- [Commits](https://github.com/Intervention/image/compare/3.0.1...3.1.0)

---
updated-dependencies:
- dependency-name: intervention/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 03:57:02 +00: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
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
68d905ee42 refactor: Update FAQ dropdown to include schema.org markup (pr #58 from rico-vz/FAQSEO)
refactor: Update FAQ dropdown to include schema.org markup
2023-12-14 14:37:41 +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
05048d159a feat: SEO Improvements for posts (pr #57 from rico-vz/posts)
feat: SEO Improvements for posts
2023-12-14 14:32:03 +01:00
Rico van Zelst
c95d28164f feat: Add meta tag for thumbnail URL
Added a new meta tag with the property "thumbnailUrl" to the show.blade.php file. The content of the meta tag is set to the value of `$post->thumbnail`. This will help improve SEO by providing search engines with information about the thumbnail image associated with the post.
2023-12-14 14:29:24 +01:00
Rico van Zelst
20bdb09a8e feat: Add post thumbnail to show page
This commit adds a post thumbnail to the show page of a post. The thumbnail is displayed below the date and above the post title. It is an image with the source set to the URL of the post's thumbnail and alt text set to the post's title. The image has a fixed height, rounded corners, and a semi-transparent border.
2023-12-14 14:20:55 +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
2ef8330132 Merge branch 'main' into posts 2023-12-14 13:50:41 +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