Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function NavBar() {
<div style={styles.leftNav}>
<div style={styles.logoContainer}>
<Link href={'/'}>
<Image alt="Stytch logo" height={30} src={stytchLogo} width={152} />
<Image alt="Stytch logo" height={50} src={stytchLogo} width={110} />
</Link>
</div>
{windowInnerWidth > 1000 && (
Expand Down
2 changes: 1 addition & 1 deletion components/common/CodeBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const styles: Record<string, React.CSSProperties> = {
whiteSpace: 'pre-wrap',
overflowWrap: 'anywhere',
fontSize: '16px',
fontFamily: '"IBM Plex Mono", monospace',
fontFamily: '"Chivo Mono", monospace',
overflowY: 'scroll',
},
};
Expand Down
3 changes: 1 addition & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<link rel="icon" href="/favicon.png" type="image/png" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" />
<title>Stytch Demo</title>
</Head>

<StytchProvider stytch={stytch}>
<NavBar />
<Component {...pageProps} />
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const App = () => {
}, [user, router]);

return (
<div style={{ padding: '24px 40px' }}>
<div style={{ padding: '24px 40px', backgroundColor: '#F4EEE9' }}>
<h2>Stytch authentication recipes</h2>
<p>
Stytch provides many options to build your perfect passwordless authentication experience including pre-built UI
Expand Down
Binary file added public/favicon.ico
Binary file not shown.
Binary file removed public/favicon.png
Binary file not shown.
Binary file added public/fonts/Booton-Bold.woff2
Binary file not shown.
Binary file added public/fonts/Booton-BoldItalic.woff2
Binary file not shown.
Binary file added public/fonts/Booton-Medium.woff2
Binary file not shown.
Binary file added public/fonts/Booton-MediumItalic.woff2
Binary file not shown.
Binary file added public/fonts/Booton-Regular.woff2
Binary file not shown.
Binary file added public/fonts/Booton-RegularItalic.woff2
Binary file not shown.
Binary file added public/fonts/Booton-Semibold.woff2
Binary file not shown.
Binary file added public/fonts/Booton-SemiboldItalic.woff2
Binary file not shown.
13 changes: 5 additions & 8 deletions public/stytch-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 15 additions & 5 deletions styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
html {
margin: 0;
padding: 0;
background-color: #f4eee9;
}

body {
padding: 0;
margin: 0;
background-color: #ecfaff;
background-color: #f4eee9;
}

* {
box-sizing: border-box;
margin: 0;
}

body {
background-color: #ecfaff;
@font-face {
font-family: 'Booton Regular';
src: url('/fonts/Booton-Regular.woff2') format('woff2');
}

@font-face {
font-family: 'Chivo Mono';
src: url('https://fonts.googleapis.com/css2?family=Chivo+Mono:wght@400&display=swap') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}

h1,
Expand All @@ -28,7 +38,7 @@ span,
button,
a {
color: #19303d;
font-family: IBM Plex Sans, 'sans-serif';
font-family: 'Booton Regular', 'sans-serif';
}

h1 {
Expand Down Expand Up @@ -88,7 +98,7 @@ p {

code {
font-size: 16px;
font-family: IBM Plex Mono, monospace;
font-family: 'Chivo Mono', monospace;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@font-face {
  font-family: Chivo Mono;
  src: url('https://fonts.googleapis.com/css2?family=Chivo+Mono:wght@400&display=swap') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

font-weight: 400;
line-height: 28px;
padding-left: 4px;
Expand Down
Loading