-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
24 changed files
with
174 additions
and
282 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,28 @@ | ||
import PageRootComponent from "./PageRootComponent"; | ||
import PageRootComponent, { TPageConfig } from "./PageRootComponent"; | ||
import { memo } from "react"; | ||
import data from "@/assets/data/team.json"; | ||
|
||
const PageTeamDetails = async () => { | ||
return <PageRootComponent />; | ||
/** | ||
* Retrieves data from the specified URL. | ||
* | ||
* @return {Promise<RequestResponseType>} The retrieved data. | ||
*/ | ||
// async function getData(): Promise<TeamResponseType> { | ||
// const res = await fetch("/data/team.json"); | ||
// const data = await res.json(); | ||
|
||
// return data; | ||
// } | ||
|
||
const PageTeam = async () => { | ||
// const data = await getData(); | ||
const config: TPageConfig = { | ||
analytics: false, | ||
settings: false, | ||
table: true, | ||
}; | ||
|
||
return <PageRootComponent data={data} config={config} />; | ||
}; | ||
|
||
export default memo(PageTeamDetails); | ||
export default memo(PageTeam); |
File renamed without changes.
File renamed without changes.
47 changes: 0 additions & 47 deletions
47
src/components/blood-request/BloodRequestTable/BloodRequestTableMenu.tsx
This file was deleted.
Oops, something went wrong.
50 changes: 50 additions & 0 deletions
50
src/components/blood-request/BloodRequestTable/TableMenu.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,50 @@ | ||
import { Button } from "@/components/ui/button"; | ||
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger } from "@/components/ui/dropdown-menu"; | ||
|
||
|
||
import { | ||
MoreVertical16Regular, | ||
BookQuestionMark24Regular, | ||
Bug24Regular, | ||
} from "@fluentui/react-icons"; | ||
import Link from "next/link"; | ||
import { FC, memo } from "react"; | ||
|
||
const TableMenu: FC = () => { | ||
return ( | ||
<DropdownMenu> | ||
<DropdownMenuTrigger> | ||
<Button variant="ghost" size="icon"> | ||
<MoreVertical16Regular className="h-4 w-4" /> | ||
</Button> | ||
</DropdownMenuTrigger> | ||
|
||
<DropdownMenuContent> | ||
<DropdownMenuLabel>My Account</DropdownMenuLabel> | ||
<DropdownMenuSeparator /> | ||
|
||
<DropdownMenuItem> | ||
<DropdownMenuCheckboxItem className="ps-0 py-0"> | ||
<BookQuestionMark24Regular className="h-5 w-5" /> | ||
</DropdownMenuCheckboxItem> | ||
|
||
<Link href={"/help/members"} target="_blank"> | ||
Help | ||
</Link> | ||
</DropdownMenuItem> | ||
|
||
<DropdownMenuItem > | ||
|
||
<DropdownMenuCheckboxItem className="ps-0 py-0"> | ||
<Bug24Regular className="h-5 w-5" /> | ||
</DropdownMenuCheckboxItem> | ||
<Link href={"/issues/report"} target="_blank"> | ||
Report issue | ||
</Link> | ||
</DropdownMenuItem> | ||
</DropdownMenuContent> | ||
</DropdownMenu> | ||
); | ||
}; | ||
|
||
export default memo(TableMenu); |
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.
a190caa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
simbio-experimental – ./
simbio-experimental.vercel.app
simbio-experimental-abuthermuhammad.vercel.app
simbio-experimental-git-main-abuthermuhammad.vercel.app
simbio.dot9.dev