Skip to content

Commit ab18165

Browse files
fix the media path
1 parent 071f480 commit ab18165

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

src/assets/molecules/DialogProfile/DialogProfile.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const DialogProfile = () => {
1919
<hr />
2020
</span>
2121
<Avatar className={styleConfig.avatarSize}>
22-
<AvatarImage src="../public/img/ava.png" />
22+
<AvatarImage src="/public/img/ava.png" />
2323
<AvatarFallback>Profile Picture</AvatarFallback>
2424
</Avatar>
2525
<div className={styleConfig.textSize}>

src/assets/molecules/ProfileCard/ProfileCard.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const ProfileCard = () => {
2525
<div className={styleConfig.wrapper}>
2626
<div className={styleConfig.avatar}>
2727
<Avatar>
28-
<AvatarImage src="../public/img/ava.png" />
28+
<AvatarImage src="public/img/ava.png" />
2929
<AvatarFallback>Profile Picture</AvatarFallback>
3030
</Avatar>
3131
</div>
@@ -44,7 +44,7 @@ const ProfileCard = () => {
4444
<SheetHeader>
4545
<div className={styleConfig.avatarSide}>
4646
<Avatar>
47-
<AvatarImage src="../public/img/ava.png" />
47+
<AvatarImage src="public/img/ava.png" />
4848
<AvatarFallback>Profile Picture</AvatarFallback>
4949
</Avatar>
5050
</div>

src/assets/organisms/HeroContainer/HeroContainer.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const HeroContainer = () => {
66
return (
77
<div className={styleConfig.wrapper}>
88
<video
9-
src="/hero.mp4"
9+
src="public/hero.mp4"
1010
loop
1111
muted
1212
autoPlay

src/assets/templates/ShowcaseSection/ShowcaseSection.config.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const ShowcaseData = [
22
{
3-
media: "../img/showcase1.png",
3+
media: "public/img/showcase1.png",
44
mediaAlt: "Karangsuci",
55
titleContent: "Karangsuci Company Profile",
66
category: "Web Development",
@@ -9,24 +9,24 @@ const ShowcaseData = [
99
linkDemo: "https://karangsuci.com",
1010
tools: [
1111
{
12-
src: "../img/Icon/nextjs.png",
12+
src: "public/img/Icon/nextjs.png",
1313
description: "CSS Icon",
1414
label: "NextJS",
1515
},
1616
{
17-
src: "../img/Icon/ts.png",
17+
src: "public/img/Icon/ts.png",
1818
description: "Html Icon",
1919
label: "Typescript",
2020
},
2121
{
22-
src: "../img/Icon/tailwind.png",
22+
src: "public/img/Icon/tailwind.png",
2323
description: "ReactJs Icon",
2424
label: "TailwindCSS",
2525
},
2626
],
2727
},
2828
{
29-
media: "../img/showcase2.png",
29+
media: "public/img/showcase2.png",
3030
mediaAlt: "Bookshelf Apps",
3131
titleContent: "Bookshelf Apps",
3232
category: "Web Development",
@@ -35,24 +35,24 @@ const ShowcaseData = [
3535
linkDemo: "https://febryanhernanda-showcase.github.io/Bookshelf-Apps/",
3636
tools: [
3737
{
38-
src: "../img/Icon/html.png",
38+
src: "public/img/Icon/html.png",
3939
description: "CSS Icon",
4040
label: "HTML",
4141
},
4242
{
43-
src: "../img/Icon/css.png",
43+
src: "public/img/Icon/css.png",
4444
description: "Html Icon",
4545
label: "CSS",
4646
},
4747
{
48-
src: "../img/Icon/js.png",
48+
src: "public/img/Icon/js.png",
4949
description: "ReactJs Icon",
5050
label: "Javascript",
5151
},
5252
],
5353
},
5454
{
55-
media: "../img/showcase3.png",
55+
media: "public/img/showcase3.png",
5656
mediaAlt: "Karangsuci",
5757
titleContent: "Palindrome Checker",
5858
category: "Web Development",
@@ -61,24 +61,24 @@ const ShowcaseData = [
6161
linkDemo: "https://febryanhernanda-showcase.github.io/Palindrom-Checker/",
6262
tools: [
6363
{
64-
src: "../img/Icon/html.png",
64+
src: "public/img/Icon/html.png",
6565
description: "CSS Icon",
6666
label: "HTML",
6767
},
6868
{
69-
src: "../img/Icon/css.png",
69+
src: "public/img/Icon/css.png",
7070
description: "Html Icon",
7171
label: "CSS",
7272
},
7373
{
74-
src: "../img/Icon/js.png",
74+
src: "public/img/Icon/js.png",
7575
description: "ReactJs Icon",
7676
label: "Javascript",
7777
},
7878
],
7979
},
8080
{
81-
media: "../img/showcase4.png",
81+
media: "public/img/showcase4.png",
8282
mediaAlt: "Karangsuci",
8383
titleContent: "Garuda Muda Poster",
8484
category: "Graphic Design",
@@ -87,7 +87,7 @@ const ShowcaseData = [
8787
linkDemo: "https://www.instagram.com/p/CTEfHc0pUFY/",
8888
tools: [
8989
{
90-
src: "../img/Icon/photoshop.png",
90+
src: "public/img/Icon/photoshop.png",
9191
description: "Adobe Photoshop",
9292
label: "Adobe Photoshop",
9393
},

0 commit comments

Comments
 (0)