-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dashboard): "Under Development" message
- shows "Under Development" message when "Devices" and "Labs" labels are clicked - labels change when clicked Closes #223
- Loading branch information
Lucas Bracher
committed
Sep 10, 2024
1 parent
543ecc7
commit 5ed781f
Showing
7 changed files
with
106 additions
and
24 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
9 changes: 9 additions & 0 deletions
9
dashboard/src/components/UnderDevelopment/UnderDevelopment.tsx
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,9 @@ | ||
import { FormattedMessage } from 'react-intl'; | ||
|
||
export const UnderDevelopment = (): JSX.Element => { | ||
return ( | ||
<div className="grid h-[400px] place-items-center rounded-md bg-slate-100 dark:bg-slate-800"> | ||
<FormattedMessage id="global.underDevelopment" /> | ||
</div> | ||
); | ||
}; |
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,3 @@ | ||
import { UnderDevelopment } from './UnderDevelopment'; | ||
|
||
export { UnderDevelopment }; |
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,7 @@ | ||
import { createFileRoute } from '@tanstack/react-router'; | ||
|
||
import { UnderDevelopment } from '@/components/UnderDevelopment'; | ||
|
||
export const Route = createFileRoute('/devices')({ | ||
component: () => <UnderDevelopment />, | ||
}); |
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,7 @@ | ||
import { createFileRoute } from '@tanstack/react-router'; | ||
|
||
import { UnderDevelopment } from '@/components/UnderDevelopment'; | ||
|
||
export const Route = createFileRoute('/labs')({ | ||
component: () => <UnderDevelopment />, | ||
}); |