update App.js, src/components/CurrentDateShamsi/index.js and src/components/RoomCardInfo/index.js

master
mahdi 3 years ago
parent b59d8b0aed
commit 2810397daa
  1. 28
      src/App.js
  2. 3
      src/components/CurrentDateShamsi/index.js
  3. 10
      src/components/RoomCardInfo/index.js

@ -116,12 +116,12 @@ function App() {
{/* <BlogDesign6 /> */} {/* <BlogDesign6 /> */}
{/* <ContactInfoSection /> */} {/* <ContactInfoSection /> */}
{/* <Testttt /> */} {/* <Testttt /> */}
<Design2D /> {/* <Design2D /> */}
{/* <Features /> */} {/* <Features /> */}
{/* <Feedback /> */} {/* <Feedback /> */}
{/* <Alert /> */} {/* <Alert /> */}
{/* <Toast /> */} {/* <Toast /> */}
<ProductSuggestion /> {/* <ProductSuggestion /> */}
{/* <ProductImage /> */} {/* <ProductImage /> */}
{/* <ProductTab /> */} {/* <ProductTab /> */}
{/* <ProductStatusCard /> */} {/* <ProductStatusCard /> */}
@ -143,13 +143,13 @@ function App() {
{/* <GridListTable /> */} {/* <GridListTable /> */}
<PopupCard /> <PopupCard />
{/* <TimeLineComponent /> */} {/* <TimeLineComponent /> */}
<CardTrelloDesign /> {/* <CardTrelloDesign /> */}
{/* <ReligiousTimes /> */} {/* <ReligiousTimes /> */}
<DistributedData /> {/* <DistributedData /> */}
<CardDesign1 /> {/* <CardDesign1 /> */}
<CardDesign2 /> {/* <CardDesign2 /> */}
<CardDesign3 /> {/* <CardDesign3 /> */}
<ContactUsInfoCard /> {/* <ContactUsInfoCard /> */}
<RoomCardInfo /> <RoomCardInfo />
{/* <LeafletMap /> */} {/* <LeafletMap /> */}
@ -183,12 +183,12 @@ function App() {
{/* <FolderTree /> */} {/* <FolderTree /> */}
{/* <IndianaDragScroll /> */} {/* <IndianaDragScroll /> */}
{/* <IconText /> */} {/* <IconText /> */}
<CustomToast /> {/* <CustomToast /> */}
<CustomToast2 /> {/* <CustomToast2 /> */}
<DateRangePicker /> {/* <DateRangePicker /> */}
<BoxNextToEachOther /> {/* <BoxNextToEachOther /> */}
<ProfileInfo /> {/* <ProfileInfo /> */}
<UserProfileInfo /> {/* <UserProfileInfo /> */}
{/* <CurrentTime /> */} {/* <CurrentTime /> */}
{/* <CurrentDateShamsi /> */} {/* <CurrentDateShamsi /> */}
{/* <DateTime /> */} {/* <DateTime /> */}

@ -16,8 +16,7 @@ const CurrentDateShamsi = ({ color, fontSize }) => {
return ( return (
<p className={`${color} ${fontSize}`}> <p className={`${color} ${fontSize}`}>
{todayDate} <span className="text-[#0F0543]">{weekday}</span> {todayDate}
<span className="text-red-400">{weekday}</span>
</p> </p>
); );
}; };

@ -22,13 +22,9 @@ RoomCardInfo.defaultProps = {
items: [ items: [
{ {
name: "کامران هوشمند", name: "کامران هوشمند",
subItems: [ enterData: "1400/11/13",
{ expireData: "1400/11/20",
enterData: "1400/11/13", roomNumber: "B14 سالن شهید عباسی",
expireData: "1400/11/20",
roomNumber: "B14 سالن شهید عباسی",
},
],
}, },
], ],
}; };

Loading…
Cancel
Save