Commit Graph

792 Commits

Author SHA1 Message Date
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
Rico
ca94ef62d0 . 2023-12-12 14:44:43 +01:00
Rico
6f3c173c01 feat: Posts implementation #56
feat: Posts implementation
2023-12-12 14:43:23 +01:00
Rico van Zelst
079cca3751 refactor: Remove unused imports and dependencies
This commit removes unused imports and dependencies in the Listposts component, improving code cleanliness and reducing potential confusion.
2023-12-12 14:41:49 +01:00
Rico van Zelst
83eb1421f7 refactor: Update itemid attribute in show.blade.php
The commit updates the itemid attribute in the show.blade.php file to dynamically set it based on the current URL. This change improves the accuracy of metadata for search engine optimization.
2023-12-12 14:40:52 +01:00
Rico van Zelst
3de5f42860 feat: blog post show page 2023-12-12 14:32:44 +01:00
Rico van Zelst
87210ccac9 feat: add working posts index 2023-12-12 12:32:52 +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
25c3675c2b feat: Add PostsController and configure routes
- Added a new file `PostsController.php` in the `app/Http/Controllers` directory.
- Implemented the `index()` method to retrieve all posts using the Sheets facade.
- Implemented the `show()` method to display a single post using route model binding with Sheets.
- Updated the `RouteServiceProvider.php` file to bind the 'post' route parameter to retrieve posts from the Sheets collection.
- Created a new configuration file `sheets.php` in the `config` directory, defining default settings for collections and their corresponding sheet classes, path parsers, content parsers, and extensions.
- Added a new markdown file `hello-world.md` in the `content/posts` directory as an example post.
- Created two new blade view files: `index.blade.php` and `show.blade.php`, under the `resources/views/posts` directory, for displaying lists of posts and individual post details respectively.
- Modified the existing web routes (`web.php`) to include routes for accessing posts.

The changes enable users to view all posts on `/posts`, as well as access individual post details at `/post/{post}`.
2023-12-12 10:23:15 +01:00
Rico van Zelst
bb25cc4aee chore: Update composer.lock
- Updated the version of "andcarpi/laravel-popper" package from 1.0.0 to 1.1.0
- Updated the version of "carbonphp/carbon-doctrine-types" package from 2.0.0 to 2.1.0
- Updated the version of "spatie/sheets" package from 1.9.0 to 1.10.0
- Added a new package "spatie/yaml-front-matter" with version 2.0.8
- Updated the version of "symfony/yaml" package from v6.3.4 to v6.4.0
- Updated the version of "mockery/mockery" package from 1.6.6 to 1.6
2023-12-12 09:39:51 +01:00
Rico van Zelst
ae545c125a feat: Add spatie/sheets package
Added the "spatie/sheets" package to the composer.json file. This package will be used for handling spreadsheets in the project.
2023-12-12 09:39:35 +01:00
Rico
b61d16cec4 Merge pull request #52 from rico-vz/dependabot/composer/laravel/sail-1.26.3
build(deps-dev): bump laravel/sail from 1.26.2 to 1.26.3
2023-12-12 08:43:56 +01:00
Rico
64f7bb5add Merge pull request #49 from rico-vz/dependabot/composer/intervention/image-3.0.1
build(deps): bump intervention/image from 2.7.2 to 3.0.1
2023-12-12 08:43:42 +01:00
Rico
715c51be50 Merge pull request #50 from rico-vz/dependabot/composer/phpunit/phpunit-10.5.2
build(deps-dev): bump phpunit/phpunit from 10.5.1 to 10.5.2
2023-12-12 08:43:23 +01:00
dependabot[bot]
237c1710c9 build(deps-dev): bump phpunit/phpunit from 10.5.1 to 10.5.2
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.1 to 10.5.2.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.2/ChangeLog-10.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.5.1...10.5.2)

---
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-11 10:21:04 +00:00
dependabot[bot]
02d273b88a build(deps): bump intervention/image from 2.7.2 to 3.0.1
Bumps [intervention/image](https://github.com/Intervention/image) from 2.7.2 to 3.0.1.
- [Commits](https://github.com/Intervention/image/compare/2.7.2...3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 10:21:00 +00:00
Rico
10953adff6 Merge pull request #51 from rico-vz/dependabot/composer/laravel/framework-10.35.0
build(deps): bump laravel/framework from 10.34.2 to 10.35.0
2023-12-11 11:20:16 +01:00
dependabot[bot]
1c75d0e83f build(deps-dev): bump laravel/sail from 1.26.2 to 1.26.3
Bumps [laravel/sail](https://github.com/laravel/sail) from 1.26.2 to 1.26.3.
- [Release notes](https://github.com/laravel/sail/releases)
- [Changelog](https://github.com/laravel/sail/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/sail/compare/v1.26.2...v1.26.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 10:19:51 +00:00