From f641472ade5063d027521dc0a1670d71b4eb5ec8 Mon Sep 17 00:00:00 2001 From: Ehsan Date: Tue, 25 Jun 2024 12:26:02 +0330 Subject: [PATCH] fix console bug & change property icons --- components/doctors/ListDoctors.js | 8 +++++++- components/icons/AText.js | 2 +- components/icons/ArrowBottomD.js | 2 +- components/icons/ArrowBottomH.js | 2 +- components/icons/ArrowLeftM.js | 4 ++-- components/icons/ArrowLeftOrangeS.js | 4 ++-- components/icons/ArrowRightS.js | 4 ++-- components/icons/BText.js | 2 +- components/icons/CalendarAddF.js | 20 ++++++++++---------- components/icons/Instagram.js | 6 +++--- components/icons/Location.js | 4 ++-- components/icons/LocationD.js | 4 ++-- components/icons/Search.js | 4 ++-- components/icons/SearchD.js | 4 ++-- components/icons/SettingD.js | 2 +- components/icons/StethoscopeF.js | 2 +- components/icons/Whatsapp.js | 4 ++-- 17 files changed, 42 insertions(+), 36 deletions(-) diff --git a/components/doctors/ListDoctors.js b/components/doctors/ListDoctors.js index d1f4252..f5742e9 100644 --- a/components/doctors/ListDoctors.js +++ b/components/doctors/ListDoctors.js @@ -1,8 +1,14 @@ +import doctors from '@/data/doctors.json' + function ListDoctors() { + + console.log(doctors); + console.log('doctors'); + return (
) diff --git a/components/icons/AText.js b/components/icons/AText.js index 4794f8b..f45ab1e 100644 --- a/components/icons/AText.js +++ b/components/icons/AText.js @@ -1,7 +1,7 @@ function AText() { return ( - + diff --git a/components/icons/ArrowBottomD.js b/components/icons/ArrowBottomD.js index 5874885..9df91c1 100644 --- a/components/icons/ArrowBottomD.js +++ b/components/icons/ArrowBottomD.js @@ -1,7 +1,7 @@ function ArrowBottomD() { return ( - + ) } diff --git a/components/icons/ArrowBottomH.js b/components/icons/ArrowBottomH.js index d22cf33..9afdf63 100644 --- a/components/icons/ArrowBottomH.js +++ b/components/icons/ArrowBottomH.js @@ -1,7 +1,7 @@ function ArrowBottomH() { return ( - + ) } diff --git a/components/icons/ArrowLeftM.js b/components/icons/ArrowLeftM.js index 65fe2b5..01ca6a3 100644 --- a/components/icons/ArrowLeftM.js +++ b/components/icons/ArrowLeftM.js @@ -1,8 +1,8 @@ function ArrowLeftM() { return ( - - + + ) } diff --git a/components/icons/ArrowLeftOrangeS.js b/components/icons/ArrowLeftOrangeS.js index 893a7a4..afe28a7 100644 --- a/components/icons/ArrowLeftOrangeS.js +++ b/components/icons/ArrowLeftOrangeS.js @@ -1,8 +1,8 @@ function ArrowLeftOrangeS() { return ( - - + + ) } diff --git a/components/icons/ArrowRightS.js b/components/icons/ArrowRightS.js index 8a6f99d..45402c8 100644 --- a/components/icons/ArrowRightS.js +++ b/components/icons/ArrowRightS.js @@ -1,8 +1,8 @@ function ArrowRightS() { return ( - - + + ) } diff --git a/components/icons/BText.js b/components/icons/BText.js index 497d29a..26dcbeb 100644 --- a/components/icons/BText.js +++ b/components/icons/BText.js @@ -1,7 +1,7 @@ function BText() { return ( - + diff --git a/components/icons/CalendarAddF.js b/components/icons/CalendarAddF.js index 3c89649..9caabb1 100644 --- a/components/icons/CalendarAddF.js +++ b/components/icons/CalendarAddF.js @@ -1,16 +1,16 @@ function CalendarAddF() { return ( - - - - - - - - - - + + + + + + + + + + ) diff --git a/components/icons/Instagram.js b/components/icons/Instagram.js index 07da5be..fdf9576 100644 --- a/components/icons/Instagram.js +++ b/components/icons/Instagram.js @@ -1,9 +1,9 @@ function Instagram() { return ( - - - + + + ) } diff --git a/components/icons/Location.js b/components/icons/Location.js index 10a5415..168c729 100644 --- a/components/icons/Location.js +++ b/components/icons/Location.js @@ -1,8 +1,8 @@ function Location() { return ( - - + + ) } diff --git a/components/icons/LocationD.js b/components/icons/LocationD.js index 7eccae9..ad91c47 100644 --- a/components/icons/LocationD.js +++ b/components/icons/LocationD.js @@ -1,8 +1,8 @@ function LocationD() { return ( - - + + ) } diff --git a/components/icons/Search.js b/components/icons/Search.js index 8dbe504..69d4877 100644 --- a/components/icons/Search.js +++ b/components/icons/Search.js @@ -1,8 +1,8 @@ function Search() { return ( - - + + ) } diff --git a/components/icons/SearchD.js b/components/icons/SearchD.js index f1a70e9..70869bb 100644 --- a/components/icons/SearchD.js +++ b/components/icons/SearchD.js @@ -1,8 +1,8 @@ function SearchD() { return ( - - + + ) } diff --git a/components/icons/SettingD.js b/components/icons/SettingD.js index 5fc5187..6633931 100644 --- a/components/icons/SettingD.js +++ b/components/icons/SettingD.js @@ -1,7 +1,7 @@ function SettingD() { return ( - + diff --git a/components/icons/StethoscopeF.js b/components/icons/StethoscopeF.js index 0da9709..edfd5f6 100644 --- a/components/icons/StethoscopeF.js +++ b/components/icons/StethoscopeF.js @@ -3,7 +3,7 @@ function StethoscopeF() { - + ) diff --git a/components/icons/Whatsapp.js b/components/icons/Whatsapp.js index 1c3d4c4..7e77d0c 100644 --- a/components/icons/Whatsapp.js +++ b/components/icons/Whatsapp.js @@ -1,8 +1,8 @@ function Whatsapp() { return ( - - + + ) }