- 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.
- 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
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.
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.
- 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
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.
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.
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.
- 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}`.
- 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
- 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>`.
- 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
- 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.
- Updated the `index.blade.php` view to extend the `layouts.app` template and added a title, description, and content section.
- Added a new script (`lane-filter.js`) to be included in the `top_scripts` stack.
- Updated the `show.blade.php` view to extend the `layouts.app` template and added a title, description, and content section.
- Added a new script (`vert-scroll.js`) to be included in the `bottom_scripts` stack.