diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index baab69c4..93fcea70 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -48,9 +48,9 @@ export default function App() { width={125} height={65} style={{ + position: 'absolute', top: '30px', left: '30px', - position: 'absolute', }} /> diff --git a/src/app/login/styles.ts b/src/app/login/styles.ts index 273a4576..b5b1f2e7 100644 --- a/src/app/login/styles.ts +++ b/src/app/login/styles.ts @@ -76,8 +76,9 @@ export const EyeIcon = styled(Eye)` export const Fullscreen = styled.div` width: 100%; - height: 100%; + height: 100vh; display: grid; + place-items: center; `; export const InputField = styled.div` diff --git a/src/app/storefront/StoreFrontNavBar.tsx b/src/app/storefront/StoreFrontNavBar.tsx index 2642b4a9..3e841c5d 100644 --- a/src/app/storefront/StoreFrontNavBar.tsx +++ b/src/app/storefront/StoreFrontNavBar.tsx @@ -1,6 +1,5 @@ /* eslint-disable react/button-has-type */ import Image from 'next/image'; -import Link from 'next/link'; import React, { useEffect, useState } from 'react'; import { fetchButtonCategories } from '@/api/supabase/queries/button_queries'; @@ -23,6 +22,7 @@ import { BackButton, FrontArrow, BackArrow, + IconWithLabelLink, } from './styles'; import ProductButtons from './productButtons'; @@ -117,14 +117,14 @@ export default function StoreFrontNavBar(props: { return ( - + Shanti Logo - + @@ -148,15 +148,15 @@ export default function StoreFrontNavBar(props: { - + - Users - - + User + + Cart {data} - + ); diff --git a/src/app/storefront/styles.ts b/src/app/storefront/styles.ts index 2c6ff626..44c3ecd1 100644 --- a/src/app/storefront/styles.ts +++ b/src/app/storefront/styles.ts @@ -249,3 +249,11 @@ export const BackButton = styled.button<{ $reachedEnd?: boolean }>` visibility: ${props => (props.$reachedEnd ? 'visible' : 'hidden')}; cursor: pointer; `; + +export const IconWithLabelLink = styled(Link)` + display: flex; + flex-direction: column; + align-items: center; + text-decoration: none; + color: ${COLORS.black}; +`; \ No newline at end of file diff --git a/src/components/BackButton/styles.ts b/src/components/BackButton/styles.ts index 80c5bec8..e89456ef 100644 --- a/src/components/BackButton/styles.ts +++ b/src/components/BackButton/styles.ts @@ -7,8 +7,9 @@ export const BackLink = styled(Link)` display: flex; flex-direction: row; align-items: center; + justify-content: space-between; color: ${COLORS.black}; - gap: 5px; + width: 56px; `; export const ArrowLeftIcon = styled(ArrowLeft)`