update 5 files

master
mahdi 3 years ago
parent 2e4c131c71
commit 4eb08dcdd4
  1. 4
      src/App.js
  2. 2
      src/components/CurrentDateShamsi/index.js
  3. 6
      src/components/DateTime/index.js
  4. 2
      src/components/DistributedData/index.js
  5. 4
      src/components/UserProfileInfo/index.js

@ -140,8 +140,8 @@ function App() {
{/* <PopupCard /> */}
{/* <TimeLineComponent /> */}
{/* <CardTrelloDesign /> */}
<ReligiousTimes />
<DistributedData />
{/* <ReligiousTimes /> */}
{/* <DistributedData /> */}
{/* <CardDesign1 /> */}
{/* <CardDesign2 /> */}
{/* <LeafletMap /> */}

@ -5,7 +5,7 @@ const CurrentDateShamsi = ({ color, fontSize }) => {
const option = {
weekday: "long",
year: "numeric",
month: "long",
month: "numeric",
day: "numeric",
};
const todayDate = date.toLocaleDateString("fa-IR", option);

@ -8,11 +8,11 @@ const DateTime = () => {
<div className="flex flex-col">
{/* ? time */}
<div className="flex flex-row items-center mb-2">
<span className="text-xs ml-2 text-[#0F0543] ">ساعت</span>
<CurrentTime color={"text-[#2A527A]"} fontSize={"text-xs"} />
<span className="text-sm ml-2 text-[#0F0543] ">ساعت</span>
<CurrentTime color={"text-[#2A527A]"} fontSize={"text-sm"} />
</div>
{/* ? date */}
<CurrentDateShamsi color={"text-[#2A527A]"} fontSize={"text-xs"} />
<CurrentDateShamsi color={"text-[#2A527A]"} fontSize={"text-sm"} />
</div>
);
};

@ -2,7 +2,7 @@ import React from "react";
const DistributedData = ({ items }) => {
return (
<div className="mt-20 flex flex-col items-center gap-y-4 max-w-[550px] mx-auto bg-white shadow-sm rounded-lg pt-3">
<div className="mt-20 flex flex-col items-center gap-y-4 max-w-[750px] mx-auto bg-white shadow-sm rounded-lg pt-3">
{items.map((row, index) => (
<div
className={`flex flex-row items-center justify-around w-full border-[#9DACD344] pb-3 ${

@ -6,10 +6,10 @@ import DateTime from "../DateTime";
const UserProfileInfo = () => {
return (
<div className="flex flex-row items-center bg-red-50 w-fit">
<div className="flex flex-row items-center w-fit">
<DateTime />{" "}
<div
className="w-0.5 bg-[#9DACD344] mx-2"
className="w-0.5 bg-[#9DACD344] mx-4"
style={{ height: "54px" }}
></div>
<ProfileInfo />

Loading…
Cancel
Save