Seperates Blocks home pages #147
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 several updates and improvements to the PlayCanvas Blocks project, focusing on documentation enhancements, new components, and minor adjustments to styles and functionality. Key changes include the addition of new documentation pages, updates to the vignette intensity in the style utilities, and the introduction of a new
Block
component.Documentation Updates:
packages/docs/content/blocks/getting-started.mdx
, detailing installation instructions for PlayCanvas Blocks and Tailwind v4.packages/docs/content/blocks/index.mdx
), highlighting features, usage, and the "Splat Viewer" block.splat-viewer
documentation file (packages/docs/content/blocks/splat-viewer.mdx
), separating it from the main "Blocks" index page.Component Additions and Updates:
Block
component inpackages/docs/components/Check.tsx
, designed to display features or blocks with an icon and description.packages/blocks/src/splat-viewer/utils/style.ts
from0.4
to0.6
for improved visual effects.Registry and Metadata Adjustments:
packages/docs/registry.json
) to rename "3D Blocks" to "Blocks" and updated URLs for better alignment with the new documentation structure. [1] [2]splatUrl
inpackages/docs/registry/splat-viewer.tsx
to point to a new compressed 3D model URL.Minor Changes:
packages/docs/content/docs/index.mdx
for improved visual alignment.packages/blocks/README.md
to reference Tailwind v4.