From fb0d6f7fff7814fb7df8cfbd967e1bf469cd6ee3 Mon Sep 17 00:00:00 2001 From: Prabuddha Chatterjee <116292171+prabuddha369@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:50:09 +0530 Subject: [PATCH] fix(platform): Fixed duplicate Google Logo UI fix (#450) --- apps/platform/public/svg/auth/gitlabSVG.svg | 15 +++++++++++++++ apps/platform/public/svg/auth/index.ts | 3 ++- apps/platform/src/app/auth/page.tsx | 4 ++-- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 apps/platform/public/svg/auth/gitlabSVG.svg diff --git a/apps/platform/public/svg/auth/gitlabSVG.svg b/apps/platform/public/svg/auth/gitlabSVG.svg new file mode 100644 index 00000000..3009664f --- /dev/null +++ b/apps/platform/public/svg/auth/gitlabSVG.svg @@ -0,0 +1,15 @@ + + + + + + \ No newline at end of file diff --git a/apps/platform/public/svg/auth/index.ts b/apps/platform/public/svg/auth/index.ts index 33a5c23a..056442d5 100644 --- a/apps/platform/public/svg/auth/index.ts +++ b/apps/platform/public/svg/auth/index.ts @@ -1,5 +1,6 @@ import KeyshadeBigSVG from './KeyshadeLogoBig.svg' import GoogleSVG from './googleSVG.svg' import GithubSVG from './githubSVG.svg' +import GitlabSVG from './gitlabSVG.svg' -export { KeyshadeBigSVG, GoogleSVG, GithubSVG } +export { KeyshadeBigSVG, GoogleSVG, GithubSVG, GitlabSVG } diff --git a/apps/platform/src/app/auth/page.tsx b/apps/platform/src/app/auth/page.tsx index 5c267c42..3ed23133 100644 --- a/apps/platform/src/app/auth/page.tsx +++ b/apps/platform/src/app/auth/page.tsx @@ -6,7 +6,7 @@ import { useRouter } from 'next/navigation' import { useAtom } from 'jotai' import Cookies from 'js-cookie' import { LoadingSVG } from '@public/svg/shared' -import { GithubSVG, GoogleSVG, KeyshadeBigSVG } from '@public/svg/auth' +import { GithubSVG, GoogleSVG, KeyshadeBigSVG ,GitlabSVG} from '@public/svg/auth' import { Input } from '@/components/ui/input' import { Button } from '@/components/ui/button' import { authEmailAtom } from '@/store' @@ -65,7 +65,7 @@ export default function AuthPage(): React.JSX.Element {