diff --git a/src/components/IconText.tsx b/src/components/IconText.tsx
index aeb98825..96bd3e7a 100644
--- a/src/components/IconText.tsx
+++ b/src/components/IconText.tsx
@@ -15,7 +15,7 @@ const IconText = ({ icon, children, ...props }: IconTextProps) => {
space={'$2'}
>
-
+
{children}
diff --git a/src/components/LayoutComponent/LandingPage.tsx b/src/components/LayoutComponent/LandingPage.tsx
index 8e093309..389853f8 100644
--- a/src/components/LayoutComponent/LandingPage.tsx
+++ b/src/components/LayoutComponent/LandingPage.tsx
@@ -99,7 +99,7 @@ function Content() {
diff --git a/src/components/StandardLineChart.tsx b/src/components/StandardLineChart.tsx
index 9a94457a..11ea8fad 100644
--- a/src/components/StandardLineChart.tsx
+++ b/src/components/StandardLineChart.tsx
@@ -4,7 +4,7 @@ const MyResponsiveLine = () => {
const data = [
{
id: 'japan',
- color: 'hsl(315, 70%, 50%)',
+ color: '#8DC6BC',
data: [
{
x: '1',
@@ -83,6 +83,7 @@ const MyResponsiveLine = () => {
pointLabelYOffset={-12}
useMesh={true}
legends={[]}
+ colors={['#8DC6BC']}
/>
)
}
diff --git a/src/components/StaticBox.tsx b/src/components/StaticBox.tsx
index 4d730be2..5b25e7c6 100644
--- a/src/components/StaticBox.tsx
+++ b/src/components/StaticBox.tsx
@@ -1,47 +1,9 @@
import React, { ReactNode, CSSProperties } from 'react'
-import { Paragraph, Separator, Text, XStack, YStack } from 'tamagui'
-import { styled } from 'tamagui'
-import { Image } from 'tamagui'
+
import MyResponsiveLine from './StandardLineChart'
-
-interface IconProps {
- source: string
- width?: number
- height?: number
-}
-
-const Icon: React.FC = ({ source, width = 16, height = 16, ...props }) => {
- return
-}
-
-interface IconTextProps {
- icon: string
- text: string
- fontWeight?: string
-}
-
-const IconText: React.FC = ({ icon, text, ...props }) => {
- return (
-
-
-
- {text}
-
-
- )
-}
-const DivComponent: React.FC = props =>
-const ShadowBox = styled(DivComponent, {
- boxSizing: 'border-box',
- borderRadius: '16px',
- boxShadow: '0px 4px 20px 0px rgba(9, 16, 28, 0.08)',
- width: '100%',
-})
+import ShadowBox from './ShadowBox'
+import IconText from './IconText'
+import { Paragraph, Separator, Text, XStack, YStack } from 'tamagui'
interface StatisticBoxProps {
title: string
@@ -62,7 +24,6 @@ const StatisticBox: React.FC = ({
stateText,
additionalStateText,
children,
-
...props
}) => {
return (
@@ -91,7 +52,7 @@ const StatisticBox: React.FC = ({
-
+ {stateText}
{additionalStateText && {additionalStateText}}