-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aef251a
commit 288707c
Showing
17 changed files
with
299 additions
and
39 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
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ node_modules | |
dist | ||
dist-ssr | ||
*.local | ||
*.pyc | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,15 @@ | ||
import { ArrowDownCircleIcon } from '@heroicons/react/24/solid'; | ||
import { ArrowUpCircleIcon } from '@heroicons/react/24/solid'; | ||
import React from 'react'; | ||
|
||
interface DirectionIndicatorProps { | ||
direction?: 'up' | 'down'; | ||
} | ||
|
||
export const DirectionIndicator: React.FC<DirectionIndicatorProps> = ({ direction }) => { | ||
if (direction === 'up') { | ||
return <ArrowUpCircleIcon className={`ml-1 h-6 w-6 inline-block text-red-500`} />; | ||
} else if (direction === 'down') { | ||
return <ArrowDownCircleIcon className={`ml-1 h-6 w-6 inline-block text-green-500`} />; | ||
} | ||
}; |
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,15 @@ | ||
import classNames from 'classnames'; | ||
import React from 'react'; | ||
|
||
interface UnitTextProps { | ||
text: string; | ||
isLarge?: boolean; | ||
} | ||
|
||
export const UnitText: React.FC<UnitTextProps> = ({ text, isLarge = false }) => { | ||
return ( | ||
<span className={classNames('text-gray-700 dark:text-white', isLarge ? 'text-sm' : 'text-xs')}> | ||
{text} | ||
</span> | ||
); | ||
}; |
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,15 @@ | ||
import classNames from 'classnames'; | ||
import React from 'react'; | ||
|
||
interface WidgetTextProps { | ||
text: string; | ||
isLarge?: boolean; | ||
} | ||
|
||
export const WidgetText: React.FC<WidgetTextProps> = ({ text, isLarge = false }) => { | ||
return ( | ||
<span className={classNames('text-gray-700 dark:text-white', isLarge ? 'text-2xl' : 'text-sm')}> | ||
{text} | ||
</span> | ||
); | ||
}; |
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
export const cardStyles = 'rounded-lg bg-white dark:dark:bg-slate-700 dark:text-white p-4 shadow' | ||
export const cardStyles = 'rounded-lg bg-white dark:dark:bg-slate-700 dark:text-white p-4 shadow'; |
Oops, something went wrong.