diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 000000000..d5fe1e7db
Binary files /dev/null and b/.DS_Store differ
diff --git a/sextant/src/App.css b/sextant/src/App.css
index e69de29bb..f67565812 100644
--- a/sextant/src/App.css
+++ b/sextant/src/App.css
@@ -0,0 +1,3 @@
+.App {
+ font-family: Arial, Helvetica, sans-serif;
+}
\ No newline at end of file
diff --git a/sextant/src/App.js b/sextant/src/App.js
index 1c2c99333..8fce16100 100644
--- a/sextant/src/App.js
+++ b/sextant/src/App.js
@@ -1,23 +1,19 @@
+import React, { Component } from 'react';
import './App.css';
+import Banner from './Banner';
+import Exhibit from './Exhibit';
-function FancyBorder(props) {
- return (
-
- {props.children}
-
- );
- }
-
-function App() {
- return (
-
-
-
-
-
- );
+class App extends Component {
+ render() {
+ return (
+
+
+ content
+ content
+ content
+
+ );
+ }
}
-export default App;
\ No newline at end of file
+export default App;
diff --git a/sextant/src/Banner.css b/sextant/src/Banner.css
new file mode 100644
index 000000000..f39cf9f26
--- /dev/null
+++ b/sextant/src/Banner.css
@@ -0,0 +1,7 @@
+.Banner {
+ margin: 0.5vw;
+ padding: 0vw 2vw 0vw 2vw;
+ text-align: center;
+ font-weight: bold;
+ font-size: 1.75vw;
+}
\ No newline at end of file
diff --git a/sextant/src/Banner.js b/sextant/src/Banner.js
new file mode 100644
index 000000000..c5c577f31
--- /dev/null
+++ b/sextant/src/Banner.js
@@ -0,0 +1,14 @@
+import React, { Component } from 'react';
+import './Banner.css';
+
+class Banner extends Component {
+ render() {
+ return (
+
+
{this.props.bannerText}
+
+ );
+ }
+}
+
+export default Banner;
diff --git a/sextant/src/Exhibit.css b/sextant/src/Exhibit.css
new file mode 100644
index 000000000..008e086da
--- /dev/null
+++ b/sextant/src/Exhibit.css
@@ -0,0 +1,23 @@
+.Exhibit {
+ float: left;
+ margin: 0.5vw;
+ padding: 0vw 2vw 0vw 2vw;
+ text-align: center;
+ border: 1px solid;
+ /* Black shadow with 10px blur */
+ filter: drop-shadow(0 0.2rem 0.25rem rgba(0, 0, 0, 0.2));
+
+}
+
+.ExhibitHeading {
+ font-weight: bold;
+ font-size: 1.75vw;
+}
+
+.ExhibitContent {
+ margin: 0.5vw;
+ padding: 1vw;
+ text-align: center;
+ font-size: 1.75vw;
+ color: black;
+}
diff --git a/sextant/src/Exhibit.js b/sextant/src/Exhibit.js
new file mode 100644
index 000000000..5f392863d
--- /dev/null
+++ b/sextant/src/Exhibit.js
@@ -0,0 +1,17 @@
+import React, { Component } from 'react';
+import './Exhibit.css';
+
+class Exhibit extends Component {
+ render() {
+ return (
+
+
{this.props.name}
+
+ {this.props.children}
+
+
+ );
+ }
+}
+
+export default Exhibit;
diff --git a/sextant/src/index.css b/sextant/src/index.css
index ec2585e8c..2ac77547b 100644
--- a/sextant/src/index.css
+++ b/sextant/src/index.css
@@ -1,13 +1,5 @@
-body {
- margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
- 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
- sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-code {
- font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
- monospace;
+html {
+ margin: 0;
+ padding: 0;
+ height: 100vh;
}
diff --git a/sextant/src/index.js b/sextant/src/index.js
index d563c0fb1..ef7f746a3 100644
--- a/sextant/src/index.js
+++ b/sextant/src/index.js
@@ -1,17 +1,9 @@
import React from 'react';
-import ReactDOM from 'react-dom/client';
-import './index.css';
+import ReactDOM from 'react-dom';
import App from './App';
-import reportWebVitals from './reportWebVitals';
+import './index.css';
-const root = ReactDOM.createRoot(document.getElementById('root'));
-root.render(
-
-
-
+ReactDOM.render(
+ ,
+ document.getElementById('root')
);
-
-// If you want to start measuring performance in your app, pass a function
-// to log results (for example: reportWebVitals(console.log))
-// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
-reportWebVitals();