From eb28244fc8f98e28728c7b3f951e102b9cc56590 Mon Sep 17 00:00:00 2001 From: piotrruss Date: Mon, 16 Aug 2021 21:22:32 +0200 Subject: styles moved to scss --- pages/_app.js | 2 +- pages/index.js | 25 ++++++------------------- pages/verify.js | 33 +++++---------------------------- 3 files changed, 12 insertions(+), 48 deletions(-) (limited to 'pages') diff --git a/pages/_app.js b/pages/_app.js index 5196b22..4625291 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -1,6 +1,6 @@ import { SWRConfig } from 'swr' import fetchJson from 'lib/fetchJson' -import '/styles/styles.scss' +import '/styles/global.scss' function MyApp({Component, pageProps}) { return ( diff --git a/pages/index.js b/pages/index.js index 9df0acf..52421ea 100644 --- a/pages/index.js +++ b/pages/index.js @@ -1,3 +1,4 @@ +import styles from 'styles/Main.module.scss' import React, { useState ,useRef } from 'react' import useUser from 'lib/useUser' import {Layout, App} from 'components' @@ -21,7 +22,11 @@ const Home = () => { <> { Object.keys(appList).map(appName => ( -
open(appName, apps, setApps)}> +
open(appName, apps, setApps)} + > {`${appName}

{appName}

@@ -41,24 +46,6 @@ const Home = () => { ); })} - ) diff --git a/pages/verify.js b/pages/verify.js index 1d89e22..9d92390 100644 --- a/pages/verify.js +++ b/pages/verify.js @@ -1,3 +1,4 @@ +import styles from 'styles/Main.module.scss' import {useState, useEffect} from 'react' import {useRouter} from 'next/router' import useUser from 'lib/useUser' @@ -52,12 +53,12 @@ const Verify = () => {

Loading...

) : ( -
+

One last step missing

{`To start using Notes App type the verification code we sent to your email (${user.email}):`}

- +
{ sending @@ -69,39 +70,15 @@ const Verify = () => {

Mail was successfully sent again, check your mailbox!

) : (

If you didn't get verification email  - send it again. + send it again.

) ) } - {errorMsg &&

{errorMsg}

} + {errorMsg &&

{errorMsg}

}
) } - ) } -- cgit v1.2.3