diff --git a/public/3D_office_2025_08_20.jpg b/public/3D_office_2025_08_20.jpg new file mode 100644 index 0000000..fd34c18 Binary files /dev/null and b/public/3D_office_2025_08_20.jpg differ diff --git a/public/pc_room.jpg b/public/pc_room.jpg new file mode 100644 index 0000000..ca46f86 Binary files /dev/null and b/public/pc_room.jpg differ diff --git a/src/components/page-sections/office.module.css b/src/components/page-sections/office.module.css index bf25c27..03fe056 100644 --- a/src/components/page-sections/office.module.css +++ b/src/components/page-sections/office.module.css @@ -1,25 +1,33 @@ .container { display: grid; gap: 2rem; - justify-content: center; place-items: center; } -.image { - width: 100%; - aspect-ratio: 1 / 1; -} - .panoramaContainer { width: 100%; - height: 400px; - background: #000000; - border-radius: 8px; - overflow: hidden; - position: relative; + aspect-ratio: 4 / 3; + max-height: 75vh; } .panoramaContainer > div { width: 100% !important; height: 100% !important; } + +.pcRoomImage { + width: 100%; + height: auto; + max-width: 60ch; + border-radius: 8px; + object-fit: contain; +} + +.map { + width: 100%; + aspect-ratio: 4 / 3; + min-height: 400px; + max-height: 75vh; + border-radius: 8px; +} + diff --git a/src/components/page-sections/office.tsx b/src/components/page-sections/office.tsx index 710273c..87ecd44 100644 --- a/src/components/page-sections/office.tsx +++ b/src/components/page-sections/office.tsx @@ -1,6 +1,7 @@ "use client" import { useTranslations } from "next-intl" +import Image from "next/image" import { ReactPhotoSphereViewer } from "react-photo-sphere-viewer" import * as styles from "./office.module.css" @@ -14,32 +15,29 @@ const Office = () => {

{t("text")}

{t("tip")}

-
+
-
- -
+ Picture of PC-room. Shows 6 gaming PC setups +
)