Skip to content

Commit

Permalink
lgtm
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed Feb 16, 2024
1 parent 9d88dcd commit b918789
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const App = () => (
<Slide>
<Intro />
</Slide>
<Slide maxWidth={700}>
<Slide style={{ maxWidth: 700 }}>
<Frame>
<MarigoldProvider theme={theme}>
<Example />
Expand All @@ -27,6 +27,11 @@ const App = () => (
<Slide>
<Conclusion />
</Slide>
<Slide style={{ textAlign: "center" }}>
<a className="cta" href="https://www.marigold-ui.io/concepts/validation">
Read the documentation!
</a>
</Slide>
</Slide.Container>
);

Expand Down
4 changes: 2 additions & 2 deletions src/components.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export const Frame = ({ children }) => (
</div>
);

export const Slide = ({ children, maxWidth }) => (
<div className="slide" style={{ maxWidth }}>
export const Slide = ({ children, style }) => (
<div className="slide" style={style}>
<div style={{ width: "100%" }}>{children} </div>
</div>
);
Expand Down
9 changes: 9 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ body {
text-decoration-thickness: 2px;
}

.cta {
display: inline-block;
border-radius: 16px;
font-size: 48px;
color: #f0f9ff;
background: #075985;
padding: 8px 48px;
}

/* CODE HIKE */
.ch-codegroup {
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
Expand Down

0 comments on commit b918789

Please sign in to comment.