Skip to content

Commit

Permalink
more geo modal simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarr committed May 30, 2024
1 parent 3f7e49f commit c35fc54
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions src/editor/components/modals/GeoModal/GeoModal.component.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useCallback, useEffect } from 'react';

import styles from './GeoModal.module.scss';
import { Copy32Icon, Mangnifier20Icon } from '../../../icons';
import { Mangnifier20Icon } from '../../../icons';

import Modal from '../Modal.jsx';
import { Button, Input } from '../../components/index.js';
Expand Down Expand Up @@ -75,9 +75,8 @@ const GeoModal = ({ isOpen, onClose }) => {
>
<div className={styles.wrapper}>
<div className={styles.header}>
<img src={GeoImg} alt="geo" />
<p>Scene Location</p>
<p className={styles.badge}>Pro</p>
<img src={GeoImg} alt="geo" style={{ objectFit: 'contain' }} />
<h3>Scene Location</h3>
</div>
<Input
leadingIcon={<Mangnifier20Icon />}
Expand All @@ -103,22 +102,13 @@ const GeoModal = ({ isOpen, onClose }) => {

<div className={styles.sceneGeo}>
<div>
<p>Current Centerpoint</p>
<p>Centerpoint</p>
<Input
leadingIcon={<p className={styles.iconGeo}>Lat, Long</p>}
tailingIcon={<Copy32Icon className={styles.copyIcon} />}
value={`${markerPosition.lat}, ${markerPosition.lng}`}
placeholder="None"
></Input>
</div>
<div>
<p>New Centerpoint</p>
<Input
leadingIcon={<p className={styles.iconGeo}>Lat, Long</p>}
tailingIcon={<Copy32Icon className={styles.copyIcon} />}
placeholder="0, 0"
></Input>
</div>
</div>

<div className={styles.controlButtons}>
Expand Down

0 comments on commit c35fc54

Please sign in to comment.