By signing up, you agree to Omnivore’s{' '}
-
+
Terms of Service
{' '}
and{' '}
-
+
Privacy Policy
- );
+ )
}
diff --git a/packages/web/components/templates/LoginLayout.tsx b/packages/web/components/templates/LoginLayout.tsx
index a495047a1..468de5777 100644
--- a/packages/web/components/templates/LoginLayout.tsx
+++ b/packages/web/components/templates/LoginLayout.tsx
@@ -8,10 +8,8 @@ import {
import { LoginForm } from './LoginForm'
import type { LoginFormProps } from './LoginForm'
import { OmnivoreNameLogo } from '../elements/images/OmnivoreNameLogo'
-import { theme } from '../tokens/stitches.config'
import featureFullWidthImage from '../../public/static/images/login/login-feature-image-full.png'
-import featureHalfWidthImage from '../../public/static/images/login/login-feature-image-half.png'
export function LoginLayout(props: LoginFormProps): JSX.Element {
return (
@@ -37,10 +35,7 @@ export function LoginLayout(props: LoginFormProps): JSX.Element {
width: '100%',
}}
>
-
+
>
)
@@ -53,9 +48,10 @@ function MobileLoginLayout(props: LoginFormProps) {
alignment="center"
distribution="center"
css={{
- bg: '$omnivoreYellow',
width: '100%',
flexGrow: 1,
+ color: '#898989',
+ background: '#2A2A2A',
}}
>
@@ -72,8 +68,9 @@ function MediumLoginLayout(props: LoginFormProps) {
css={{
width: '100vw',
height: '100vh',
- bg: '$omnivoreYellow',
overflowY: 'clip',
+ color: '#898989',
+ background: '#2A2A2A',
}}
>
{
}
function OmnivoreIllustration() {
- const { props: halfWidthImgProps } = getImgProps({
- src: featureHalfWidthImage,
- alt: '',
- })
-
const { props: fullWidthImgProps } = getImgProps({
src: featureFullWidthImage,
alt: '',
@@ -123,11 +115,10 @@ function OmnivoreIllustration() {
backgroundSize: 'cover',
backgroundRepeat: 'no-repeat',
backgroundPosition: 'left',
- backgroundImage: srcSetToImageSet(halfWidthImgProps.src, halfWidthImgProps.srcSet),
-
- '@media (min-aspect-ratio: 2/1)': {
- backgroundImage: srcSetToImageSet(fullWidthImgProps.src, fullWidthImgProps.srcSet),
- },
+ backgroundImage: srcSetToImageSet(
+ fullWidthImgProps.src,
+ fullWidthImgProps.srcSet
+ ),
}}
/>
)
diff --git a/packages/web/components/templates/ProfileLayout.tsx b/packages/web/components/templates/ProfileLayout.tsx
index 228f67c06..af9fd04e9 100644
--- a/packages/web/components/templates/ProfileLayout.tsx
+++ b/packages/web/components/templates/ProfileLayout.tsx
@@ -14,7 +14,6 @@ export function ProfileLayout(props: ProfileLayoutProps): JSX.Element {
alignment="center"
distribution="center"
css={{
- // bg: '$omnivoreYellow',
height: '100vh',
bg: '$omnivoreYellow',
}}
@@ -45,7 +44,7 @@ export function ProfileLayout(props: ProfileLayoutProps): JSX.Element {
}}
>
diff --git a/packages/web/components/templates/SettingsLayout.tsx b/packages/web/components/templates/SettingsLayout.tsx
index dd9be633a..71f8f44c6 100644
--- a/packages/web/components/templates/SettingsLayout.tsx
+++ b/packages/web/components/templates/SettingsLayout.tsx
@@ -1,4 +1,4 @@
-import { Box, HStack, VStack } from '../elements/LayoutPrimitives'
+import { Box, HStack, SpanBox, VStack } from '../elements/LayoutPrimitives'
import { navigationCommands } from '../../lib/keyboardShortcuts/navigationShortcuts'
import { useKeyboardShortcuts } from '../../lib/keyboardShortcuts/useKeyboardShortcuts'
import { useRouter } from 'next/router'
@@ -12,12 +12,46 @@ import { logout } from '../../lib/logout'
import { SettingsMenu } from './navMenu/SettingsMenu'
import { SettingsDropdown } from './navMenu/SettingsDropdown'
import { useVerifyAuth } from '../../lib/hooks/useVerifyAuth'
+import Link from 'next/link'
+import { CaretLeft } from 'phosphor-react'
type SettingsLayoutProps = {
title?: string
children: React.ReactNode
}
+const ReturnButton = (): JSX.Element => {
+ return (
+
+
+
+
+ Return to library
+
+
+
+ )
+}
+
export function SettingsLayout(props: SettingsLayoutProps): JSX.Element {
useVerifyAuth()
@@ -57,7 +91,9 @@ export function SettingsLayout(props: SettingsLayoutProps): JSX.Element {
},
}}
>
-
-
+
+
+
- {props.children}
+
+
+
+
+ {props.children}
+
diff --git a/packages/web/components/templates/auth/EmailForgotPassword.tsx b/packages/web/components/templates/auth/EmailForgotPassword.tsx
index 67ff053ad..760c43c43 100644
--- a/packages/web/components/templates/auth/EmailForgotPassword.tsx
+++ b/packages/web/components/templates/auth/EmailForgotPassword.tsx
@@ -15,8 +15,10 @@ const ForgotPasswordForm = (): JSX.Element => {
return (
-
- Email
+
+
+ Email
+
{
value={email}
placeholder="Email"
autoFocus={true}
- css={{ bg: 'white', color: 'black' }}
+ css={{ backgroundColor: '#2A2A2A', color: 'white', border: 'unset' }}
onChange={(e) => {
e.preventDefault()
setEmail(e.target.value)
}}
/>
-
+
)
}
@@ -58,16 +60,16 @@ export function EmailForgotPassword(): JSX.Element {
alignment="center"
css={{
padding: '16px',
- background: 'white',
minWidth: '340px',
width: '70vw',
maxWidth: '576px',
borderRadius: '8px',
- border: '1px solid #3D3D3D',
- boxShadow: '#B1B1B1 9px 9px 9px -9px',
+ background: '#343434',
+ border: '1px solid #6A6968',
+ boxShadow: '0px 4px 4px 0px rgba(0, 0, 0, 0.15)',
}}
>
-
+
Reset your password
@@ -93,7 +95,7 @@ export function EmailForgotPassword(): JSX.Element {
)}
{errorMessage && {errorMessage}}
-