Skip to content

Commit

Permalink
added joined at time on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Jul 28, 2024
1 parent d46314e commit 11f8201
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/app/modules/me.module.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import Footer from "./footer.module";
import { useCookies } from 'next-client-cookies';
import Menu from "./theme_select.module";
import { Users } from "../users/[name]/page";
import { formatDate } from "./card.module";

const Default = ({ data, islogged, color }: { data: Query, islogged: boolean, color?: string }) => {
return (
Expand All @@ -21,8 +22,7 @@ const Default = ({ data, islogged, color }: { data: Query, islogged: boolean, co
<h3>{data?.name}</h3>
<p className={style_sidebar.username}>{data?.username}</p>
<div className={style_sidebar.joined}>
<p>Аккаунт создан <span>{timeStamp((new Date(data?.joined_at).getTime()) / 1000)}</span></p>

<p title={formatDate(new Date(data?.joined_at))}>Аккаунт создан {timeStamp((new Date(data?.joined_at).getTime()) / 1000)}</p>
</div>

<p className={style_sidebar.uid}>Discord id: {data?.discordID}</p>
Expand All @@ -41,8 +41,7 @@ const ImprovedTheme = ({ data, islogged }: { data: Query, islogged: boolean }) =
<h3>{data?.name}</h3>
<p className={style_sidebar.username}>{data?.username}</p>
<div className={style_sidebar.joined}>
<p>Аккаунт создан <span>{timeStamp((new Date(data?.joined_at).getTime()) / 1000)}</span></p>

<p title={formatDate(new Date(data?.joined_at))}>Аккаунт создан {timeStamp((new Date(data?.joined_at).getTime()) / 1000)}</p>
</div>

<p className={style_sidebar.uid}>Discord id: {data?.discordID}</p>
Expand Down

0 comments on commit 11f8201

Please sign in to comment.