Using Base Layout, homepage content#1
Merged
Merged
Conversation
3841946 to
a19d2d0
Compare
044ac16 to
a9b939e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 several foundational improvements to the Markket Astro storefront template, focusing on build automation, framework integrations, and enhanced content handling. The most important changes include the addition of a GitHub Actions workflow for automated pull request builds, integration of React and TailwindCSS into the Astro configuration, expanded dependencies, and a new rich content rendering component. There are also improvements to Strapi content loader configuration and sorting.
Build and Deployment Automation
.github/workflows/test_pr.ymlGitHub Actions workflow to automate testing and building on pull requests targetingmain, including environment setup and build verification.Framework and Tooling Integrations
astro.config.mjsto integrate React (@astrojs/react) and TailwindCSS (@tailwindcss/vite) via Vite plugins for enhanced UI development and styling.package.jsondependencies to include React, ReactDOM, TailwindCSS, Tabler Icons, marked (for markdown parsing), and Astro React integration.Content Rendering
src/components/BlocksContent.astro, a rich content block renderer supporting paragraphs, headings, code, lists, quotes, and images, with appropriate semantic HTML and styling.Content Loader Configuration
src/content/config.tsto add sorting to Strapi content loaders for pages, products, and posts, and introduced a workaround type to address type errors. [1] [2] [3]Analytics Integration
src/components/posthog.astrofor PostHog analytics integration, loading the tracking script using the public key from environment variables.