-
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 9, 2024
1 parent
931a503
commit ee51842
Showing
4 changed files
with
58 additions
and
9 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
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,22 @@ | ||
import { createFileRoute } from '@tanstack/react-router'; | ||
|
||
import { z } from 'zod'; | ||
|
||
import { FormattedMessage } from 'react-intl'; | ||
|
||
import { zOrigin } from '@/types/tree/Tree'; | ||
|
||
export const HomeSearchSchema = z.object({ | ||
origin: zOrigin, | ||
}); | ||
|
||
export const Route = createFileRoute('/underDevelopment')({ | ||
validateSearch: HomeSearchSchema, | ||
component: () => { | ||
return ( | ||
<div className="grid h-[400px] place-items-center rounded-md bg-slate-100 dark:bg-slate-800"> | ||
<FormattedMessage id="global.underDevelopment" /> | ||
</div> | ||
); | ||
}, | ||
}); |