Skip to content

Commit c9aa1ee

Browse files
Updating colour scheme of the website
1 parent cd47786 commit c9aa1ee

15 files changed

Lines changed: 43 additions & 43 deletions
13.5 KB
Loading
45.5 KB
Loading
349 KB
Loading

src/components/desktop-nav.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ export const DesktopNav = ({ navItems, ...props }) => {
2727
// eslint-disable-next-line react-hooks/rules-of-hooks
2828
whiteSpace={'nowrap'}
2929
flexShrink={0}
30-
color={useColorModeValue('gray.600', 'gray.200')}
30+
color='black'
3131
textDecoration='none'
3232
_hover={{
3333
textDecoration: 'none',
34-
// eslint-disable-next-line react-hooks/rules-of-hooks
35-
color: useColorModeValue('gray.800', 'white'),
34+
color: 'black',
3635
}}
3736
>
3837
{navItem.label}

src/components/features.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import { CheckIcon } from '@chakra-ui/icons'
1616
export const Features = () => {
1717
const features = React.useMemo(() => data, [])
1818
return (
19-
<Box id={'features'} as='section'>
20-
<Container maxW='container.lg' pt={0} centerContent>
19+
<Box id={'features'} as='section' bg='white' color='black'>
20+
<Container maxW='container.lg' pt={6} centerContent>
2121
<Heading as='h1' size='2xl' mt={6}>
2222
Key Features & Capabilities
2323
</Heading>

src/components/findus.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,8 @@ import { Heading } from '@/components/mdx'
1717
export const FindUs = () => {
1818
const findus = React.useMemo(() => data, [])
1919
return (
20-
<Box id={'findus'} as='section'>
21-
<Container maxW='container.lg' py={0} centerContent>
22-
<Heading as='h1' size='2xl'>
23-
Find us on
24-
</Heading>
25-
20+
<Box id={'findus'} as='section' bg='#758BFD' color='white'>
21+
<Container maxW='container.lg' mt={0} mb={0} pt={6} centerContent>
2622
<Box my={8}>
2723
<Grid
2824
templateColumns={`repeat(${findus.length}, minmax(auto, max-content))`}

src/components/footer.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ const ListHeader = ({ children }) => {
4848

4949
export const Footer = () => {
5050
return (
51-
<Box
52-
bg={useColorModeValue('gray.50', 'gray.900')}
53-
color={useColorModeValue('gray.700', 'gray.200')}
54-
as='footer'
55-
>
51+
<Box bg='#FFCD00' color='black' as='footer'>
5652
<Container maxW='container.lg' my={8} centerContent>
5753
<SimpleGrid
5854
columns={{ base: 1, sm: 2, md: 3 }}
@@ -82,8 +78,9 @@ export const Footer = () => {
8278
key={item.label}
8379
href={item.href}
8480
fontSize={'sm'}
81+
color='black'
8582
textDecoration='none'
86-
_hover={{ color: 'blue.500', textDecoration: 'none' }}
83+
_hover={{ color: 'black', textDecoration: 'none' }}
8784
>
8885
{item.label}
8986
</Link>
@@ -98,8 +95,9 @@ export const Footer = () => {
9895
key={item.label}
9996
href={item.href}
10097
fontSize={'sm'}
98+
color='black'
10199
textDecoration='none'
102-
_hover={{ color: 'blue.500', textDecoration: 'none' }}
100+
_hover={{ color: 'black', textDecoration: 'none' }}
103101
>
104102
{item.label}
105103
</Link>

src/components/funders.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import { Heading } from '@/components/mdx'
1717
export const Funders = () => {
1818
const funders = React.useMemo(() => data, [])
1919
return (
20-
<Box id={'funders'} as='section'>
20+
<Box id={'funders'} as='section' bg='#27187E' color='white'>
2121
<Container maxW='container.lg' centerContent>
22-
<Heading as='h1' size='2xl'>
22+
<Heading as='h1' size='2xl' mt={6} mb={0}>
2323
Funders
2424
</Heading>
2525

src/components/getstarted.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,11 @@ export const GetStarted = () => {
143143
<Box
144144
id={'getstarted'}
145145
as='section'
146-
bg='blue.50'
146+
bg='#AEB8FE'
147147
_dark={{ bg: 'blue.900' }}
148-
mb={6}
148+
mb={0}
149+
pt={6}
150+
pb={12}
149151
>
150152
<Container maxW='container.lg' centerContent>
151153
<Heading as='h1' size='2xl' mt={6}>
@@ -162,9 +164,9 @@ export const GetStarted = () => {
162164
{getstarted.map((item, index) => (
163165
<Button
164166
key={index}
165-
bg='blue.400'
167+
bg='#27187E'
166168
color='white'
167-
_hover={{ bg: 'blue.700' }}
169+
_hover={{ bg: '#27187E' }}
168170
borderRadius='md'
169171
width='100%'
170172
height='64px'

src/components/header.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
Image,
1212
Stack,
1313
useColorMode,
14-
useColorModeValue,
1514
useDisclosure,
1615
} from '@chakra-ui/react'
1716
import { ColorModeImage } from '@/components/ColorModeImage'
@@ -34,12 +33,10 @@ export const Header = () => {
3433
boxShadow={'sm'}
3534
zIndex={'999'}
3635
justify={'center'}
36+
color='black'
3737
css={{
3838
backdropFilter: 'saturate(180%) blur(5px)',
39-
backgroundColor: useColorModeValue(
40-
'rgba(255, 255, 255, 0.8)',
41-
'rgba(26, 32, 44, 0.8)',
42-
),
39+
backgroundColor: '#FFCD00',
4340
}}
4441
>
4542
<Container as={Flex} maxW={'container.lg'} align={'center'}>
@@ -60,6 +57,7 @@ export const Header = () => {
6057
}
6158
variant={'ghost'}
6259
size={'sm'}
60+
color='black'
6361
aria-label={'Toggle Navigation'}
6462
/>
6563
</Flex>
@@ -101,6 +99,7 @@ export const Header = () => {
10199
onClick={toggleColorMode}
102100
variant={'ghost'}
103101
size={'sm'}
102+
color='black'
104103
/>
105104
</Stack>
106105
</Container>

0 commit comments

Comments
 (0)