diff --git a/frontend/src/modules/Grid3D/3d-grid.png b/frontend/src/modules/Grid3D/3d-grid.png deleted file mode 100644 index 75b2dc2af..000000000 Binary files a/frontend/src/modules/Grid3D/3d-grid.png and /dev/null differ diff --git a/frontend/src/modules/Grid3D/preview.tsx b/frontend/src/modules/Grid3D/preview.tsx index b7b87f9de..2a9746ab7 100644 --- a/frontend/src/modules/Grid3D/preview.tsx +++ b/frontend/src/modules/Grid3D/preview.tsx @@ -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 ( - + ); }; diff --git a/frontend/src/modules/Grid3D/preview.webp b/frontend/src/modules/Grid3D/preview.webp new file mode 100644 index 000000000..d180acb38 Binary files /dev/null and b/frontend/src/modules/Grid3D/preview.webp differ diff --git a/frontend/src/modules/Grid3DIntersection/intersection-preview.svg b/frontend/src/modules/Grid3DIntersection/preview.svg similarity index 100% rename from frontend/src/modules/Grid3DIntersection/intersection-preview.svg rename to frontend/src/modules/Grid3DIntersection/preview.svg diff --git a/frontend/src/modules/Grid3DIntersection/preview.tsx b/frontend/src/modules/Grid3DIntersection/preview.tsx index 3a2e7dbe3..eb2960245 100644 --- a/frontend/src/modules/Grid3DIntersection/preview.tsx +++ b/frontend/src/modules/Grid3DIntersection/preview.tsx @@ -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 + return }; diff --git a/frontend/src/modules/Map/map.png b/frontend/src/modules/Map/map.png deleted file mode 100644 index 9e4913dee..000000000 Binary files a/frontend/src/modules/Map/map.png and /dev/null differ diff --git a/frontend/src/modules/Map/preview.tsx b/frontend/src/modules/Map/preview.tsx index a88321c7d..212104d7b 100644 --- a/frontend/src/modules/Map/preview.tsx +++ b/frontend/src/modules/Map/preview.tsx @@ -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 ( - + ); }; diff --git a/frontend/src/modules/Map/preview.webp b/frontend/src/modules/Map/preview.webp new file mode 100644 index 000000000..254d2d061 Binary files /dev/null and b/frontend/src/modules/Map/preview.webp differ diff --git a/frontend/src/modules/Pvt/preview.svg b/frontend/src/modules/Pvt/preview.svg new file mode 100644 index 000000000..ff599edfc --- /dev/null +++ b/frontend/src/modules/Pvt/preview.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/modules/Pvt/preview.tsx b/frontend/src/modules/Pvt/preview.tsx index 0fa07323f..eb2960245 100644 --- a/frontend/src/modules/Pvt/preview.tsx +++ b/frontend/src/modules/Pvt/preview.tsx @@ -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 + return }; diff --git a/frontend/src/modules/Pvt/pvt-preview.svg b/frontend/src/modules/Pvt/pvt-preview.svg deleted file mode 100644 index 667d4b9db..000000000 --- a/frontend/src/modules/Pvt/pvt-preview.svg +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/frontend/src/modules/WellCompletions/well-completion-preview.svg b/frontend/src/modules/WellCompletions/preview.svg similarity index 100% rename from frontend/src/modules/WellCompletions/well-completion-preview.svg rename to frontend/src/modules/WellCompletions/preview.svg diff --git a/frontend/src/modules/WellCompletions/preview.tsx b/frontend/src/modules/WellCompletions/preview.tsx index 7d35efc35..48b06f888 100644 --- a/frontend/src/modules/WellCompletions/preview.tsx +++ b/frontend/src/modules/WellCompletions/preview.tsx @@ -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 + return }; + \ No newline at end of file