-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b7a6fb
commit cca9398
Showing
34 changed files
with
201 additions
and
179 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import floormap from "@/assets/floormap.svg"; | ||
import { CEOS } from "@/data"; | ||
import { twMerge } from "tailwind-merge"; | ||
|
||
export interface FloorMapProps { | ||
ceoKeys: string[]; | ||
} | ||
|
||
export function FloorMap({ ceoKeys }: FloorMapProps) { | ||
const ceos = ceoKeys.map((key) => ({ ...CEOS[key], key })); | ||
return ( | ||
<div className="relative"> | ||
<img | ||
className="border-2 rounded-xl border-green-700 w-full" | ||
src={floormap} | ||
alt="Floor Map" | ||
/> | ||
{ceos.map((ceo) => ( | ||
<img | ||
key={ceo.key} | ||
alt={ceo.name} | ||
src={ceo.pin} | ||
className="w-[9%] absolute" | ||
style={{ | ||
top: ceo.position.top, | ||
left: ceo.position.left, | ||
}} | ||
/> | ||
))} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,98 @@ | ||
import floormapEizawaAkimasa from "@/assets/floormap-eizawa-akimasa.svg"; | ||
import floormapFuruiAtsushi from "@/assets/floormap-furui-atsushi.svg"; | ||
import floormapMatsuyaMitsuru from "@/assets/floormap-matsuya-mitsuru.svg"; | ||
import floormapMurotaShigeki from "@/assets/floormap-murota-shigeki.svg"; | ||
import floormapNomuraFigeo from "@/assets/floormap-nomura-figeo.svg"; | ||
import floormapOidaShuji from "@/assets/floormap-oida-shuji.svg"; | ||
import floormapTamotoNaohiro from "@/assets/floormap-tamoto-naohiro.svg"; | ||
import floormapTanikawaToshiko from "@/assets/floormap-tanikawa-toshiko.svg"; | ||
import thumbEizawaAkimasa from "@/assets/thumb-eizawa-akimasa.svg"; | ||
import thumbFuruiAtsushi from "@/assets/thumb-furui-atsushi.svg"; | ||
import thumbMatsuyaMitsuru from "@/assets/thumb-matsuya-mitsuru.svg"; | ||
import thumbMurotaShigeki from "@/assets/thumb-murota-shigeki.svg"; | ||
import thumbNomuraFigeo from "@/assets/thumb-nomura-figeo.svg"; | ||
import thumbOidaShuji from "@/assets/thumb-oida-shuji.svg"; | ||
import thumbTamotoNaohiro from "@/assets/thumb-tamoto-naohiro.svg"; | ||
import thumbTanikawaToshiko from "@/assets/thumb-tanikawa-toshiko.svg"; | ||
import pinEizawaAkimasa from "@/assets/pin-eizawa-akimasa.png"; | ||
import pinFuruiAtsushi from "@/assets/pin-furui-atsushi.png"; | ||
import pinMatsuyaMitsuru from "@/assets/pin-matsuya-mitsuru.png"; | ||
import pinMurotaShigeki from "@/assets/pin-murota-shigeki.png"; | ||
import pinNomuraFigeo from "@/assets/pin-nomura-figeo.png"; | ||
import pinOidaShuji from "@/assets/pin-oida-shuji.png"; | ||
import pinTamotoNaohiro from "@/assets/pin-tamoto-naohiro.png"; | ||
import pinTanikawaToshiko from "@/assets/pin-tanikawa-toshiko.png"; | ||
import thumbEizawaAkimasa from "@/assets/thumb-eizawa-akimasa.png"; | ||
import thumbFuruiAtsushi from "@/assets/thumb-furui-atsushi.png"; | ||
import thumbMatsuyaMitsuru from "@/assets/thumb-matsuya-mitsuru.png"; | ||
import thumbMurotaShigeki from "@/assets/thumb-murota-shigeki.png"; | ||
import thumbNomuraFigeo from "@/assets/thumb-nomura-figeo.png"; | ||
import thumbOidaShuji from "@/assets/thumb-oida-shuji.png"; | ||
import thumbTamotoNaohiro from "@/assets/thumb-tamoto-naohiro.png"; | ||
import thumbTanikawaToshiko from "@/assets/thumb-tanikawa-toshiko.png"; | ||
|
||
export interface CEODetails { | ||
name: string; | ||
thumbnail: string; | ||
floormap: string; | ||
pin: string; | ||
position: { top: string; left: string }; | ||
} | ||
|
||
export const CEOS: Record<string, CEODetails> = { | ||
"eizawa-akimasa": { | ||
name: "榮澤暁誠", | ||
thumbnail: thumbEizawaAkimasa, | ||
floormap: floormapEizawaAkimasa, | ||
pin: pinEizawaAkimasa, | ||
position: { | ||
top: "25%", | ||
left: "45%", | ||
top: "23%", | ||
left: "47.5%", | ||
}, | ||
}, | ||
"furui-atsushi": { | ||
name: "古井敦士", | ||
thumbnail: thumbFuruiAtsushi, | ||
floormap: floormapFuruiAtsushi, | ||
pin: pinFuruiAtsushi, | ||
position: { | ||
top: "25%", | ||
left: "45%", | ||
top: "26%", | ||
left: "60.5%", | ||
}, | ||
}, | ||
"matsuya-mitsuru": { | ||
name: "松谷 充", | ||
name: "松谷充", | ||
thumbnail: thumbMatsuyaMitsuru, | ||
floormap: floormapMatsuyaMitsuru, | ||
pin: pinMatsuyaMitsuru, | ||
position: { | ||
top: "25%", | ||
left: "45%", | ||
top: "27%", | ||
left: "73%", | ||
}, | ||
}, | ||
"murota-shigeki": { | ||
name: "室田茂樹", | ||
thumbnail: thumbMurotaShigeki, | ||
floormap: floormapMurotaShigeki, | ||
pin: pinMurotaShigeki, | ||
position: { | ||
top: "36%", | ||
left: "26%", | ||
top: "44%", | ||
left: "35%", | ||
}, | ||
}, | ||
"nomura-figeo": { | ||
name: "室田茂樹", | ||
thumbnail: thumbNomuraFigeo, | ||
floormap: floormapNomuraFigeo, | ||
pin: pinNomuraFigeo, | ||
position: { | ||
top: "36%", | ||
left: "26%", | ||
left: "48%", | ||
}, | ||
}, | ||
"oida-shuji": { | ||
name: "室田茂樹", | ||
name: "種田宗司", | ||
thumbnail: thumbOidaShuji, | ||
floormap: floormapOidaShuji, | ||
pin: pinOidaShuji, | ||
position: { | ||
top: "36%", | ||
left: "26%", | ||
top: "39%", | ||
left: "73.3%", | ||
}, | ||
}, | ||
"tamoto-naohiro": { | ||
name: "田本直弘", | ||
thumbnail: thumbTamotoNaohiro, | ||
floormap: floormapTamotoNaohiro, | ||
pin: pinTamotoNaohiro, | ||
position: { | ||
top: "50%", | ||
left: "70%", | ||
top: "25%", | ||
left: "35%", | ||
}, | ||
}, | ||
"tanikawa-toshiko": { | ||
name: "谷脇とし子", | ||
thumbnail: thumbTanikawaToshiko, | ||
floormap: floormapTanikawaToshiko, | ||
pin: pinTanikawaToshiko, | ||
position: { | ||
top: "50%", | ||
left: "70%", | ||
top: "41%", | ||
left: "60.5%", | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.