From 1388ad81707a322ee43856c75737bb4610114381 Mon Sep 17 00:00:00 2001 From: OmitNomis Date: Fri, 29 Dec 2023 21:15:32 +0545 Subject: [PATCH] chore: clean image and logo imports --- src/components/icons/index.ts | 5 +++++ src/data/resume-data.tsx | 40 +++++++++++++++++------------------ src/images/logos/index.ts | 37 ++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 20 deletions(-) create mode 100644 src/components/icons/index.ts create mode 100644 src/images/logos/index.ts diff --git a/src/components/icons/index.ts b/src/components/icons/index.ts new file mode 100644 index 0000000..1382141 --- /dev/null +++ b/src/components/icons/index.ts @@ -0,0 +1,5 @@ +import { GitHubIcon } from "./GitHubIcon"; +import { LinkedInIcon } from "./LinkedInIcon"; +import { XIcon } from "./XIcon"; + +export { GitHubIcon, LinkedInIcon, XIcon }; diff --git a/src/data/resume-data.tsx b/src/data/resume-data.tsx index f4fe706..7e5c711 100644 --- a/src/data/resume-data.tsx +++ b/src/data/resume-data.tsx @@ -1,23 +1,23 @@ -import ConsultlyLogo from "../images/logos/consultly.svg"; -import AmbitLogo from "../images/logos/ambit.png"; -import BarepapersLogo from "../images/logos/barepapers.svg"; -import BimLogo from "../images/logos/bim.png"; -import CDGOLogo from "../images/logos/cdgo.png"; -import ClevertechLogo from "../images/logos/clevertech.png"; -import EvercastLogo from "../images/logos/evercast.svg"; -import Howdy from "../images/logos/howdy.png"; -import JarockiMeLogo from "../images/logos/jarocki.svg"; -import JojoMobileLogo from "../images/logos/jojomobile.png"; -import MonitoLogo from "../images/logos/monito.svg"; -import MobileVikingsLogo from "../images/logos/mv.png"; -import NSNLogo from "../images/logos/nsn.svg"; -import ParabolLogo from "../images/logos/parabol.svg"; -import TastyCloudLogo from "../images/logos/tastycloud.png"; -import YearProgressLogo from "../images/logos/yearprogress.svg"; -import Minimal from "../images/logos/minimal.svg"; -import { GitHubIcon } from "@/components/icons/GitHubIcon"; -import { LinkedInIcon } from "@/components/icons/LinkedInIcon"; -import { XIcon } from "@/components/icons/XIcon"; +import { + AmbitLogo, + BarepapersLogo, + BimLogo, + CDGOLogo, + ClevertechLogo, + ConsultlyLogo, + EvercastLogo, + Howdy, + JarockiMeLogo, + JojoMobileLogo, + Minimal, + MobileVikingsLogo, + MonitoLogo, + NSNLogo, + ParabolLogo, + TastyCloudLogo, + YearProgressLogo, +} from "@/images/logos"; +import { GitHubIcon, LinkedInIcon, XIcon } from "@/components/icons"; export const RESUME_DATA = { name: "Bartosz Jarocki", diff --git a/src/images/logos/index.ts b/src/images/logos/index.ts new file mode 100644 index 0000000..b34947d --- /dev/null +++ b/src/images/logos/index.ts @@ -0,0 +1,37 @@ +import ConsultlyLogo from "./consultly.svg"; +import AmbitLogo from "./ambit.png"; +import BarepapersLogo from "./barepapers.svg"; +import BimLogo from "./bim.png"; +import CDGOLogo from "./cdgo.png"; +import ClevertechLogo from "./clevertech.png"; +import EvercastLogo from "./evercast.svg"; +import Howdy from "./howdy.png"; +import JarockiMeLogo from "./jarocki.svg"; +import JojoMobileLogo from "./jojomobile.png"; +import MonitoLogo from "./monito.svg"; +import MobileVikingsLogo from "./mv.png"; +import NSNLogo from "./nsn.svg"; +import ParabolLogo from "./parabol.svg"; +import TastyCloudLogo from "./tastycloud.png"; +import YearProgressLogo from "./yearprogress.svg"; +import Minimal from "./minimal.svg"; + +export { + ConsultlyLogo, + AmbitLogo, + BarepapersLogo, + BimLogo, + CDGOLogo, + ClevertechLogo, + EvercastLogo, + Howdy, + JarockiMeLogo, + JojoMobileLogo, + MonitoLogo, + MobileVikingsLogo, + NSNLogo, + ParabolLogo, + TastyCloudLogo, + YearProgressLogo, + Minimal, +};