From 195b7e4ac6891b78a8348959ad01630f3ff78738 Mon Sep 17 00:00:00 2001 From: diffim Date: Sun, 8 Oct 2023 20:28:31 +0400 Subject: [PATCH 1/6] made navbar non sticky and fixed blur bug --- src/components/Navbar.tsx | 4 ++-- src/styles/globals.css | 21 ++++++++++++++------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 067b735..c8936ee 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -56,7 +56,7 @@ const ExternalLinks = () => ( function Navbar() { return ( <> -
+
{/*Internal Links*/}
@@ -66,7 +66,7 @@ function Navbar() { target={link.name === "Pricing" ? "" : "_blank"} href={link.link} key={link.name} - className="font-medium mix-blend-exclusion" + className="font-medium " > {link.name} diff --git a/src/styles/globals.css b/src/styles/globals.css index 7c1066d..909f9c9 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -141,7 +141,8 @@ .showcase-4 { background: linear-gradient(47deg, #0e2bfd 0%, #0cf 100%); - box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: + 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } @@ -164,7 +165,8 @@ .showcase-9 { background: linear-gradient(302deg, #00f6ff 0%, #2b00ff 100%); - box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: + 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } @@ -178,14 +180,16 @@ } .showcase-6-shadow { - box-shadow: 0px 10px 50px -3.75px rgba(0, 0, 0, 0.01), + box-shadow: + 0px 10px 50px -3.75px rgba(0, 0, 0, 0.01), 0px 2.28853px 11.4427px -2.5px rgba(0, 0, 0, 0.03), 0px 0.60219px 3.01094px -1.25px rgba(0, 0, 0, 0.04); } .showcase-7 { background: linear-gradient(133deg, #00aeff 0%, #00ff6e 100%); - box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: + 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } @@ -196,14 +200,16 @@ #c499e6 0%, rgba(255, 255, 255, 0.4) 100% ); - box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: + 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } .showcase-3 { background: linear-gradient(233deg, #faffc6 -19.83%, #e00 84.46%); - box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: + 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } @@ -213,7 +219,8 @@ background: linear-gradient(238deg, #60f 0%, #f700ff 100%); background-size: cover; - box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: + 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } From c73d54f25b65d0f4fa2e38db61fb30f7e0db06f6 Mon Sep 17 00:00:00 2001 From: moonlightnexus <68702919+moonlightnexus@users.noreply.github.com> Date: Tue, 10 Oct 2023 21:17:19 +0530 Subject: [PATCH 2/6] Revert "made navbar non sticky and fixed blur bug" --- src/components/Navbar.tsx | 4 ++-- src/styles/globals.css | 21 +++++++-------------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index c8936ee..067b735 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -56,7 +56,7 @@ const ExternalLinks = () => ( function Navbar() { return ( <> -
+
{/*Internal Links*/}
@@ -66,7 +66,7 @@ function Navbar() { target={link.name === "Pricing" ? "" : "_blank"} href={link.link} key={link.name} - className="font-medium " + className="font-medium mix-blend-exclusion" > {link.name} diff --git a/src/styles/globals.css b/src/styles/globals.css index 909f9c9..7c1066d 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -141,8 +141,7 @@ .showcase-4 { background: linear-gradient(47deg, #0e2bfd 0%, #0cf 100%); - box-shadow: - 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } @@ -165,8 +164,7 @@ .showcase-9 { background: linear-gradient(302deg, #00f6ff 0%, #2b00ff 100%); - box-shadow: - 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } @@ -180,16 +178,14 @@ } .showcase-6-shadow { - box-shadow: - 0px 10px 50px -3.75px rgba(0, 0, 0, 0.01), + box-shadow: 0px 10px 50px -3.75px rgba(0, 0, 0, 0.01), 0px 2.28853px 11.4427px -2.5px rgba(0, 0, 0, 0.03), 0px 0.60219px 3.01094px -1.25px rgba(0, 0, 0, 0.04); } .showcase-7 { background: linear-gradient(133deg, #00aeff 0%, #00ff6e 100%); - box-shadow: - 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } @@ -200,16 +196,14 @@ #c499e6 0%, rgba(255, 255, 255, 0.4) 100% ); - box-shadow: - 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } .showcase-3 { background: linear-gradient(233deg, #faffc6 -19.83%, #e00 84.46%); - box-shadow: - 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } @@ -219,8 +213,7 @@ background: linear-gradient(238deg, #60f 0%, #f700ff 100%); background-size: cover; - box-shadow: - 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), + box-shadow: 0px 10px 50px -2.5px rgba(0, 0, 0, 0.1), 0px 2.28853px 11.4427px -1.66667px rgba(0, 0, 0, 0.1), 0px 0.60219px 3.01094px -0.83333px rgba(0, 0, 0, 0.1); } From f71f7dfc5a13610410161fe34dace6e20464e86d Mon Sep 17 00:00:00 2001 From: moonlightnexus <68702919+moonlightnexus@users.noreply.github.com> Date: Thu, 12 Oct 2023 03:30:48 +0530 Subject: [PATCH 3/6] Update next.config.js --- next.config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/next.config.js b/next.config.js index a843cbe..c5dead0 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,19 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, + async headers() { + return [ + { + source: '/(.*)', + headers: [ + { + key: 'Cache-Control', + value: 'public, max-age=2592000', + }, + ], + }, + ] + }, } module.exports = nextConfig From 7a8b9091ca53d1e29b58adbcebba5a9aeb78525a Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 11 Oct 2023 22:01:31 +0000 Subject: [PATCH 4/6] style: format code with Prettier and StandardJS This commit fixes the style issues introduced in f71f7df according to the output from Prettier and StandardJS. Details: https://github.com/One-Click-Auth/Landing-Next-TrustAuthx/pull/39 --- next.config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/next.config.js b/next.config.js index c5dead0..09bc55f 100644 --- a/next.config.js +++ b/next.config.js @@ -1,19 +1,19 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, - async headers() { + async headers () { return [ { source: '/(.*)', headers: [ { key: 'Cache-Control', - value: 'public, max-age=2592000', - }, - ], - }, + value: 'public, max-age=2592000' + } + ] + } ] - }, + } } module.exports = nextConfig From e27b42488585fd79965dc0f7a353ec6f0320cc6f Mon Sep 17 00:00:00 2001 From: moonlightnexus <68702919+moonlightnexus@users.noreply.github.com> Date: Mon, 16 Oct 2023 02:53:07 +0530 Subject: [PATCH 5/6] Update LandingHero.tsx --- src/components/LandingHero.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LandingHero.tsx b/src/components/LandingHero.tsx index b96a082..9111ae7 100644 --- a/src/components/LandingHero.tsx +++ b/src/components/LandingHero.tsx @@ -12,7 +12,7 @@ export default function LandingHero() { <> From cc5177c8f7d35ea8696fc9789842e7e55858d7af Mon Sep 17 00:00:00 2001 From: moonlightnexus <68702919+moonlightnexus@users.noreply.github.com> Date: Mon, 16 Oct 2023 02:58:54 +0530 Subject: [PATCH 6/6] Update LandingHero.tsx --- src/components/LandingHero.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LandingHero.tsx b/src/components/LandingHero.tsx index 9111ae7..b96a082 100644 --- a/src/components/LandingHero.tsx +++ b/src/components/LandingHero.tsx @@ -12,7 +12,7 @@ export default function LandingHero() { <>