refactor: update image import paths and remove unused images

This commit is contained in:
Alvalen 2025-01-15 12:24:55 +07:00
parent e89217aad8
commit 415eede707
65 changed files with 52 additions and 52 deletions

View file

@ -7,10 +7,10 @@ import Link from "next/link";
// components // components
import Button from "@/components/Button"; import Button from "@/components/Button";
import Me from "../../public/img/me.jpg"; import Me from "A/public/image/me.jpg";
import MeAbout from "@/public/img/me2.jpg"; import MeAbout from "@/public/image/me2.jpg";
import Setup from "@/public/img/setup.jpg"; import Setup from "@/public/image/setup.jpg";
import ProjectAll from "@/public/img/projects.png"; import ProjectAll from "@/public/image/projects.png";
import Hr from "@/components/Hr"; import Hr from "@/components/Hr";
// icons // icons
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";

View file

@ -1,9 +1,9 @@
import Image from "next/image"; import Image from "next/image";
import Card from "./spotify/card"; import Card from "./spotify/card";
import { motion } from "framer-motion"; import { motion } from "framer-motion";
import Me1 from "@/public/img/me1.jpg"; import Me1 from "@/public/image/me1.jpg";
import Me2 from "@/public/img/me2.jpg"; import Me2 from "@/public/image/me2.jpg";
import Me3 from "@/public/img/me3.jpg"; import Me3 from "@/public/image/me3.jpg";
import Hr from "@/components/Hr"; import Hr from "@/components/Hr";
function Title() { function Title() {

View file

@ -2,7 +2,7 @@ import Image from "next/image";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faMedal } from "@fortawesome/free-solid-svg-icons"; import { faMedal } from "@fortawesome/free-solid-svg-icons";
import { motion } from "framer-motion"; import { motion } from "framer-motion";
import Me4 from "@/public/img/me4.jpeg"; import Me4 from "@/public/image/me4.jpeg";
function Wrapper({ children }) { function Wrapper({ children }) {
return ( return (

View file

@ -13,7 +13,7 @@ import Experience from "./components/experience.jsx";
import Education from "./components/education.jsx"; import Education from "./components/education.jsx";
// images // images
import Hero from "@/public/img/me2.jpg"; import Hero from "@/public/image/me2.jpg";
import Hr from "@/components/Hr"; import Hr from "@/components/Hr";
import About from "./components/about/about.jsx"; import About from "./components/about/about.jsx";

View file

@ -1,12 +1,12 @@
import Simadun from "@/public/projects/main-project/simadun.png"; import Simadun from "@/public/image/projects/main-project/simadun.png";
import Trivia from "@/public/projects/main-project/trivia.png"; import Trivia from "@/public/image/projects/main-project/trivia.png";
import SakuSenyum from "@/public/projects/main-project/saku-senyum.png"; import SakuSenyum from "@/public/image/projects/main-project/saku-senyum.png";
import LUDOang from "@/public/projects/main-project/ludo.png"; import LUDOang from "@/public/image/projects/main-project/ludo.png";
import ReactChatMain from "@/public/projects/main-project/react-chat.png"; import ReactChatMain from "@/public/image/projects/main-project/react-chat.png";
import ReactTools from "@/public/projects/main-project/react-tools.png"; import ReactTools from "@/public/image/projects/main-project/react-tools.png";
import AlephBot from "@/public/projects/main-project/aleph-bot.png"; import AlephBot from "@/public/image/projects/main-project/aleph-bot.png";
import LPTK from "@/public/projects/lptk/lptk1.png"; import LPTK from "@/public/image/projects/web/lptk/lptk1.png";
import NUINO from "@/public/projects/ino/ino1.png"; import NUINO from "@/public/image/projects/web/ino/ino1.png";
export const projects = [ export const projects = [
{ {

View file

@ -9,7 +9,7 @@ import Image from "next/legacy/image";
import ReactChat1 from "@/public/projects/trivia/trivia1.png"; import ReactChat1 from "@/public/projects/trivia/trivia1.png";
import ReactChat2 from "@/public/projects/trivia/trivia2.png"; import ReactChat2 from "@/public/projects/trivia/trivia2.png";
import ReactChat3 from "@/public/projects/trivia/trivia3.png"; import ReactChat3 from "@/public/projects/trivia/trivia3.png";
import ProjectAll from "@/public/img/projects.png"; import ProjectAll from "@/public/image/projects.png";
import Hr from "@/components/Hr"; import Hr from "@/components/Hr";
import ProjectCard from "./(project-card)"; import ProjectCard from "./(project-card)";

View file

@ -6,13 +6,13 @@
"A generative trivia website built with Next.js, Firebase, NextAuth, Google OAuth, and TypeScript. Users can generate trivia questions for predefined school subjects and answer them with a unique interactive input style. The application supports user authentication with Google and stores data in Firestore.", "A generative trivia website built with Next.js, Firebase, NextAuth, Google OAuth, and TypeScript. Users can generate trivia questions for predefined school subjects and answer them with a unique interactive input style. The application supports user authentication with Google and stores data in Firestore.",
"The project is a culmination of my passion for web development and my desire to create a fun and interactive learning platform. The website is designed to be user-friendly and engaging, with a clean and modern interface that appeals to a wide audience. The trivia questions are generated using the Gemini API, which provides a diverse range of questions for users to answer." "The project is a culmination of my passion for web development and my desire to create a fun and interactive learning platform. The website is designed to be user-friendly and engaging, with a clean and modern interface that appeals to a wide audience. The trivia questions are generated using the Gemini API, which provides a diverse range of questions for users to answer."
], ],
"year": "2023", "year": "2024",
"preview": "https://generative-trivia.vercel.app/", "preview": "https://generative-trivia.vercel.app/",
"code": "https://github.com/Alvalens/generative-trivia", "code": "https://github.com/Alvalens/generative-trivia",
"images": [ "images": [
"/projects/trivia/trivia1.png", "/image/projects/web/trivia/trivia1.png",
"/projects/trivia/trivia2.png", "/image/projects/web/trivia/trivia2.png",
"/projects/trivia/trivia3.png" "/image/projects/web/trivia/trivia3.png"
], ],
"tech": [ "tech": [
"NextJS", "NextJS",
@ -31,10 +31,10 @@
], ],
"year": "2024", "year": "2024",
"images": [ "images": [
"/projects/saku-senyum/saku-senyum1.png", "/image/projects/web/saku-senyum/saku-senyum1.png",
"/projects/saku-senyum/saku-senyum2.png", "/image/projects/web/saku-senyum/saku-senyum2.png",
"/projects/saku-senyum/saku-senyum3.png", "/image/projects/web/saku-senyum/saku-senyum3.png",
"/projects/saku-senyum/saku-senyum4.png" "/image/projects/web/saku-senyum/saku-senyum4.png"
], ],
"tech": [ "tech": [
"NextJS", "NextJS",
@ -55,11 +55,11 @@
], ],
"year": "2024", "year": "2024",
"images": [ "images": [
"/projects/simadun/simadun1.png", "/image/projects/web/simadun/simadun1.png",
"/projects/simadun/simadun2.png", "/image/projects/web/simadun/simadun2.png",
"/projects/simadun/simadun3.png", "/image/projects/web/simadun/simadun3.png",
"/projects/simadun/simadun4.png", "/image/projects/web/simadun/simadun4.png",
"/projects/simadun/simadun5.png" "/image/projects/web/simadun/simadun5.png"
], ],
"tech": [ "tech": [
"PHP", "PHP",
@ -82,9 +82,9 @@
"preview": "https://github.com/Alvalens/ludo-game/releases/tag/pre-release", "preview": "https://github.com/Alvalens/ludo-game/releases/tag/pre-release",
"code": "https://github.com/Alvalens/ludo-game", "code": "https://github.com/Alvalens/ludo-game",
"images": [ "images": [
"/projects/LUDOang/ludo1.png", "/image/projects/other/LUDOang/ludo1.png",
"/projects/LUDOang/ludo2.png", "/image/projects/other/LUDOang/ludo2.png",
"/projects/LUDOang/ludo3.png" "/image/projects/other/LUDOang/ludo3.png"
], ],
"tech": [ "tech": [
"Python", "Python",
@ -103,10 +103,10 @@
"preview": "https://react-chat-rouge.vercel.app", "preview": "https://react-chat-rouge.vercel.app",
"code": "https://github.com/Alvalens/react-realtime-chat", "code": "https://github.com/Alvalens/react-realtime-chat",
"images": [ "images": [
"/projects/chat/chat1.png", "/image/projects/web/react-chat/chat1.png",
"/projects/chat/chat2.png", "/image/projects/web/react-chat/chat2.png",
"/projects/chat/chat3.png", "/image/projects/web/react-chat/chat3.png",
"/projects/chat/chat4.png" "/image/projects/web/react-chat/chat4.png"
], ],
"tech": [ "tech": [
"JavaScript", "JavaScript",
@ -130,10 +130,10 @@
"preview": "https://react-tools-flax.vercel.app", "preview": "https://react-tools-flax.vercel.app",
"code": "https://github.com/Alvalens/react-tools", "code": "https://github.com/Alvalens/react-tools",
"images": [ "images": [
"/projects/tools/tools.png", "/image/projects/web/tools/tools.png",
"/projects/tools/tools1.png", "/image/projects/web/tools/tools1.png",
"/projects/tools/tools2.png", "/image/projects/web/tools/tools2.png",
"/projects/tools/tools3.png" "/image/projects/web/tools/tools3.png"
], ],
"tech": [ "tech": [
"Javascript", "Javascript",
@ -151,8 +151,8 @@
"preview": "", "preview": "",
"code": "https://github.com/Alvalens/aleph-discord-bot", "code": "https://github.com/Alvalens/aleph-discord-bot",
"images": [ "images": [
"/projects/bot/bot1.png", "/image/projects/other/bot/bot1.png",
"/projects/bot/bot2.png" "/image/projects/other/bot/bot2.png"
], ],
"tech": [ "tech": [
"Python", "Python",
@ -171,10 +171,10 @@
"preview": "", "preview": "",
"code": "", "code": "",
"images": [ "images": [
"/projects/lptk/lptk1.png", "/image/projects/web/lptk/lptk1.png",
"/projects/lptk/lptk2.png", "/image/projects/web/lptk/lptk2.png",
"/projects/lptk/lptk3.png", "/image/projects/web/lptk/lptk3.png",
"/projects/lptk/lptk4.png" "/image/projects/web/lptk/lptk4.png"
], ],
"tech": [ "tech": [
"PHP", "PHP",
@ -194,9 +194,9 @@
"preview": "", "preview": "",
"code": "", "code": "",
"images": [ "images": [
"/projects/ino/ino1.png", "/image/projects/web/ino/ino1.png",
"/projects/ino/ino2.png", "/image/projects/web/ino/ino2.png",
"/projects/ino/ino3.png" "/image/projects/web/ino/ino3.png"
], ],
"tech": [ "tech": [
"PHP", "PHP",

View file

Before

Width:  |  Height:  |  Size: 791 KiB

After

Width:  |  Height:  |  Size: 791 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 984 KiB

After

Width:  |  Height:  |  Size: 984 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 662 KiB

After

Width:  |  Height:  |  Size: 662 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 378 KiB

After

Width:  |  Height:  |  Size: 378 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1 MiB

After

Width:  |  Height:  |  Size: 1 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 214 KiB

After

Width:  |  Height:  |  Size: 214 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 424 KiB

After

Width:  |  Height:  |  Size: 424 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View file

Before

Width:  |  Height:  |  Size: 691 KiB

After

Width:  |  Height:  |  Size: 691 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

View file

Before

Width:  |  Height:  |  Size: 308 KiB

After

Width:  |  Height:  |  Size: 308 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 297 KiB

After

Width:  |  Height:  |  Size: 297 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 596 KiB

After

Width:  |  Height:  |  Size: 596 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 918 KiB

After

Width:  |  Height:  |  Size: 918 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 280 KiB

After

Width:  |  Height:  |  Size: 280 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

View file

Before

Width:  |  Height:  |  Size: 704 KiB

After

Width:  |  Height:  |  Size: 704 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 682 KiB

After

Width:  |  Height:  |  Size: 682 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 470 KiB

After

Width:  |  Height:  |  Size: 470 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 410 KiB

After

Width:  |  Height:  |  Size: 410 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 214 KiB

After

Width:  |  Height:  |  Size: 214 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 475 KiB

After

Width:  |  Height:  |  Size: 475 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 173 KiB

After

Width:  |  Height:  |  Size: 173 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 848 KiB

After

Width:  |  Height:  |  Size: 848 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 441 KiB

After

Width:  |  Height:  |  Size: 441 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 202 KiB

After

Width:  |  Height:  |  Size: 202 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 400 KiB

After

Width:  |  Height:  |  Size: 400 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 387 KiB

After

Width:  |  Height:  |  Size: 387 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 398 KiB

After

Width:  |  Height:  |  Size: 398 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 371 KiB

After

Width:  |  Height:  |  Size: 371 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 162 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 153 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 171 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 208 KiB

After

Width:  |  Height:  |  Size: 208 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 200 KiB

After

Width:  |  Height:  |  Size: 200 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 204 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 141 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 701 KiB

After

Width:  |  Height:  |  Size: 701 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB