Skip to content

Commit

Permalink
added welcome pane artwork
Browse files Browse the repository at this point in the history
  • Loading branch information
corywatilo committed Dec 5, 2023
1 parent 14d3db3 commit 48459ab
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 21 deletions.
Binary file added frontend/public/3000/3000-launch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
background: #2b2b33;
}
}

.hero-art {
background: url('../../../../../public/3000/3000-launch.png') 400% 100% / 95% no-repeat;
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,27 +97,28 @@ export const SidePanelWelcome = (): JSX.Element => {
</button>
</div>
</div>
<div className="flex flex-col m-4 my-6 flex-1">
<h1 className="font-bold text-xl mb-2 w-full">
👋 Say hello to
<div className="text-primary-3000 text-4xl">PostHog&nbsp;3000</div>
</h1>
<p className="max-w-120 text-sm font-medium mb-3 opacity-75">
We're past zero to one.
<br />
In this new version of PostHog, we're going from one… to&nbsp;3000.
<br />
And this is just the beginning.
</p>
<LemonButton
to={BLOG_POST_URL}
targetBlank
type="primary"
sideIcon={<IconExternal className="text-xl" />}
className="mb-5 self-start"
>
Read the blog post
</LemonButton>
<div className="flex flex-col mx-4 mb-6 flex-1">
<div className="hero-art -mx-4 pt-4 pl-4 mb-4 border-b">
<h1 className="font-semibold text-base mb-2 w-full">
👋 <span className="opacity-75">Say hello to</span>
<div className="text-primary-3000 text-2xl font-bold">PostHog 3000</div>
</h1>
<p className="max-w-120 text-sm font-medium mb-3 opacity-75">We're past zero to one.</p>
<p className="max-w-40 text-sm font-medium mb-3 opacity-75" style={{ maxWidth: '10rem' }}>

Check warning on line 107 in frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelWelcome.tsx

View workflow job for this annotation

GitHub Actions / Code quality checks

style should be avoided in favor of utility CSS classes - see https://storybook.posthog.net/?path=/docs/lemon-ui-utilities--overview
We're going from one to 3000. And this is just the beginning...
</p>
<div className="flex">
<LemonButton
to={BLOG_POST_URL}
targetBlank
type="primary"
sideIcon={<IconExternal className="text-xl" />}
className="mb-5 self-start"
>
Read the blog post
</LemonButton>
</div>
</div>

<Row>

Check warning on line 123 in frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelWelcome.tsx

View workflow job for this annotation

GitHub Actions / Code quality checks

<Row> is forbidden, use flex utility classes instead, e.g. <Row align="middle"> could be <div className="flex items-center">
<Card>

Check warning on line 124 in frontend/src/layout/navigation-3000/sidepanel/panels/SidePanelWelcome.tsx

View workflow job for this annotation

GitHub Actions / Code quality checks

<Card> is forbidden, use utility classes instead
Expand Down

0 comments on commit 48459ab

Please sign in to comment.