diff --git a/src/components/common/footer/footer.tsx b/src/components/common/footer/footer.tsx index abfd629..e6e51c1 100644 --- a/src/components/common/footer/footer.tsx +++ b/src/components/common/footer/footer.tsx @@ -19,10 +19,10 @@ export const DevelopersLinks = [ export const ProductsLinks = [ { href: '/products', title: 'Products' }, { href: '/watchers', title: 'Watchers (SDK)' }, - { href: '/stack', title: 'Laconic Stack' }, - { href: '/network', title: 'Laconic Network' }, - { href: '/app', title: 'Laconic App' }, - { href: '/token', title: 'Laconic Network Token (LNT)' } + { href: '/products/#laconicstack', title: 'Laconic Stack' }, + { href: '/products/#laconicnetwork', title: 'Laconic Network' }, + { href: '/products/#laconicapp', title: 'Laconic App' }, + { href: '/products/#laconictoken', title: 'Laconic Network Token (LNT)' } ] export const AboutLinks = [ diff --git a/src/components/common/footer/index.tsx b/src/components/common/footer/index.tsx index 78b455c..47f1996 100644 --- a/src/components/common/footer/index.tsx +++ b/src/components/common/footer/index.tsx @@ -36,7 +36,8 @@ const SimpleForm = ({ }: FormProps) => { let input: HTMLInputElement | null - const submit = () => { + const submit = (e: any) => { + e.preventDefault() if (!onSubmitted) return input && input.value.indexOf('@') > -1 && @@ -62,16 +63,18 @@ const SimpleForm = ({ {status === 'success' && (
)} - (input = node)} - required - type="email" - /> - +
submit(e)}> + (input = node)} + required + type="email" + /> + +
) } diff --git a/src/components/sections/homepage/benefits/benefits.module.scss b/src/components/sections/homepage/benefits/benefits.module.scss index a41796a..7242082 100644 --- a/src/components/sections/homepage/benefits/benefits.module.scss +++ b/src/components/sections/homepage/benefits/benefits.module.scss @@ -2,7 +2,7 @@ .section { @include respond-to('mobile') { - padding-bottom: tovw(105px, 'mobile'); + padding-bottom: tovw(65px, 'mobile', 75px); .grid { display: flex; diff --git a/src/components/sections/homepage/latest-news/latest-news.module.scss b/src/components/sections/homepage/latest-news/latest-news.module.scss index 1ad671a..28d91ae 100644 --- a/src/components/sections/homepage/latest-news/latest-news.module.scss +++ b/src/components/sections/homepage/latest-news/latest-news.module.scss @@ -1,6 +1,11 @@ @import '~/css/helpers'; .section { + @include respond-to('mobile') { + margin-top: unset; + padding: tovw(30px, 'mobile', 60px) 0 tovw(40px, 'mobile', 70px) 0; + } + display: flex; align-items: center; flex-direction: column; diff --git a/src/components/sections/products/app/index.tsx b/src/components/sections/products/app/index.tsx index 2ad3dea..aa85376 100644 --- a/src/components/sections/products/app/index.tsx +++ b/src/components/sections/products/app/index.tsx @@ -9,7 +9,7 @@ import s from './app.module.scss' const AppSection = () => { return ( -
+