Minecraft and Blog Subdirectory Integration #2305
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces multiple updates to the Codeweek platform, focusing on improving functionality, adding new features, and fixing various issues related to the Minecraft section, Tailwind CSS integration, and Blade templates. Below is a detailed list of changes:
Key Changes:
Added Blog Subdirectory in Menu:
Updated the blog link in menu.blade.php to point to the correct subdirectory.
Minecraft Section and Blade Component:
Added a new Minecraft section to the homepage.
Created a custom Blade component (MinecraftSection) and integrated it into the homepage Blade template.
Tailwind CSS and Autoprefixer Configuration:
Integrated Tailwind CSS and Autoprefixer into the build process by updating package.json, vite.config.js, and the Tailwind config file (tailwind.config.js).
Logo and Path Fixes:
Fixed the absolute path in menu.blade.php to prevent 404 errors for the blog link.
Replaced Minecraft SVG logo with PNG format for better compatibility and updated the relevant Blade views.
Reverted and Updated Package Files:
Added Tailwind directives (@tailwind base, @tailwind components, @tailwind utilities) to app.scss and style.scss to ensure the Tailwind styles are compiled correctly.
Files Modified and Added:
Additional Notes:
The changes ensure that Tailwind CSS and Autoprefixer are properly configured in the project while reverting earlier problematic package file versions.
The custom Blade component for Minecraft can be reused across multiple views, enhancing code reusability and reducing redundancy.