-
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.
build an initial framework for the report page
- Loading branch information
1 parent
909a2fc
commit 46a2aa5
Showing
3 changed files
with
135 additions
and
3 deletions.
There are no files selected for viewing
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,76 @@ | ||
.report-page { | ||
display: flex; | ||
flex: 1; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
border: 1px solid black; | ||
padding: 50px; | ||
overflow-y: hidden; | ||
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75) inset; | ||
} | ||
|
||
.gallery-container { | ||
display: flex; | ||
flex: 50%; | ||
height: 100%; | ||
border-radius: 20px; | ||
flex-direction: column; | ||
} | ||
|
||
.unmatched-gallery { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex: 65%; | ||
height: 100%; | ||
width: 100%; | ||
background-color: aliceblue; | ||
border-radius: 20px; | ||
margin: 5px; | ||
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.75); | ||
flex-wrap: wrap; | ||
overflow-y: scroll; | ||
} | ||
|
||
::-webkit-scrollbar { | ||
display: none; | ||
} | ||
|
||
.matched-gallery { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex: 35%; | ||
width: 100%; | ||
height: 100%; | ||
background-color: cadetblue; | ||
border-radius: 20px; | ||
margin: 5px; | ||
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.75); | ||
flex-wrap: wrap; | ||
overflow-y: scroll; | ||
} | ||
|
||
.report-page-map { | ||
display: flex; | ||
flex: 50%; | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 20px; | ||
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75); | ||
margin: 50px; | ||
margin-right: 0px; | ||
} | ||
|
||
.image { | ||
display: flex; | ||
flex: 1; | ||
border-radius: 10px; | ||
background-color: blueviolet; | ||
margin: 5px; | ||
min-width: 18dvh; | ||
max-width: 18dvh; | ||
min-height: 22dvh; | ||
max-height: 22dvh; | ||
} |
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,7 +1,62 @@ | ||
import React from "react" | ||
import TuasMap from '../components/TuasMap.tsx' | ||
import "./Report.css" | ||
|
||
const Report: React.FC = () => { | ||
return <h1>todo</h1> | ||
/** | ||
* @returns report page | ||
*/ | ||
function Report() { | ||
return ( | ||
<main className="report-page"> | ||
<div className="gallery-container"> | ||
<div className="unmatched-gallery"> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
</div> | ||
<div className="matched-gallery"> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
<div className="image"> | ||
</div> | ||
</div> | ||
</div> | ||
<TuasMap className={'report-page-map'} lat={1.3467} lng={103.9326}/> | ||
</main> | ||
) | ||
} | ||
|
||
export default Report; |