Skip to content

Commit 28674f8

Browse files
committed
fix styles
1 parent 82cab22 commit 28674f8

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

components/DiscordConnect.tsx renamed to components/DiscordInvite.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { Flex, Button, Link } from '@chakra-ui/core';
33
import { Text } from '../components';
44

5-
const DiscordConnect = () => (
5+
const DiscordInvite = () => (
66
<>
77
<Flex
88
w="100%"
@@ -61,4 +61,4 @@ const DiscordConnect = () => (
6161
</>
6262
);
6363

64-
export default DiscordConnect;
64+
export default DiscordInvite;

components/Footer.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import styled from '@emotion/styled';
33
import { Image, Box, Link, useColorMode, Button, Flex } from '@chakra-ui/core';
4-
import DiscordConnect from '../components/DiscordConnect';
4+
import DiscordInvite from '../components/DiscordInvite';
55
export const Footer = () => {
66
const { colorMode, toggleColorMode } = useColorMode();
77

@@ -12,13 +12,11 @@ export const Footer = () => {
1212
alt="wave up"
1313
w="100%"
1414
mb={['-0.8px', '-1px', '-1px', '-1px', '-1px']}
15-
style={{
16-
transform: 'rotate(-180deg)',
17-
}}
15+
transform="rotate(-180deg)"
1816
bg={colorMode === 'light' ? 'gray.300' : 'gray.800'}
1917
h="7rem"
2018
/>
21-
<DiscordConnect />
19+
<DiscordInvite />
2220
<Flex
2321
w="100%"
2422
px="3.1%"
@@ -30,7 +28,7 @@ export const Footer = () => {
3028
as="footer"
3129
>
3230
<Button
33-
color={colorMode === 'light' ? 'gray.800' : 'gray.300'}
31+
color={colorMode === 'light' ? 'gray.300' : 'gray.800'}
3432
onClick={toggleColorMode}
3533
variant="outlined"
3634
>

0 commit comments

Comments
 (0)