Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer committed Sep 28, 2023
1 parent d766fd9 commit e3ee934
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 243 deletions.
Binary file removed frontend/src/modules/Grid3D/3d-grid.png
Binary file not shown.
4 changes: 2 additions & 2 deletions frontend/src/modules/Grid3D/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { DrawPreviewFunc } from "@framework/Preview";
import grid3Dpreview from "./3d-grid.png";
import previewImg from "./preview.webp";

export const preview: DrawPreviewFunc = function (width: number, height: number) {
return (
<img src={grid3Dpreview} style={{width, height}} className="object-cover object-center" />
<img src={previewImg} style={{width, height}} className="object-cover object-center" />
);
};
Binary file added frontend/src/modules/Grid3D/preview.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions frontend/src/modules/Grid3DIntersection/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DrawPreviewFunc } from "@framework/Preview";
import previewSvg from "./intersection-preview.svg";
import previewImg from "./preview.svg";

export const preview: DrawPreviewFunc = function (width: number, height: number) {
return <img src={previewSvg} style={{width, height}} />
return <img src={previewImg} style={{width, height}} />
};
Binary file removed frontend/src/modules/Map/map.png
Binary file not shown.
4 changes: 2 additions & 2 deletions frontend/src/modules/Map/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { DrawPreviewFunc } from "@framework/Preview";
import grid3Dpreview from "./map.png";
import previewImg from "./preview.png";

export const preview: DrawPreviewFunc = function (width: number, height: number) {
return (
<img src={grid3Dpreview} style={{width, height}} className="object-cover object-center" />
<img src={previewImg} style={{width, height}} className="object-cover object-center" />
);
};
Binary file added frontend/src/modules/Map/preview.webp
Binary file not shown.
5 changes: 5 additions & 0 deletions frontend/src/modules/Pvt/preview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions frontend/src/modules/Pvt/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DrawPreviewFunc } from "@framework/Preview";
import previewSvg from "./pvt-preview.svg";
import previewImg from "./preview.svg";

export const preview: DrawPreviewFunc = function (width: number, height: number) {
return <img src={previewSvg} style={{width, height}} />
return <img src={previewImg} style={{width, height}} />
};
232 changes: 0 additions & 232 deletions frontend/src/modules/Pvt/pvt-preview.svg

This file was deleted.

7 changes: 4 additions & 3 deletions frontend/src/modules/WellCompletions/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { DrawPreviewFunc } from "@framework/Preview";
import previewSvg from "./well-completion-preview.svg";

import previewImg from "./preview.svg";
export const preview: DrawPreviewFunc = function (width: number, height: number) {
return <img src={previewSvg} style={{width, height}} />
return <img src={previewImg} style={{width, height}} />
};

0 comments on commit e3ee934

Please sign in to comment.