diff --git a/site/components/UtilitiesTabs.js b/site/components/UtilitiesTabs.js index f2b2a65..19fc90e 100644 --- a/site/components/UtilitiesTabs.js +++ b/site/components/UtilitiesTabs.js @@ -38,11 +38,11 @@ function UtilitiesTabs() { {utilities.map(({ title, text, href, onClick = () => null }) => (
-

{title}

-

{text}

+

{title}

+

{text}

))} diff --git a/site/components/layout/Breadcrumb.js b/site/components/layout/Breadcrumb.js index aab1b0e..f961310 100644 --- a/site/components/layout/Breadcrumb.js +++ b/site/components/layout/Breadcrumb.js @@ -11,20 +11,20 @@ const Breadcrumb = function ({ title }) { const { utilities } = useContext(PureContext) return ( -
+
Pure Finance {t('tools')}

/

( -
+
{title}
)} diff --git a/site/components/layout/Footer.js b/site/components/layout/Footer.js deleted file mode 100644 index b0f0ee3..0000000 --- a/site/components/layout/Footer.js +++ /dev/null @@ -1,31 +0,0 @@ -import Link from 'next/link' -import { useTranslations } from 'next-intl' - -import SvgContainer from '../svg/SvgContainer' - -const Footer = function () { - const t = useTranslations() - return ( -
-
-

{t('copyright')}

-
-
- - - - - - - - - - - - -
-
- ) -} - -export default Footer diff --git a/site/components/layout/HelperBox.js b/site/components/layout/HelperBox.js index a2d2ad2..22856cf 100644 --- a/site/components/layout/HelperBox.js +++ b/site/components/layout/HelperBox.js @@ -15,36 +15,40 @@ const HelperBox = ({ helperText, className = '' }) => {
{helperText.title && ( -

{helperText.title}

+

+ {helperText.title} +

)} {helperText.text && ( -

{helperText.text}

+

+ {helperText.text} +

)}
-

+

{t('got-questions')}

{helperText.questions.map(({ title, answer }) => (
( -
+
{title}
)} - className="text-gray-600 cursor-pointer" + className="cursor-pointer" > -
{answer}
+
{answer}
))} diff --git a/site/components/layout/HomeFooter.js b/site/components/layout/HomeFooter.js new file mode 100644 index 0000000..86fe9fb --- /dev/null +++ b/site/components/layout/HomeFooter.js @@ -0,0 +1,43 @@ +import Link from 'next/link' +import { useTranslations } from 'next-intl' + +import SvgContainer from '../svg/SvgContainer' + +const HomeFooter = function () { + const t = useTranslations() + return ( +
+
+

{t('copyright')}

+
+
+ + + + + + + + + + + + +
+
+ ) +} + +export default HomeFooter diff --git a/site/components/layout/HomeLayout.js b/site/components/layout/HomeLayout.js index adb1ff6..897e39c 100644 --- a/site/components/layout/HomeLayout.js +++ b/site/components/layout/HomeLayout.js @@ -1,9 +1,9 @@ import { inter } from '../../fonts' import Navbar from '../Navbar' -import Footer from './Footer' import Head from './Head' import Hero from './Hero' +import HomeFooter from './HomeFooter' const HomeLayout = ({ children, title }) => ( <> @@ -12,7 +12,9 @@ const HomeLayout = ({ children, title }) => (
{children}
-
+
+ +
) diff --git a/site/components/layout/ToolsFooter.js b/site/components/layout/ToolsFooter.js new file mode 100644 index 0000000..0925aa0 --- /dev/null +++ b/site/components/layout/ToolsFooter.js @@ -0,0 +1,43 @@ +import Link from 'next/link' +import { useTranslations } from 'next-intl' + +import SvgContainer from '../svg/SvgContainer' + +const ToolsFooter = function () { + const t = useTranslations() + return ( +
+
+

{t('copyright')}

+
+
+ + + + + + + + + + + + +
+
+ ) +} + +export default ToolsFooter diff --git a/site/components/layout/ToolsLayout.js b/site/components/layout/ToolsLayout.js index 779ef12..9db9c46 100644 --- a/site/components/layout/ToolsLayout.js +++ b/site/components/layout/ToolsLayout.js @@ -1,9 +1,9 @@ import { inter } from '../../fonts' import Navbar from '../Navbar' -import Footer from './Footer' import Head from './Head' import HelperBox from './HelperBox' +import ToolsFooter from './ToolsFooter' const ToolsLayout = ({ children, @@ -14,7 +14,7 @@ const ToolsLayout = ({ }) => ( <> -
+
{children}
-
+
(
- {title &&

{title}

} - {text &&

{text}

} -
{children}
+ {title && ( +

{title}

+ )} + {text &&

{text}

} +
{children}
) diff --git a/site/components/svg/Chevron.js b/site/components/svg/Chevron.js new file mode 100644 index 0000000..e249ed0 --- /dev/null +++ b/site/components/svg/Chevron.js @@ -0,0 +1,12 @@ +const Chevron = props => ( + + + +) + +export default Chevron diff --git a/site/components/svg/Discord.js b/site/components/svg/Discord.js index 5f530fb..dca5f91 100644 --- a/site/components/svg/Discord.js +++ b/site/components/svg/Discord.js @@ -9,7 +9,7 @@ const Discord = props => ( > ) diff --git a/site/components/svg/Github.js b/site/components/svg/Github.js index eb3d9da..a923088 100644 --- a/site/components/svg/Github.js +++ b/site/components/svg/Github.js @@ -9,7 +9,7 @@ const Github = props => ( > ) diff --git a/site/components/svg/Linkedin.js b/site/components/svg/Linkedin.js index 5c76133..fd8eb47 100644 --- a/site/components/svg/Linkedin.js +++ b/site/components/svg/Linkedin.js @@ -9,7 +9,7 @@ const Linkedin = props => ( > ) diff --git a/site/components/svg/Twitter.js b/site/components/svg/Twitter.js index 7ed6532..d9cb3d9 100644 --- a/site/components/svg/Twitter.js +++ b/site/components/svg/Twitter.js @@ -9,7 +9,7 @@ const Twitter = props => ( > ) diff --git a/site/components/svg/index.js b/site/components/svg/index.js index 34fbe83..31db3bf 100644 --- a/site/components/svg/index.js +++ b/site/components/svg/index.js @@ -2,6 +2,7 @@ import arrows from './Arrows' import caret from './Caret' import check from './Check' import checkmark from './Checkmark' +import chevron from './Chevron' import close from './Close' import coinbasewallet from './CoinbaseWallet' import copy from './Copy' @@ -25,6 +26,7 @@ const icons = { caret, check, checkmark, + chevron, close, coinbasewallet, copy, diff --git a/site/pages/[locale]/merkle-claims.js b/site/pages/[locale]/merkle-claims.js index c63d219..4d29cd5 100644 --- a/site/pages/[locale]/merkle-claims.js +++ b/site/pages/[locale]/merkle-claims.js @@ -131,6 +131,7 @@ function MerkleClaims() { value={claimID} /> {t('claim')} diff --git a/site/styles/index.css b/site/styles/index.css index 0d18ee0..ec064dd 100644 --- a/site/styles/index.css +++ b/site/styles/index.css @@ -10,5 +10,5 @@ } body { - @apply bg-gray-100; + @apply bg-white; } diff --git a/site/tailwind.config.js b/site/tailwind.config.js index 146f905..5f666c2 100644 --- a/site/tailwind.config.js +++ b/site/tailwind.config.js @@ -56,6 +56,19 @@ module.exports = { 800: '#333535', 900: '#1A1B1B', 950: '#000202' + }, + grayscale: { + 50: '#FAFAFA', + 100: '#E5E6E6', + 200: '#CCCCCC', + 300: '#D4D4D8', + 400: '#A3A3A3', + 500: '#737373', + 600: '#666767', + 700: '#4D4E4E', + 800: '#333535', + 900: '#1A1B1B', + 950: '#0A0A0A' } }, gridTemplateColumns: {