Skip to content

Commit

Permalink
fixed issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gerouvi committed Nov 28, 2024
1 parent 7de2550 commit 4d38043
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
7 changes: 6 additions & 1 deletion src/components/Home/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box } from '@chakra-ui/react'
import { Alert, AlertDescription, AlertIcon, AlertTitle, Box } from '@chakra-ui/react'
import Benefits from './Benefits'
import Clients from './Clients'
import ContactUs from './ContactUs'
Expand All @@ -12,6 +12,11 @@ import Support from './Support'
const Home = () => (
<>
<Box position='relative'>
<Alert status='error'>
<AlertIcon />
<AlertTitle>Your browser is outdated!</AlertTitle>
<AlertDescription>Your Chakra experience may be degraded.</AlertDescription>
</Alert>
<Box position='relative' zIndex={10}>
<CreateProcess />
<Clients />
Expand Down
7 changes: 4 additions & 3 deletions src/theme/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export const colorsBase = {
},
gradient: 'linear-gradient(to right, #546E39, #2E441A)',
gray: {
light: 'rgba(255, 255, 255, 0.24)',
light2: 'rgba(255, 255, 255, 0.24)',
light: '#CBD5E0',
normal: '#718096',
},
primary: '#546E39',
Expand Down Expand Up @@ -161,12 +162,12 @@ export const colors = {
},
border: {
dark: colorsBase.white,
light: colorsBase.gray.light,
light: colorsBase.gray.light2,
},
disabled: colorsBase.gray.normal,
hover: {
dark: colorsBase.white,
light: colorsBase.gray.light,
light: colorsBase.gray.light2,
},
outline: colorsBase.blue.normal,
placeholder: colorsBase.gray.normal,
Expand Down
5 changes: 0 additions & 5 deletions src/theme/components/alert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,12 @@ const { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpe

const baseStyle = definePartsStyle({
container: {
bgColor: 'alert.bg.light',
display: 'grid',
gridTemplateColumns: { base: '1fr', lg: 'fit-content(50px) 1fr' },
border: '1px solid',
borderColor: 'alert.border',
borderRadius: 'lg',
width: 'fit-content',

_dark: {
bgColor: 'alert.bg.dark',
},
},
title: {
gridColumn: { lg: 2 },
Expand Down

0 comments on commit 4d38043

Please sign in to comment.