Skip to content

Commit

Permalink
chore: machine images
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobot1234 committed Dec 29, 2024
1 parent 417190e commit a8d4f18
Show file tree
Hide file tree
Showing 37 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/forge/src/components/training/TrainingCourseCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function TrainingCourseCard({ training, isRep, userTraining }: Tr
alt={training.name}
className="w-full h-full object-scale-down aspect-[2/1]"
height="200"
src={training.icon_url}
src={`${import.meta.env.VITE_CDN_URL}/files/machines/${training.icon_url}`}
/>
{user?.roles.some((role) => role.name === "Admin" || role.name === "Training Editor") && (
<>
Expand Down
13 changes: 8 additions & 5 deletions apps/forge/src/routes/training/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function TrainingIndexPage() {
<ImageGradient gradientColor="mainspace">
{/* TODO this doesn't cover the entirety of the box for some reason in lg */}
<img
src={`${import.meta.env.VITE_CDN_URL}/files/mainspace_training.jpg`}
src={`${import.meta.env.VITE_CDN_URL}/files/training/mainspace.jpg`}
alt="iForge Mainspace"
className="w-full object-fill"
/>
Expand All @@ -108,7 +108,7 @@ export default function TrainingIndexPage() {
img={
<ImageGradient gradientColor="heartspace">
<img
src={`${import.meta.env.VITE_CDN_URL}/files/heartspace_training.jpg`}
src={`${import.meta.env.VITE_CDN_URL}/files/training/heartspace.jpg`}
alt="iForge Heartspace"
className="w-full object-fill"
/>
Expand All @@ -131,7 +131,7 @@ export default function TrainingIndexPage() {
img={
<ImageGradient gradientColor="george-porter">
<img
src={`${import.meta.env.VITE_CDN_URL}/files/george_porter_training.jpg`}
src={`${import.meta.env.VITE_CDN_URL}/files/training/george_porter.jpg`}
alt="George Porter"
className="w-full object-fill"
/>
Expand All @@ -158,7 +158,7 @@ export default function TrainingIndexPage() {
img={
<ImageGradient gradientColor="tick">
<img
src={`${import.meta.env.VITE_CDN_URL}/files/approved_materials.jpg`}
src={`${import.meta.env.VITE_CDN_URL}/files/training/approved_materials.jpg`}
alt="Approved materials"
/>
</ImageGradient>
Expand All @@ -179,7 +179,10 @@ export default function TrainingIndexPage() {
<IndexCard
img={
<ImageGradient gradientColor="cross">
<img src={`${import.meta.env.VITE_CDN_URL}/files/risk_assessments.jpg`} alt="Risk Assessment" />
<img
src={`${import.meta.env.VITE_CDN_URL}/files/training/risk_assessments.jpg`}
alt="Risk Assessment"
/>
</ImageGradient>
}
title={
Expand Down
2 changes: 1 addition & 1 deletion apps/forge/src/routes/training/locations/george-porter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const GeorgePorter = () => (
optionalTrainingText={"carbon fibre layup station"}
img={
<img
src={`${import.meta.env.VITE_CDN_URL}/files/george_porter_training.jpg`}
src={`${import.meta.env.VITE_CDN_URL}/files/training/george_porter.jpg`}
alt={"George Porter"}
className={"absolute w-full object-fill"}
/>
Expand Down
2 changes: 1 addition & 1 deletion apps/forge/src/routes/training/locations/heartspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Heartspace = () => (
optionalTrainingText={"SLA 3D printer, sewing machines, and mug press"}
img={
<img
src={`${import.meta.env.VITE_CDN_URL}/files/heartspace_training.jpg`}
src={`${import.meta.env.VITE_CDN_URL}/files/training/heartspace.jpg`}
alt={"Heartspace"}
className={"absolute w-full object-fill"}
/>
Expand Down
2 changes: 1 addition & 1 deletion apps/forge/src/routes/training/locations/mainspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Mainspace = () => (
optionalTrainingText={"CNC mill, laser cutter, and 3D printer"}
img={
<img
src={`${import.meta.env.VITE_CDN_URL}/files/mainspace_training.jpg`}
src={`${import.meta.env.VITE_CDN_URL}/files/training/mainspace.jpg`}
alt={"Mainspace"}
className={"absolute w-full object-fill xl:top-[-350px] lg:top-[-250px] md:top-[-100px] sm:top-[-20px] top-0"}
/>
Expand Down
Binary file added apps/mine/files/machines/3d_printer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/3d_scanner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/bandsaw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/belt_sander.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/cnc_mill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/cnc_router.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/cricut_cutter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/dremel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/drill_bits.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/embroidery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/hat_press.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/heat_press.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/hot_tools.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/laser_cutter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/microscope.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/mug_press.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/overlocker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/pillar_drill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/powered_handtools.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/scroll_saw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/sewing_machine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/sla_3d_printer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/sublimation_printer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/unpowered_handtools.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/vacuum_former.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/mine/files/machines/vinyl_cutter.png
Binary file added apps/mine/files/machines/water_jet.png
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit a8d4f18

Please sign in to comment.