From b03fbc0093d91856856c069f6059657d80195378 Mon Sep 17 00:00:00 2001 From: Ehsan Date: Mon, 24 Jun 2024 04:30:26 +0330 Subject: [PATCH] basic design page doctors --- app/doctors/page.js | 12 +++++ components/doctors/index.js | 22 ++++++++++ components/doctors/search/index.js | 46 ++++++++++++++++++++ components/home/search/index.js | 70 +++++++++++++++--------------- components/icons/LocationD.js | 10 +++++ 5 files changed, 125 insertions(+), 35 deletions(-) create mode 100644 app/doctors/page.js create mode 100644 components/doctors/index.js create mode 100644 components/doctors/search/index.js create mode 100644 components/icons/LocationD.js diff --git a/app/doctors/page.js b/app/doctors/page.js new file mode 100644 index 0000000..6ce312c --- /dev/null +++ b/app/doctors/page.js @@ -0,0 +1,12 @@ +import DoctorsPage from '@/components/doctors'; +import Layout from '@/components/layout'; + +function index() { + return ( + + + + ) +} + +export default index \ No newline at end of file diff --git a/components/doctors/index.js b/components/doctors/index.js new file mode 100644 index 0000000..008f7e5 --- /dev/null +++ b/components/doctors/index.js @@ -0,0 +1,22 @@ +import { Button } from "@mui/material" +import LocationD from "../icons/LocationD" +import SearchBar from "./search" + +function DoctorsPage() { + return ( +
+
+
+ +

خوزستان / اهواز

+
+
+ + +
+
+
+ ) +} + +export default DoctorsPage \ No newline at end of file diff --git a/components/doctors/search/index.js b/components/doctors/search/index.js new file mode 100644 index 0000000..9a68b55 --- /dev/null +++ b/components/doctors/search/index.js @@ -0,0 +1,46 @@ +import Search from "@/components/icons/Search"; +import Location from "@/components/icons/Location"; +import { Button, ButtonGroup, TextField } from "@mui/material"; + +function SearchBar() { + return ( + + + + + + + ) +} + +export default SearchBar \ No newline at end of file diff --git a/components/home/search/index.js b/components/home/search/index.js index 553cd71..9a68b55 100644 --- a/components/home/search/index.js +++ b/components/home/search/index.js @@ -5,41 +5,41 @@ import { Button, ButtonGroup, TextField } from "@mui/material"; function SearchBar() { return ( - - - - - + variant="contained" + className="!py-3 !pl-4 !gap-3 !bg-[#FAFAFA] !shadow-[0px_1px_24.8px_0px_rgba(204,_204,_204,_0.18)]" + > + + + + + ) } diff --git a/components/icons/LocationD.js b/components/icons/LocationD.js new file mode 100644 index 0000000..7eccae9 --- /dev/null +++ b/components/icons/LocationD.js @@ -0,0 +1,10 @@ +function LocationD() { + return ( + + + + + ) +} + +export default LocationD \ No newline at end of file