Skip to content

Commit

Permalink
chore: just the start
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrantz committed Feb 14, 2024
1 parent 037cdc1 commit 1726d39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,16 @@ import { ComponentShowcase } from "./component-showcase";
const NewHomeHero = (): JSX.Element => {
const theme = useTheme();
return (
<Box element="HOME_HERO_WRAPPER">
<Box element="HOME_HERO">
<Box
paddingX={["space90", "space180"]}
paddingX={["space0", "space90", "space180"]}
position="relative"
display="grid"
gridTemplateColumns="600px min-content"
maxWidth={SITE_CONTENT_MAX_WIDTH}
marginLeft="auto"
marginRight="auto"
overflow="hidden"
element="HOME_HERO"
>
<Box
display="flex"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ const ComponentShowcase: React.FC<React.PropsWithChildren> = () => {
top="0"
height="min-content"
width="fit-content"
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
borderBottomLeftRadius="32px"
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
borderBottomRightRadius="32px"
borderRadius="borderRadius90"
zIndex="zIndex10"
element="COMPONENT_SHOWCASE"
>
Expand Down
2 changes: 1 addition & 1 deletion packages/paste-website/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const TWILIO_BLUE = "#0D122B";
export const PSA_ALERT_HEIGHT = 40;
export const PASTE_THEME_ALERT_HEIGHT = 54;
export const SITE_TOPBAR_HEIGHT = 77;
export const SITE_BREAKPOINTS = ["768px", "1024px", "1220px", "1880px"];
export const SITE_BREAKPOINTS = ["400px", "1024px", "1232px"];
export const SITE_CONTENT_MAX_WIDTH = "1440px";

// Used to 'bleed' sections together. GettingStarted+Popular
Expand Down

0 comments on commit 1726d39

Please sign in to comment.