diff --git a/public/images/projects/mobile/cctv/1.png b/public/images/projects/mobile/cctv/1.png new file mode 100644 index 0000000..6ab5bb0 Binary files /dev/null and b/public/images/projects/mobile/cctv/1.png differ diff --git a/public/images/projects/mobile/cctv/2.png b/public/images/projects/mobile/cctv/2.png new file mode 100644 index 0000000..1f37c19 Binary files /dev/null and b/public/images/projects/mobile/cctv/2.png differ diff --git a/public/images/projects/mobile/cctv/3.png b/public/images/projects/mobile/cctv/3.png new file mode 100644 index 0000000..cdb6703 Binary files /dev/null and b/public/images/projects/mobile/cctv/3.png differ diff --git a/public/images/projects/mobile/cesa/1.png b/public/images/projects/mobile/cesa/1.png new file mode 100644 index 0000000..427ab33 Binary files /dev/null and b/public/images/projects/mobile/cesa/1.png differ diff --git a/public/images/projects/mobile/cesa/2.png b/public/images/projects/mobile/cesa/2.png new file mode 100644 index 0000000..8b090bc Binary files /dev/null and b/public/images/projects/mobile/cesa/2.png differ diff --git a/public/images/projects/19.png b/public/images/projects/mobile/cesa/3.png similarity index 100% rename from public/images/projects/19.png rename to public/images/projects/mobile/cesa/3.png diff --git a/public/images/projects/18.png b/public/images/projects/mobile/cesa/4.png similarity index 100% rename from public/images/projects/18.png rename to public/images/projects/mobile/cesa/4.png diff --git a/public/images/projects/mobile/kejagung/1.png b/public/images/projects/mobile/kejagung/1.png new file mode 100644 index 0000000..f736ed0 Binary files /dev/null and b/public/images/projects/mobile/kejagung/1.png differ diff --git a/public/images/projects/mobile/kejagung/2.png b/public/images/projects/mobile/kejagung/2.png new file mode 100644 index 0000000..6f04cc6 Binary files /dev/null and b/public/images/projects/mobile/kejagung/2.png differ diff --git a/public/images/projects/mobile/kejagung/3.png b/public/images/projects/mobile/kejagung/3.png new file mode 100644 index 0000000..36255a0 Binary files /dev/null and b/public/images/projects/mobile/kejagung/3.png differ diff --git a/public/images/projects/mobile/kejagung/4.png b/public/images/projects/mobile/kejagung/4.png new file mode 100644 index 0000000..7e53f9c Binary files /dev/null and b/public/images/projects/mobile/kejagung/4.png differ diff --git a/public/images/projects/mobile/lms/1.png b/public/images/projects/mobile/lms/1.png new file mode 100644 index 0000000..d2cb4b9 Binary files /dev/null and b/public/images/projects/mobile/lms/1.png differ diff --git a/public/images/projects/mobile/lms/2.png b/public/images/projects/mobile/lms/2.png new file mode 100644 index 0000000..24be63b Binary files /dev/null and b/public/images/projects/mobile/lms/2.png differ diff --git a/public/images/projects/mobile/lms/3.png b/public/images/projects/mobile/lms/3.png new file mode 100644 index 0000000..2afffc9 Binary files /dev/null and b/public/images/projects/mobile/lms/3.png differ diff --git a/src/components/modules/ProjectCardMobileList.tsx b/src/components/modules/ProjectCardMobileList.tsx index c0cedd3..2d178e5 100644 --- a/src/components/modules/ProjectCardMobileList.tsx +++ b/src/components/modules/ProjectCardMobileList.tsx @@ -1,3 +1,4 @@ +import { projectMobiles } from '@src/data/projects'; import { ProjectType } from '@src/types/projects'; import Image from 'next/image'; import NextImage from 'next/image'; @@ -11,37 +12,37 @@ const ProjectCardMobileList: React.FC = ({ project } const [isLoading, setLoading] = useState(true); return ( -
- {project.img ? ( - +
+
+

+ {project.name} +

+

+ {project.description} +

+
+
+ {project.imgMobile?.map((img, index) => ( +
+ {/* */} + setLoading(false)} - style={{ width: '100%', height: 'auto' }} - alt={project.name} - /> - ) : ( - {`no - )} -
-

- {project.name} -

-

- {project.description} -

+ onLoadingComplete={() => setLoading(false)} + style={{ width: '100%', height: 'auto' }} + alt={project.name} + /> +
+ ))} +
); diff --git a/src/components/modules/sections/ProjectSection.tsx b/src/components/modules/sections/ProjectSection.tsx index 31dd1ac..2945171 100644 --- a/src/components/modules/sections/ProjectSection.tsx +++ b/src/components/modules/sections/ProjectSection.tsx @@ -1,7 +1,7 @@ import React from 'react'; -import { projectWebs } from '@src/data/projects'; +import { projectMobiles, projectWebs } from '@src/data/projects'; import { Heading, Text } from '@src/components/design-system'; -import { ProjectCardWebList } from '@src/components/modules'; +import { ProjectCardMobileList, ProjectCardWebList } from '@src/components/modules'; export default function ProjectSection() { return ( @@ -11,9 +11,10 @@ export default function ProjectSection() { This page contains a list of applications I have worked on.
-

+

This is list my project web. -

+

+
    {projectWebs?.map((project, index) => (
  • @@ -22,6 +23,21 @@ export default function ProjectSection() { ))}
+
+
+

+ This is list my project mobile. +

+
+
    + {projectMobiles?.map((project, index) => ( +
  • + +
  • + ))} +
+
+
diff --git a/src/data/projects.tsx b/src/data/projects.tsx index 9d3b47a..b0758cc 100644 --- a/src/data/projects.tsx +++ b/src/data/projects.tsx @@ -125,15 +125,21 @@ export const projectWebs: ProjectType[] = [ export const projectMobiles: ProjectType[] = [ { - name: 'Weeding Invitation of Anggit Febriyanto & Indri Febriyani', - description: - 'Weeding Invitation Anggit Febriyanto & Indri Febriyani Using Gatsby JS, React JS, Supabase', - img: '17.png', + name: 'Kejaksaan dashboard mobile flutter', + description: 'dashboard mobile version using flutter', + img: 'kejagung', + imgMobile: ['1.png', '2.png', '3.png', '4.png'], }, { - name: 'Weeding Invitation of Anggit Febriyanto & Indri Febriyani', - description: - 'Weeding Invitation Anggit Febriyanto & Indri Febriyani Using Gatsby JS, React JS, Supabase', - img: '17.png', + name: 'Cesa (Cerdas Sosial Media)', + description: 'Aplikasi pendeteksi kecanduan gadget', + img: 'cesa', + imgMobile: ['1.png', '2.png', '3.png', '4.png'], + }, + { + name: 'LMS (Learning management system)', + description: 'Aplikasi absensi terintegrasi Smartfren', + img: 'lms', + imgMobile: ['1.png', '2.png', '3.png', '4.png'], }, ]; diff --git a/src/pages/_document.page.tsx b/src/pages/_document.page.tsx index a036316..026cdf9 100644 --- a/src/pages/_document.page.tsx +++ b/src/pages/_document.page.tsx @@ -1,4 +1,5 @@ import { Html, Head, Main, NextScript } from 'next/document'; +import Script from 'next/script'; export default function Document() { const googleSiteVerification = process.env.VERIFICATION_GOOGLE as string; @@ -19,6 +20,10 @@ export default function Document() {
+