Skip to content

Commit

Permalink
merge remote
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-phan committed Aug 8, 2024
2 parents 5e0c314 + a5ae580 commit 709d621
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
actions: write
Expand Down Expand Up @@ -40,7 +39,7 @@ jobs:
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: 📥 Install pnpm
uses: pnpm/action-setup@v3
Expand Down
34 changes: 34 additions & 0 deletions docs/advanced/custom-page.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Custom Pages
description: Create Hydrogen custom pages with Weaverse.
publishedAt: July 29, 2024
updatedAt: July 29, 2024
order: 0
published: true
---

## Overview

Custom pages are a powerful feature that allows you to create custom routes for your Hydrogen storefront. With Weaverse, you can easily create custom pages that are tailored to your specific needs and branding.

In this guide, we will walk you through the process of creating a custom page in Weaverse. We will cover the following topics:

- Setting up a custom page in Weaverse
- Set up the Hydrogen catch-all route
- Customizing the page in Weaverse
- Adding custom components to the page

By the end of this guide, you will have a custom page in Weaverse that is fully customizable and responsive.

## Setting up a custom page in Weaverse

To create a custom page in Weaverse, follow these steps:

1. Open the Weaverse Studio and in the top bar, click on to the Page navigation Dropdown.
2. Now you will see a Create custom page option. Click on it to create a new page.
![Create custom page](https://cdn.shopify.com/s/files/1/0838/0052/3057/files/create_custom_page.png?v=1719822975)
3. Give your page a name and handle and click on Create custom page.

![Create custom page 2](https://cdn.shopify.com/s/files/1/0838/0052/3057/files/create_custom_page.png?v=1719822975)

4.
3 changes: 2 additions & 1 deletion packages/biome/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"a11y": {
"noSvgWithoutTitle": "warn",
"useMediaCaption": "warn",
"useKeyWithClickEvents": "off"
"useKeyWithClickEvents": "off",
"useButtonType": "warn"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/biome/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@weaverse/biome",
"version": "1.0.3",
"version": "1.0.4",
"description": "Biome configuration for Weaverse",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
2 changes: 1 addition & 1 deletion templates/pilot
Submodule pilot updated from b0b01f to fb2816

0 comments on commit 709d621

Please sign in to comment.