Skip to content

Commit ea9ed0f

Browse files
Website mode (#13055)
* hide icons * website mode * read only * hover menu items in website mode * modals * os specific menu items * Merge branch 'master' into boring * disable fading desktop icons * make headline more clear * max-width on taskbar menu, kbd shortcut for modes * use tw for editor maxwidth * contain presentation, reader * fixed syntax error * reader: kill top border, rounding, fixed padding * Merge branch 'master' into boring * general website mode layout changes * modals * autoheight modals * perf boost * restore unchanged files * restore unchanged files * merch nav * merch * home fix * mdx in websitemode in editor * changelog * more page conversions * modal types * fix home app library link in website mode * remove dupe scrollareas * events/places * floating modal (for ai chat) * footer * fix changelog * max width * better modal * website search * auto close cearch * move website mode search * floating modal style * better floating modal * make it draggable * collision * polish * fix community page * tab polish * more polish * product pages * dark mode * roadmap modal * backgrounds * forum back button * chevron menu * home max width * taskbar offset * fix double border * no loader in website mode * min-height * fixes * only in website mode * mobile cleanup/footer polish * slim footer * store windows in ref * fix taskbar height issue * sidebars * make desktop background resize to available space * docs sidebar bg color * website mode buttons * events/merch * explorer fixes * handbook fixes * hide switch on mobile * fix sidebar buug * scroll offset * post filter color * spacing * events * quick fix * quick fix * skip fonts * height fixes --------- Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
1 parent 5d86248 commit ea9ed0f

77 files changed

Lines changed: 2500 additions & 1458 deletions

Some content is hidden

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ __pycache__
3535
*.pyc
3636
*.pyo
3737

38+
.env*.local

contents/index.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,9 @@ Questions? [Watch a demo](/demo) or [talk to a human](/talk-to-a-human).
4545

4646
## Explore apps <span class="text-secondary text-sm font-normal tracking-normal">by company stage</span>
4747

48-
<aside class="hidden @xl:inline-flex">
48+
<aside class="hidden @xl:inline-flex [&_p]:m-0">
4949

50-
<span class="[&_p]:m-0">
51-
[Browse app library](/products) (<AppCount />)
52-
</span>
50+
<AppCount />
5351

5452
</aside>
5553
</header>

gatsby-browser.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import React from 'react'
22
import { initKea, wrapElement } from './kea'
3+
import '@fontsource-variable/ibm-plex-sans'
4+
import '@fontsource-variable/ibm-plex-sans/wght-italic.css'
35
import './src/styles/global.css'
46
import { Provider as ToastProvider } from './src/context/Toast'
57
import { RouteUpdateArgs } from 'gatsby'
@@ -43,3 +45,10 @@ export const wrapPageElement = ({ element, props: { location } }) => {
4345
</Provider>
4446
)
4547
}
48+
49+
export const shouldUpdateScroll = ({ routerProps: { location } }) => {
50+
if (location.state?.preventScroll) {
51+
return false
52+
}
53+
return true
54+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"@dnd-kit/sortable": "^10.0.0",
4242
"@dnd-kit/utilities": "^3.2.2",
4343
"@dotlottie/react-player": "^1.6.6",
44+
"@fontsource-variable/ibm-plex-sans": "^5.2.8",
4445
"@fontsource/source-code-pro": "^4.5.4",
4546
"@gatsbyjs/reach-router": "^1.3.9",
4647
"@headlessui/react": "^1.7.13",

pnpm-lock.yaml

Lines changed: 22 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/AppStatus/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Link from 'components/Link'
22
import { getStatusColor, getStatusDescription, useAppStatus } from 'hooks/useAppStatus'
33
import React from 'react'
44

5-
export default function AppStatus() {
5+
export default function AppStatus({ textClassName = '' }: { textClassName?: string }) {
66
const { loading, status: appStatus } = useAppStatus()
77

88
return loading ? null : (
@@ -12,7 +12,7 @@ export default function AppStatus() {
1212
externalNoIcon
1313
>
1414
<span className={`text-2xl -mt-1 ${getStatusColor(appStatus)}`}>&bull;</span>
15-
<span className="text-sm group-hover:underline">{getStatusDescription(appStatus)}</span>
15+
<span className={`text-sm group-hover:underline ${textClassName}`}>{getStatusDescription(appStatus)}</span>
1616
</Link>
1717
)
1818
}

0 commit comments

Comments
 (0)