Skip to content

Commit ef2d8e7

Browse files
authored
feat: release (#104)
Release of the blog, new section of Aztec Handbook and general fixes.
2 parents ae12208 + 2f054ee commit ef2d8e7

191 files changed

Lines changed: 6923 additions & 6154 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test-scripts.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
- name: Install dependencies
2929
run: pnpm install --frozen-lockfile
3030

31-
- name: Run tests
31+
- name: Run scripts tests
3232
working-directory: scripts
33+
run: pnpm test
34+
35+
- name: Run wonderland tests
36+
working-directory: sites/wonderland
3337
run: pnpm test

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ From the root of the monorepo:
2828
```bash
2929
pnpm install # Install all dependencies across packages/sites
3030
pnpm --filter [name]-handbook build:assets # Build common files, and copy them into the specific site
31-
pnpm --filter [name]-handbook start # Start the site locally
31+
pnpm --filter [name]-handbook start # Start the site locally
3232
```
3333

3434
**Example with the Wonderland handbook:**
@@ -65,16 +65,19 @@ pnpm create-handbook <site-name>
6565
```
6666

6767
This will:
68+
6869
1. Create a new site in `sites/<site-name>` based on the template
6970
2. Update the package.json with the correct site name
7071
3. Set up all necessary configurations
7172

7273
**Example:**
74+
7375
```bash
7476
pnpm create-handbook my-new-handbook
7577
```
7678

7779
After creation, you can build and start the new site:
80+
7881
```bash
7982
cd sites/my-new-handbook
8083
pnpm build:assets

packages/common-config/src/components/CategoryCards/styles.module.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,22 @@
77
margin-top: 1.5rem;
88
padding: 0 0;
99
margin-bottom: 2rem;
10-
max-width: 66rem;
10+
max-width: 80rem;
1111
justify-items: center;
1212
}
1313

1414
.categoryCard {
1515
background: rgba(255, 255, 255, 0.08);
1616
height: 7.5rem;
17-
width: 15.6rem;
17+
width: 100%;
1818
border: 1px solid rgba(255, 255, 255, 0.2);
1919
border-radius: 10px;
2020
display: flex;
2121
align-items: center;
2222
justify-content: center;
2323
gap: 0.75rem;
24+
padding: 0 1rem; /* provide breathing room so long titles don't clip */
25+
box-sizing: border-box;
2426
transition: all 0.3s ease;
2527
text-decoration: none !important;
2628
position: relative;
@@ -84,8 +86,8 @@
8486
-apple-system,
8587
sans-serif;
8688
font-weight: 500;
87-
font-size: 1rem;
88-
line-height: 0.7;
89+
font-size: 0.9rem;
90+
line-height: 1.2;
8991
padding-top: 0.15em;
9092
color: var(--wonderland-gray-100);
9193
margin: 0;
@@ -95,6 +97,7 @@
9597
position: relative;
9698
z-index: 1;
9799
text-decoration: none !important;
100+
white-space: nowrap;
98101
}
99102

100103
.categoryTitle::after {
@@ -116,7 +119,7 @@
116119
}
117120

118121
.categoryTitle {
119-
font-size: 0.8rem;
122+
font-size: 0.75rem;
120123
}
121124
.categoryIcon {
122125
width: 30px;
@@ -143,7 +146,7 @@
143146
}
144147

145148
.categoryTitle {
146-
font-size: 1rem;
149+
font-size: 0.75rem; /* keep smaller on narrower screens to prevent overflow */
147150
}
148151
.categoryIcon {
149152
width: 40px;
16.6 KB
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)