diff --git a/app/[locale]/(public)/content-management/download/page.tsx b/app/[locale]/(public)/content-management/download/page.tsx index 729e70dc..7596e1fa 100644 --- a/app/[locale]/(public)/content-management/download/page.tsx +++ b/app/[locale]/(public)/content-management/download/page.tsx @@ -278,12 +278,13 @@ const Galery = (props: any) => {
-
-
-

Galeri Saya

-
-
+
+
+

+ Galeri + Saya +

{
+
{selectedTab == "video" ? ( contentVideo?.length > 0 ? ( -
+
{contentVideo?.map((video: any) => ( - - + +
- - {/* */} -
- -
- -
{video?.mediaUpload?.title}
- - - - - - - - - -

Content Rewrite

- -
- - - - - -
-

Share Ke Email

-
-

Email Tujuan :

- setEmailShareInput(event.target.value)} onKeyPress={handleEmailList} type="email" placeholder="Tekan Enter untuk input Email" /> +
+
+ +
+ +

{video?.mediaUpload?.title}

+ +

+ + + + + + + +

handleSaveWishlist(video?.mediaUpload?.id)} className="cursor-pointer flex flex-row gap-2 hover:text-red-800"> + +

Simpan

- -
- - + + +

Content Rewrite

+ +
+ + + + + +
+

Share Ke Email

+
+

Email Tujuan :

+ setEmailShareInput(event.target.value)} onKeyPress={handleEmailList} type="email" placeholder="Tekan Enter untuk input Email" /> +
+ +
+
+
+
+ + +

- handleDelete(video?.id)} className="flex items-center gap-3 hover:text-red-800 w-full rounded-lg"> - -

Hapus

-
- - +
+
@@ -464,58 +471,65 @@ const Galery = (props: any) => { contentImage?.length > 0 ? (
{contentImage?.map((image: any) => ( - - - - {/* */} -
- -
- -
{image?.mediaUpload?.title}
- - - - - - - - - -

Content Rewrite

- -
- - - - - -
-

Share Ke Email

-
-

Email Tujuan :

- setEmailShareInput(event.target.value)} onKeyPress={handleEmailList} type="email" placeholder="Tekan Enter untuk input Email" /> -
- -
-
-
+ + +
+
+
+ +
+ +

{image?.mediaUpload?.title}

+ +

+ + + + + + + +

handleSaveWishlist(image?.mediaUpload?.id)} className="cursor-pointer flex flex-row gap-2 hover:text-red-800"> + +

Simpan

+
+ + +

Content Rewrite

+ +
+ + + + + +
+

Share Ke Email

+
+

Email Tujuan :

+ setEmailShareInput(event.target.value)} onKeyPress={handleEmailList} type="email" placeholder="Tekan Enter untuk input Email" /> +
+ +
+
+
+
+ + +

+
- handleDelete(image?.id)} className="flex items-center gap-3 hover:text-red-800 w-full rounded-lg"> - -

Hapus

-
- - +
+
))} -
+
) : (

empty diff --git a/app/[locale]/(public)/content-management/galery/page.tsx b/app/[locale]/(public)/content-management/galery/page.tsx index adedbe35..3b65bd3f 100644 --- a/app/[locale]/(public)/content-management/galery/page.tsx +++ b/app/[locale]/(public)/content-management/galery/page.tsx @@ -21,6 +21,7 @@ import { Button } from "@/components/ui/button"; import { sendMediaUploadToEmail } from "@/service/media-tracking/media-tracking"; import ImageBlurry from "@/components/ui/image-blurry"; import Image from "next/image"; +import { formatDateToIndonesian } from "@/utils/globals"; const Galery = (props: any) => { const [profile, setProfile] = useState(); @@ -284,12 +285,13 @@ const Galery = (props: any) => {

-
-
-

Galeri {profile?.institute?.name}

-
+
+

+ Galeri + {profile?.institute?.name} +

{
+
{selectedTab == "video" ? ( contentVideo?.length > 0 ? ( -
+
{contentVideo?.map((video: any) => ( - - + +
- - {/* */} -
- -
- -
{video?.mediaUpload?.title}
- - - - - - - -
handleSaveWishlist(video?.mediaUpload?.id)} className="cursor-pointer flex flex-row gap-2 hover:text-red-800"> - -

Simpan

-
- - -

Content Rewrite

- -
- - - - - -
-

Share Ke Email

-
-

Email Tujuan :

- setEmailShareInput(event.target.value)} onKeyPress={handleEmailList} type="email" placeholder="Tekan Enter untuk input Email" /> +
+
+ +
+ +

{video?.mediaUpload?.title}

+ +

+ + + + + + + +

handleSaveWishlist(video?.mediaUpload?.id)} className="cursor-pointer flex flex-row gap-2 hover:text-red-800"> + +

Simpan

- -
- - + + +

Content Rewrite

+ +
+ + + + + +
+

Share Ke Email

+
+

Email Tujuan :

+ setEmailShareInput(event.target.value)} onKeyPress={handleEmailList} type="email" placeholder="Tekan Enter untuk input Email" /> +
+ +
+
+
+
+ + +

- - +
+
@@ -468,54 +476,61 @@ const Galery = (props: any) => { contentImage?.length > 0 ? (
{contentImage?.map((image: any) => ( - - - - {/* */} -
- + + +
+
+
+ +
+ +

{image?.mediaUpload?.title}

+ +

+ + + + + + + +

handleSaveWishlist(image?.mediaUpload?.id)} className="cursor-pointer flex flex-row gap-2 hover:text-red-800"> + +

Simpan

+
+ + +

Content Rewrite

+ +
+ + + + + +
+

Share Ke Email

+
+

Email Tujuan :

+ setEmailShareInput(event.target.value)} onKeyPress={handleEmailList} type="email" placeholder="Tekan Enter untuk input Email" /> +
+ +
+
+
+
+ + +

+
+
- -
{image?.mediaUpload?.title}
- - - - - - - -
handleSaveWishlist(image?.mediaUpload?.id)} className="cursor-pointer flex flex-row gap-2 hover:text-red-800"> - -

Simpan

-
- - -

Content Rewrite

- -
- - - - - -
-

Share Ke Email

-
-

Email Tujuan :

- setEmailShareInput(event.target.value)} onKeyPress={handleEmailList} type="email" placeholder="Tekan Enter untuk input Email" /> -
- -
-
-
-
-
-
+
))} diff --git a/app/[locale]/(public)/content-management/rewrite/page.tsx b/app/[locale]/(public)/content-management/rewrite/page.tsx index 74230f44..2895572b 100644 --- a/app/[locale]/(public)/content-management/rewrite/page.tsx +++ b/app/[locale]/(public)/content-management/rewrite/page.tsx @@ -200,10 +200,10 @@ const page = () => {
-
-
-

Galeri Content Rewrite

-
+
+

+ Galeri Content Rewrite +

{contentImage?.length > 0 ? (
diff --git a/app/[locale]/(public)/content-management/users/page.tsx b/app/[locale]/(public)/content-management/users/page.tsx index b46bea79..1315ac4f 100644 --- a/app/[locale]/(public)/content-management/users/page.tsx +++ b/app/[locale]/(public)/content-management/users/page.tsx @@ -13,6 +13,7 @@ import { Button } from "@/components/ui/button"; import toast from "react-hot-toast"; import { useToast } from "@/components/ui/use-toast"; import { ToastAction } from "@/components/ui/toast"; +import Image from "next/image"; const page = () => { const [user, setUser] = useState(); @@ -118,25 +119,22 @@ const page = () => {
-

Tim {profile?.institute?.name}

-

{user?.length} Anggota

+

+ Tim + {profile?.institute?.name} +

+

+ {user?.length} Anggota Tim {profile?.institute?.name} +

{user?.map((row: any) => (
-
- - - - -

{row?.fullname}

+
+ +

{row?.fullname}

{row?.username || "username"}

diff --git a/components/landing-page/header-management.tsx b/components/landing-page/header-management.tsx index 1a837457..0311b874 100644 --- a/components/landing-page/header-management.tsx +++ b/components/landing-page/header-management.tsx @@ -67,14 +67,14 @@ const HeaderManagement = () => { return (
{/* Header */} -
+
- avatar + avatar
-

{profile?.fullname}

-

{profile?.username}

-

+

{profile?.fullname}

+

{profile?.username}

+

Aktif Sejak  {`${new Date(profile?.createdAt).getDate()}/${new Date(profile?.createdAt).getMonth() + 1}/${new Date(profile?.createdAt).getFullYear()} ${new Date(profile?.createdAt).getHours()}:${new Date( profile?.createdAt @@ -82,9 +82,9 @@ const HeaderManagement = () => {

- - -

Pengaturan

+ +

Lihat Profil Lengkap

+
diff --git a/public/assets/gg-profile.png b/public/assets/gg-profile.png new file mode 100644 index 00000000..0241f48f Binary files /dev/null and b/public/assets/gg-profile.png differ