Skip to content

Commit

Permalink
feat: improve home ui
Browse files Browse the repository at this point in the history
  • Loading branch information
0xzio committed Apr 26, 2024
1 parent a1a8f89 commit b394729
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 deletions.
Binary file modified apps/home/public/images/editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions apps/home/src/components/HomePage/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ export function HomePage() {
<Box
as="img"
src="/images/editor.png"
shadow="0px 1px 19px 0px rgba(42,29,48,.06),0px 0px 48px 0px hsla(30,78%,91%,.6)"
rounded-8
w={['100%', '100%', 760, 840, 1200]}
/>
</Box>
Expand Down
5 changes: 5 additions & 0 deletions apps/home/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ class MyDocument extends Document {
data-website-id={process.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID!}
></script>
)}

<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=optional"
/>
</Head>
<body>
<Main />
Expand Down
17 changes: 14 additions & 3 deletions apps/home/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,20 @@ body {
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji'; */

font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
font-family:
'Poppins',
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
'Helvetica Neue',
Arial,
'Noto Sans',
sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji';

/* fix for vaul */
pointer-events: auto !important;
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class MyDocument extends Document {

<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:200,300,400,500,600,700,800,900&display=optional"
href="https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=optional"
/>

{process.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID && (
Expand Down
3 changes: 2 additions & 1 deletion apps/web/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ body {
/* font-size: 14px; */

/* 'Poppins', */
/* Roboto */
font-family:
'Roboto',
'Poppins',
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Expand Down

0 comments on commit b394729

Please sign in to comment.