-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from rhinestonewtf/feat/omniaccount-structure
feat: add omniaccount
- Loading branch information
Showing
237 changed files
with
7,663 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Image from 'next/image' | ||
import { useTheme } from 'next-themes' | ||
import { useEffect, useState } from 'react' | ||
|
||
export const OmniAccount1 = ({ | ||
width, | ||
height, | ||
}: { | ||
width: number | ||
height: number | ||
}) => { | ||
const [src, setSrc] = useState<string>( | ||
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', | ||
) | ||
const { resolvedTheme } = useTheme() | ||
|
||
useEffect(() => { | ||
switch (resolvedTheme) { | ||
case 'light': | ||
setSrc('/banners/omniaccount_1_light.png') | ||
break | ||
case 'dark': | ||
setSrc('/banners/omniaccount_1_dark.png') | ||
break | ||
} | ||
}, [resolvedTheme]) | ||
|
||
return <Image src={src} width={width} height={height} alt="Omni Account" /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Image from 'next/image' | ||
import { useTheme } from 'next-themes' | ||
import { useEffect, useState } from 'react' | ||
|
||
export const OmniAccount2 = ({ | ||
width, | ||
height, | ||
}: { | ||
width: number | ||
height: number | ||
}) => { | ||
const [src, setSrc] = useState<string>( | ||
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', | ||
) | ||
const { resolvedTheme } = useTheme() | ||
|
||
useEffect(() => { | ||
switch (resolvedTheme) { | ||
case 'light': | ||
setSrc('/banners/omniaccount_2_light.png') | ||
break | ||
case 'dark': | ||
setSrc('/banners/omniaccount_2_dark.png') | ||
break | ||
} | ||
}, [resolvedTheme]) | ||
|
||
return <Image src={src} width={width} height={height} alt="Omni Account" /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Image from 'next/image' | ||
import { useTheme } from 'next-themes' | ||
import { useEffect, useState } from 'react' | ||
|
||
export const OmniAccount3 = ({ | ||
width, | ||
height, | ||
}: { | ||
width: number | ||
height: number | ||
}) => { | ||
const [src, setSrc] = useState<string>( | ||
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', | ||
) | ||
const { resolvedTheme } = useTheme() | ||
|
||
useEffect(() => { | ||
switch (resolvedTheme) { | ||
case 'light': | ||
setSrc('/banners/omniaccount_3_light.png') | ||
break | ||
case 'dark': | ||
setSrc('/banners/omniaccount_3_dark.png') | ||
break | ||
} | ||
}, [resolvedTheme]) | ||
|
||
return <Image src={src} width={width} height={height} alt="Omni Account" /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Image from 'next/image' | ||
import { useTheme } from 'next-themes' | ||
import { useEffect, useState } from 'react' | ||
|
||
export const OmniAccount4 = ({ | ||
width, | ||
height, | ||
}: { | ||
width: number | ||
height: number | ||
}) => { | ||
const [src, setSrc] = useState<string>( | ||
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', | ||
) | ||
const { resolvedTheme } = useTheme() | ||
|
||
useEffect(() => { | ||
switch (resolvedTheme) { | ||
case 'light': | ||
setSrc('/banners/omniaccount_4_light.png') | ||
break | ||
case 'dark': | ||
setSrc('/banners/omniaccount_4_dark.png') | ||
break | ||
} | ||
}, [resolvedTheme]) | ||
|
||
return <Image src={src} width={width} height={height} alt="Omni Account" /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Image from 'next/image' | ||
import { useTheme } from 'next-themes' | ||
import { useEffect, useState } from 'react' | ||
|
||
export const OmniAccount5 = ({ | ||
width, | ||
height, | ||
}: { | ||
width: number | ||
height: number | ||
}) => { | ||
const [src, setSrc] = useState<string>( | ||
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', | ||
) | ||
const { resolvedTheme } = useTheme() | ||
|
||
useEffect(() => { | ||
switch (resolvedTheme) { | ||
case 'light': | ||
setSrc('/banners/omniaccount_5_light.png') | ||
break | ||
case 'dark': | ||
setSrc('/banners/omniaccount_5_dark.png') | ||
break | ||
} | ||
}, [resolvedTheme]) | ||
|
||
return <Image src={src} width={width} height={height} alt="Omni Account" /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Image from 'next/image' | ||
import { useTheme } from 'next-themes' | ||
import { useEffect, useState } from 'react' | ||
|
||
export const OmniAccount6 = ({ | ||
width, | ||
height, | ||
}: { | ||
width: number | ||
height: number | ||
}) => { | ||
const [src, setSrc] = useState<string>( | ||
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', | ||
) | ||
const { resolvedTheme } = useTheme() | ||
|
||
useEffect(() => { | ||
switch (resolvedTheme) { | ||
case 'light': | ||
setSrc('/banners/omniaccount_6_light.png') | ||
break | ||
case 'dark': | ||
setSrc('/banners/omniaccount_6_dark.png') | ||
break | ||
} | ||
}, [resolvedTheme]) | ||
|
||
return <Image src={src} width={width} height={height} alt="Omni Account" /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Image from 'next/image' | ||
import { useTheme } from 'next-themes' | ||
import { useEffect, useState } from 'react' | ||
|
||
export const OmniAccount7 = ({ | ||
width, | ||
height, | ||
}: { | ||
width: number | ||
height: number | ||
}) => { | ||
const [src, setSrc] = useState<string>( | ||
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', | ||
) | ||
const { resolvedTheme } = useTheme() | ||
|
||
useEffect(() => { | ||
switch (resolvedTheme) { | ||
case 'light': | ||
setSrc('/banners/omniaccount_7_light.png') | ||
break | ||
case 'dark': | ||
setSrc('/banners/omniaccount_7_dark.png') | ||
break | ||
} | ||
}, [resolvedTheme]) | ||
|
||
return <Image src={src} width={width} height={height} alt="Omni Account" /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Image from 'next/image' | ||
import { useTheme } from 'next-themes' | ||
import { useEffect, useState } from 'react' | ||
|
||
export const OmniAccount8 = ({ | ||
width, | ||
height, | ||
}: { | ||
width: number | ||
height: number | ||
}) => { | ||
const [src, setSrc] = useState<string>( | ||
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', | ||
) | ||
const { resolvedTheme } = useTheme() | ||
|
||
useEffect(() => { | ||
switch (resolvedTheme) { | ||
case 'light': | ||
setSrc('/banners/omniaccount_8_light.png') | ||
break | ||
case 'dark': | ||
setSrc('/banners/omniaccount_8_dark.png') | ||
break | ||
} | ||
}, [resolvedTheme]) | ||
|
||
return <Image src={src} width={width} height={height} alt="Omni Account" /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import Image from 'next/image' | ||
import { useTheme } from 'next-themes' | ||
import { useEffect, useState } from 'react' | ||
|
||
export const OmniAccountIcon = ({ | ||
width, | ||
height, | ||
}: { | ||
width: number | ||
height: number | ||
}) => { | ||
const [src, setSrc] = useState<string>( | ||
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', | ||
) | ||
const { resolvedTheme } = useTheme() | ||
|
||
useEffect(() => { | ||
switch (resolvedTheme) { | ||
case 'light': | ||
setSrc('/icons/omniaccount_light.png') | ||
break | ||
case 'dark': | ||
setSrc('/icons/omniaccount_dark.png') | ||
break | ||
} | ||
}, [resolvedTheme]) | ||
|
||
return ( | ||
<Image src={src} width={width} height={height} alt="Omni Account Icon" /> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.