Create, modify, run, experiment, share, interoperate, & grow
as a community
@@ -124,7 +124,7 @@ const AboutPage = (): JSX.Element => {
engines that generated them for use in building an
integrated, mechanistic understanding of human cells. We
will also work with educators at all levels of science
- teaching to integrate and test Simularium`'`s potential
+ teaching to integrate and test Simularium's potential
for use in active learning classroom/lab/homework
activities.
diff --git a/src/components/AboutPage/style.css b/src/components/AboutPage/style.css
index c8a23fd6a..6bac08a9e 100644
--- a/src/components/AboutPage/style.css
+++ b/src/components/AboutPage/style.css
@@ -15,3 +15,6 @@
padding: 16px 16px 6px 16px;
}
+.header-spacing {
+ margin-bottom: 16px;
+}
\ No newline at end of file
diff --git a/src/components/ContactPanel/index.tsx b/src/components/ContactPanel/index.tsx
index 1b6aeb06a..6be58dabe 100644
--- a/src/components/ContactPanel/index.tsx
+++ b/src/components/ContactPanel/index.tsx
@@ -3,10 +3,16 @@ import React from "react";
import { CONTACT_FORM_URL } from "../../constants";
import ContentPagePanel from "../ContentPagePanel";
-const ContactPanel = (): JSX.Element => {
+import styles from "./style.css";
+
+interface ContactPanelProps {
+ isDark?: boolean;
+}
+
+const ContactPanel = ({ isDark }: ContactPanelProps): JSX.Element => {
return (
-
-
Contact us
+
+
Contact us
We are collecting user feedback to improve this application. To
find tutorials, seek technical support, report bugs or request
diff --git a/src/components/ContactPanel/style.css b/src/components/ContactPanel/style.css
new file mode 100644
index 000000000..12619f19c
--- /dev/null
+++ b/src/components/ContactPanel/style.css
@@ -0,0 +1,3 @@
+.header-spacing {
+ margin-bottom: 16px;
+}
\ No newline at end of file
diff --git a/src/components/ContentPage/index.tsx b/src/components/ContentPage/index.tsx
index e39b6b42f..441218d7a 100644
--- a/src/components/ContentPage/index.tsx
+++ b/src/components/ContentPage/index.tsx
@@ -10,18 +10,20 @@ const { Content } = Layout;
interface ContentPageProps {
children: React.ReactNode;
className?: string;
+ contactPanelIsDark?: boolean;
}
const ContentPage: React.FC = ({
children,
className = "",
+ contactPanelIsDark = false,
}) => {
return (
<>
{children}
-
+
>
diff --git a/src/components/LandingPage/index.tsx b/src/components/LandingPage/index.tsx
index c2f73be7f..ba118ce47 100644
--- a/src/components/LandingPage/index.tsx
+++ b/src/components/LandingPage/index.tsx
@@ -60,7 +60,9 @@ const LandingPage = (): JSX.Element => {
{SUPPORTED_ENGINES.map(
(engine: string[]) => {
const [name, url] = engine;
@@ -132,7 +133,7 @@ const TutorialPage = (): JSX.Element => {
If you used one of our supported simulators
to generate your data, choose the notebook
for that simulator:
-
+
{SUPPORTED_ENGINES.map(
(engine: string[]) => {
const name = engine[0];
@@ -228,7 +229,7 @@ const TutorialPage = (): JSX.Element => {
dialog, provide the URL to your Simularium file and
choose Load.
-
+
If your file uses geometry files, like .obj or
.pdb files, make sure you've provided the
@@ -246,24 +247,20 @@ const TutorialPage = (): JSX.Element => {
-
-
Browser support
-
-
- Currently, Simularium supports Chrome, Safari, Edge,
- and Firefox. Some features may not work on other
- browsers.
-
-
- If using Safari on a Mac, please enable WebGL 2.0 by
- choosing Develop > Experimental Features and
- enabling "WebGL 2.0" (If you do not have a
- Develop menu in your menu bar, first choose Safari
- > Preferences > Advanced and enable "Show
- Develop menu in menu bar".) Then reload the
- viewer.
-
-
+
Browser support
+
+
+ Currently, Simularium supports Chrome, Safari, Edge, and
+ Firefox. Some features may not work on other browsers.
+
+
+ If using Safari on a Mac, please enable WebGL 2.0 by
+ choosing Develop > Experimental Features and enabling
+ "WebGL 2.0" (if you do not have a Develop menu
+ in your menu bar, first choose Safari > Preferences
+ > Advanced and enable "Show Develop menu in menu
+ bar"). Then reload the viewer.
+
diff --git a/src/components/TutorialPage/style.css b/src/components/TutorialPage/style.css
index cec6b9d87..ee7204be3 100644
--- a/src/components/TutorialPage/style.css
+++ b/src/components/TutorialPage/style.css
@@ -34,6 +34,10 @@
box-shadow: 3px 3px 20px var(--text-gray);
}
+.header-spacing {
+ margin-bottom: 16px;
+}
+
/* Prevents image from being huge on larger screens */
@media screen and (min-width: 576px) {
.drag-drop-image {
diff --git a/src/containers/AppHeader/index.tsx b/src/containers/AppHeader/index.tsx
index 45b613adf..075d46a6a 100644
--- a/src/containers/AppHeader/index.tsx
+++ b/src/containers/AppHeader/index.tsx
@@ -87,6 +87,10 @@ const AppHeader: React.FC = ({
onClick={() => {
history.push("/");
}}
+ // prevent lingering default focus style after following link
+ onMouseUp={(e) => {
+ (e.currentTarget as HTMLButtonElement).blur();
+ }}
/>