Skip to content

Commit 4210c9f

Browse files
Merge branch 'main' into oas-fixed
2 parents 8370b98 + 3a02109 commit 4210c9f

File tree

212 files changed

+17781
-9072
lines changed

Some content is hidden

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

212 files changed

+17781
-9072
lines changed

.env.example

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
NUXT_PUBLIC_SITE_URL=http://localhost:3000
22
NUXT_SITE_ENV=preview
3-
NUXT_PRODUCT_DIRECTUS_URL=https://product-team.directus.app
3+
NUXT_PUBLIC_NEWSLETTER_URL=https://product-team.directus.app/flows/trigger/webhook_id
4+
NUXT_PUBLIC_PRODUCT_DIRECTUS_URL=https://product-team.directus.app
5+
NUXT_IMAGE_DOMAINS="product-team.directus.app"
6+
POSTHOG_API_KEY="phc_api_key"
7+
POSTHOG_API_HOST="https://us.i.posthog.com"
8+
ALGOLIA_API_KEY="api_key"
9+
ALGOLIA_APPLICATION_ID="application_id"

.github/workflows/lint-app.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ concurrency:
1414

1515
env:
1616
NODE_OPTIONS: --max_old_space_size=6144
17+
NUXT_PUBLIC_PRODUCT_DIRECTUS_URL: https://product-team.directus.app
1718

1819
jobs:
1920
app-lint:

.github/workflows/lint-oas.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ concurrency:
1414

1515
env:
1616
NODE_OPTIONS: --max_old_space_size=6144
17+
NUXT_PUBLIC_PRODUCT_DIRECTUS_URL: https://product-team.directus.app
1718

1819
jobs:
1920
oas-lint:

.github/workflows/typecheck.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ concurrency:
1414

1515
env:
1616
NODE_OPTIONS: --max_old_space_size=6144
17+
NUXT_PUBLIC_PRODUCT_DIRECTUS_URL: https://product-team.directus.app
1718

1819
jobs:
1920
typecheck:
@@ -28,3 +29,4 @@ jobs:
2829

2930
- name: Run Typechecker
3031
run: pnpm typecheck
32+

app/app.config.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

app/assets/css/_vars.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
:root {
55

6-
--font--body: 'IBM Plex Sans', sans-serif;
6+
--font--body: 'Inter', sans-serif;
77
--font--header: 'Poppins', sans-serif;
8-
--font--code: 'IBM Plex Mono', monospace;
8+
--font--code: 'Fira Mono', monospace;
99

1010
--width-md: 768px;
1111
--width-lg: 1024px;
@@ -35,7 +35,7 @@
3535
--area--community: var(--red);
3636
}
3737

38-
.dark-mode {
38+
.dark {
3939
--typography: var(--white);
4040
--typography-subdued: color-mix(in hsl shorter hue, var(--white) 70%, var(--black) 30%);
4141

app/assets/css/main.scss

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ body {
66
background-color: var(--background);
77
font-family: var(--font--body);
88
color: var(--typography);
9+
max-width: 100vw;
10+
}
11+
12+
.light {
13+
color-scheme: light;
14+
}
15+
16+
.dark {
17+
color-scheme: dark;
18+
}
19+
20+
html {
21+
overflow: overlay;
22+
scrollbar-color: var(--border-subtle) var(--background-subdued);
23+
scrollbar-width: thin;
924
}
1025

1126
a {
@@ -34,6 +49,9 @@ pre {
3449
padding: 0 24px;
3550
margin-left: auto;
3651
margin-right: auto;
52+
@media (max-width: 768px) {
53+
padding: 0 12px;
54+
}
3755
}
3856

3957
.container .container {
@@ -62,7 +80,7 @@ pre {
6280
font-size: 1.1rem;
6381
}
6482
}
65-
p, img, ul, ol, table, .TabsRoot {
83+
p, img, ul, ol, .prose-table-wrapper, .TabsRoot {
6684
margin-bottom: 1rem;
6785
}
6886
.box, .directus-cloud, .callout, .prose-pre {
@@ -74,7 +92,7 @@ pre {
7492
margin-top: 0.5rem;
7593
}
7694
}
77-
a:not(.callout):not([href*='directus.io']):not([href*='directus.cloud']):not([href*='localhost']):not([href*='127.0.0.1'])[href*='//']{
95+
a:not(.article-card):not(.callout):not([href*='directus.io']):not([href*='directus.cloud']):not([href*='localhost']):not([href*='127.0.0.1'])[href*='//']{
7896
display: inline-block;
7997
&:after {
8098
--size: 1rem;
@@ -84,7 +102,7 @@ pre {
84102
background-size: var(--size);
85103
width: var(--size);
86104
height: var(--size);
87-
}
105+
vertical-align: sub; }
88106
}
89107
img {
90108
border-radius: var(--border-radius);
@@ -124,6 +142,12 @@ pre {
124142
svg.icon {
125143
margin-bottom: 4px;
126144
}
145+
video {
146+
width: 100%;
147+
border-radius: var(--border-radius);
148+
overflow: hidden;
149+
margin-bottom: 1rem;
150+
}
127151
}
128152

129153
.section-title {
@@ -132,3 +156,8 @@ pre {
132156
font-size: 14px;
133157
font-weight: 500;
134158
}
159+
160+
hr {
161+
border: 0;
162+
border-top: 2px solid var(--border);
163+
}

app/assets/icons/products/auth-purple.svg

Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)