fix build

This commit is contained in:
ryanchristo 2026-11-17 22:15:27 -08:00
parent c0ee8a4a11
commit 71590024e7
No known key found for this signature in database
28 changed files with 943 additions and 2 deletions

View file

@ -0,0 +1,54 @@
'use client'
import * as React from 'react'
import { useContext } from 'react'
import { ThemeContext } from '../../contexts'
const defaultColor = '#00C3A5'
const ArrowRight = ({ color, useTheme }: any) => {
const { darkTheme } = useContext(ThemeContext)
const stroke = color || defaultColor
return (
<svg
xmlns="http://www.w3.org/2000/svg"
height="0.5em"
width="0.5em"
viewBox="0 0 20 20"
style={{ marginRight: '0.5em' }}
>
<line
x1="3"
y1="10"
x2="17"
y2="10"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
<line
x1="3"
y1="10"
x2="7"
y2="15"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
<line
x1="3"
y1="10"
x2="7"
y2="5"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
</svg>
)
}
export default ArrowRight

View file

@ -0,0 +1,54 @@
'use client'
import * as React from 'react'
import { useContext } from 'react'
import { ThemeContext } from '../../contexts'
const defaultColor = '#00C3A5'
const ArrowRight = ({ color, useTheme }: any) => {
const { darkTheme } = useContext(ThemeContext)
const stroke = color || defaultColor
return (
<svg
xmlns="http://www.w3.org/2000/svg"
height="0.5em"
width="0.5em"
viewBox="0 0 20 20"
style={{ marginLeft: '0.5em' }}
>
<line
x1="3"
y1="10"
x2="17"
y2="10"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
<line
x1="17"
y1="10"
x2="12"
y2="5"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
<line
x1="17"
y1="10"
x2="12"
y2="15"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
</svg>
)
}
export default ArrowRight

View file

@ -0,0 +1,54 @@
'use client'
import * as React from 'react'
import { useContext } from 'react'
import { ThemeContext } from '../../contexts'
const defaultColor = '#00C3A5'
const ArrowUpRight = ({ color, useTheme }: any) => {
const { darkTheme } = useContext(ThemeContext)
const stroke = color || defaultColor
return (
<svg
xmlns="http://www.w3.org/2000/svg"
height="0.5em"
width="0.5em"
viewBox="0 0 20 20"
style={{ marginLeft: '0.5em' }}
>
<line
x1="3"
y1="17"
x2="17"
y2="3"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
<line
x1="17"
y1="3"
x2="7"
y2="3"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
<line
x1="17"
y1="3"
x2="17"
y2="12"
stroke={useTheme ? (darkTheme ? '#000' : '#FFF') : stroke}
strokeLinecap="round"
strokeWidth="3"
/>
</svg>
)
}
export default ArrowUpRight

View file

@ -0,0 +1,31 @@
import * as React from 'react'
const CheckIcon = ({ darkTheme }: any) => (
<svg
xmlns="http://www.w3.org/2000/svg"
height="0.5em"
width="0.5em"
viewBox="0 0 20 20"
>
<line
x1="7"
y1="17"
x2="17"
y2="3"
stroke={darkTheme ? '#FFFFFF' : '#111111'}
strokeLinecap="round"
strokeWidth="6"
/>
<line
x1="7"
y1="17"
x2="3"
y2="10"
stroke={darkTheme ? '#FFFFFF' : '#111111'}
strokeLinecap="round"
strokeWidth="6"
/>
</svg>
)
export default CheckIcon

View file

@ -0,0 +1,40 @@
import * as React from 'react'
const MenuIcon = ({ darkTheme }: any) => (
<svg
xmlns="http://www.w3.org/2000/svg"
height="1.5em"
width="1.5em"
viewBox="0 0 100 100"
>
<line
x1="10"
y1="85"
x2="90"
y2="85"
stroke={darkTheme ? '#FFFFFF' : '#111111'}
strokeLinecap="round"
strokeWidth="10"
/>
<line
x1="10"
y1="50"
x2="90"
y2="50"
stroke={darkTheme ? '#FFFFFF' : '#111111'}
strokeLinecap="round"
strokeWidth="10"
/>
<line
x1="10"
y1="15"
x2="90"
y2="15"
stroke={darkTheme ? '#FFFFFF' : '#111111'}
strokeLinecap="round"
strokeWidth="10"
/>
</svg>
)
export default MenuIcon

View file

@ -0,0 +1,15 @@
import * as React from 'react'
const ThemeIcon = ({ darkTheme }: any) => (
<svg
xmlns="http://www.w3.org/2000/svg"
height="1.5em"
width="1.5em"
viewBox="0 0 100 100"
>
<circle cx="50" cy="50" r="40" fill={darkTheme ? '#F5F5F5' : '#0A0A0A'} />
<circle cx="60" cy="50" r="37" fill={darkTheme ? '#111111' : '#FFFFFF'} />
</svg>
)
export default ThemeIcon

View file

@ -0,0 +1,17 @@
import * as React from 'react'
const UserIcon = ({ darkTheme }: any) => (
<svg
xmlns="http://www.w3.org/2000/svg"
height="1.5em"
width="1.5em"
viewBox="0 0 100 100"
>
<circle cx="50" cy="40" r="30" fill={darkTheme ? '#FFFFFF' : '#111111'} />
<circle cx="48" cy="40" r="22" fill={darkTheme ? '#111111' : '#FFFFFF'} />
<circle cx="50" cy="105" r="40" fill={darkTheme ? '#FFFFFF' : '#111111'} />
<circle cx="48" cy="105" r="32" fill={darkTheme ? '#111111' : '#FFFFFF'} />
</svg>
)
export default UserIcon

View file

@ -0,0 +1,7 @@
export { default as ArrowLeft } from './ArrowLeft'
export { default as ArrowRight } from './ArrowRight'
export { default as ArrowUpRight } from './ArrowUpRight'
export { default as CheckIcon } from './CheckIcon'
export { default as MenuIcon } from './MenuIcon'
export { default as ThemeIcon } from './ThemeIcon'
export { default as UserIcon } from './UserIcon'