Skip to content

Commit 72bd41f

Browse files
Zeff01claude
andcommitted
fix: update techstack icon paths to use correct directory structure
Updated all references from /assets/svgs/icon-*.svg to /assets/svgs/techstack/icon-*.svg after techstack images were moved to the techstack folder. This fixes broken images on multiple pages including interns, applicants, profiles, and settings. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b367ada commit 72bd41f

8 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎apps/codebility/app/(marketing)/profiles/[id]/_components/ProfileContent.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default function ProfileContent({
216216
transition={{ duration: 0.3 }}
217217
>
218218
<Image
219-
src={`/assets/svgs/icon-${stack.toLowerCase()}.svg`}
219+
src={`/assets/svgs/techstack/icon-${stack.toLowerCase()}.svg`}
220220
alt={stack}
221221
width={25}
222222
height={25}

‎apps/codebility/app/home/applicants/_components/ApplicantProfileModal.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ const ApplicantProfileModal = () => {
327327
className="flex items-center"
328328
>
329329
<Image
330-
src={`/assets/svgs/icon-${tech.toLowerCase()}.svg`}
330+
src={`/assets/svgs/techstack/icon-${tech.toLowerCase()}.svg`}
331331
alt={`${tech} icon`}
332332
width={32}
333333
height={32}

‎apps/codebility/app/home/applicants/_components/_table/applicantProfileColSec.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export default function ApplicantProfileColSec({
191191
applicant.tech_stacks.slice(0, 4).map((stack, i) => (
192192
<Image
193193
key={i}
194-
src={`/assets/svgs/icon-${stack.toLowerCase()}.svg`}
194+
src={`/assets/svgs/techstack/icon-${stack.toLowerCase()}.svg`}
195195
alt={`${stack} icon`}
196196
width={24}
197197
height={24}

‎apps/codebility/app/home/applicants/_components/applicantTechStack.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function ApplicantTechStack({
2929
title={stack}
3030
>
3131
<Image
32-
src={`/assets/svgs/icon-${stack.toLowerCase()}.svg`}
32+
src={`/assets/svgs/techstack/icon-${stack.toLowerCase()}.svg`}
3333
alt={stack}
3434
width={24}
3535
height={24}

‎apps/codebility/app/home/in-house/_components/cards/CodevCard.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export function CodevCard({ data, onEdit, onDelete, roles }: CodevCardProps) {
148148
{cleanTechStackData.slice(0, 24).map((stack) => (
149149
<Image
150150
key={stack}
151-
src={`/assets/svgs/icon-${stack.toLowerCase()}.svg`}
151+
src={`/assets/svgs/techstack/icon-${stack.toLowerCase()}.svg`}
152152
alt={stack}
153153
width={25}
154154
height={25}

‎apps/codebility/app/home/interns/_components/ProfileModal.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ const ProfileModal = ({ user }: { user?: Codev | null }) => {
342342
className="flex items-center"
343343
>
344344
<Image
345-
src={`/assets/svgs/icon-${tech.toLowerCase()}.svg`}
345+
src={`/assets/svgs/techstack/icon-${tech.toLowerCase()}.svg`}
346346
alt={`${tech} icon`}
347347
width={32}
348348
height={32}

‎apps/codebility/app/home/interns/_components/TechStacks.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function TechStacks({ techStacks }: TechStacksProps) {
2525
tech ? (
2626
<div className="flex items-center" key={`${tech}-${idx}`}>
2727
<Image
28-
src={`/assets/svgs/icon-${tech.toLowerCase()}.svg`}
28+
src={`/assets/svgs/techstack/icon-${tech.toLowerCase()}.svg`}
2929
alt={`${tech} icon`}
3030
width={20}
3131
height={20}
@@ -65,7 +65,7 @@ export default function TechStacks({ techStacks }: TechStacksProps) {
6565
{hiddenTech.map((tech, idx) => (
6666
<div className="flex items-center" key={`${tech}-${idx}`}>
6767
<Image
68-
src={`/assets/svgs/icon-${tech.toLowerCase()}.svg`}
68+
src={`/assets/svgs/techstack/icon-${tech.toLowerCase()}.svg`}
6969
alt={`${tech} icon`}
7070
width={20}
7171
height={20}

‎apps/codebility/app/home/settings/profile/_components/Skills.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const Skills = ({ data }: SkillsProps) => {
148148
item && (
149149
<div key={`${item}-${index}`} className="flex items-center">
150150
<Image
151-
src={`/assets/svgs/icon-${item.toLowerCase()}.svg`}
151+
src={`/assets/svgs/techstack/icon-${item.toLowerCase()}.svg`}
152152
alt={`${item} icon`}
153153
width={40}
154154
height={40}

0 commit comments

Comments
 (0)