parent
5fe5656ccd
commit
510b346ab4
3 changed files with 29 additions and 2 deletions
@ -0,0 +1,25 @@ |
||||
import React from "react"; |
||||
import CurrentDateShamsi from "../CurrentDateShamsi"; |
||||
import CurrentTime from "../CurrentTime"; |
||||
import ProfileInfo from "../ProfileInfo"; |
||||
|
||||
const DateTime = () => { |
||||
return ( |
||||
<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"} /> |
||||
</div> |
||||
{/* ? date */} |
||||
<CurrentDateShamsi color={"text-[#2A527A]"} fontSize={"text-xs"} /> |
||||
</div> |
||||
); |
||||
}; |
||||
|
||||
export default DateTime; |
||||
|
||||
ProfileInfo.DateTime = { |
||||
name: "سبحان قاسمی", |
||||
role: "خادم محترم", |
||||
}; |
Loading…
Reference in new issue