Skip to content

Commit 4173b38

Browse files
thatsumanasimbera
andauthored
Add OpenCampus Logo (TeamOpencampus#77)
* Add Logo to Only Sign Up and Sign In pages * Add `OpenCampus` Logo * Finishing touches Co-authored-by: Asim Bera <asimbera@outlook.in>
1 parent ee5a22a commit 4173b38

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

public/images/logo.png

20.3 KB
Loading

src/components/AuthFormWrapper.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Box, Container, Flex } from '@chakra-ui/react';
1+
import { Box, Container, Flex, Image } from '@chakra-ui/react';
22
import React from 'react';
33

44
export const AuthFormWrapper: React.FC<{ children: React.ReactNode }> = (
@@ -16,8 +16,7 @@ export const AuthFormWrapper: React.FC<{ children: React.ReactNode }> = (
1616
align='center'
1717
justify='center'
1818
>
19-
{/* <Heading color='blue.900'>[OpenCampus]</Heading> */}
20-
<Box w='60' bg='gray.200' h='10' />
19+
<Image h='20' maxW='sm' objectFit='contain' src='/images/logo.png' />
2120
<Box
2221
mt='8'
2322
padding='8'

src/pages/dashboard/DashboardPage.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
DrawerOverlay,
1515
HStack,
1616
IconButton,
17+
Image,
1718
Input,
1819
InputGroup,
1920
InputLeftElement,
@@ -74,7 +75,7 @@ function TopBar({
7475
ref={btnRef!}
7576
/>
7677
{/* Logo */}
77-
<Box h='8' w='24' bg='gray.100' />
78+
<Image src='/images/logo.png' h='8' w='auto' objectFit='contain' />
7879
</HStack>
7980
<IconButton aria-label='Search' icon={<Icon name='search' />} />
8081
</HStack>
@@ -129,7 +130,7 @@ function SideBar({
129130
p='4'
130131
>
131132
<VStack align='stretch' spacing='4' h='full'>
132-
<Box h='10' w='full' bg='gray.300' />
133+
<Image src='/images/logo.png' h='16' w='auto' objectFit='contain' />
133134
<InputGroup variant='outline' colorScheme='blue'>
134135
<InputLeftElement
135136
pointerEvents='none'

0 commit comments

Comments
 (0)