Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update map view branch to master #543

Merged
merged 13 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions .github/selenium_tests/selenium_tests.py

This file was deleted.

80 changes: 0 additions & 80 deletions .github/workflows/docker-publish-frontend.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Electron build/release

on:
push:
pull_request:
release:
types:
- created
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/integration-test.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/selenium-test.yml

This file was deleted.

31 changes: 28 additions & 3 deletions taxonium_website/src/components/AboutOverlay.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,34 @@
import React, { useRef, useEffect } from "react";
import Modal from "react-modal";

const modalStyle = {
content: {
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
backgroundColor: "#fafafa",
border: "1px solid #e2e8f0",
borderRadius: "8px",
padding: "20px",
maxWidth: "700px",
maxHeight: "80vh",
minWidth: "400px",
minHeight: "400px",
fontSize: "13px",
},
overlay: {
backgroundColor: "rgba(100, 100, 100, 0.3)",
zIndex: 1000,
},
};

function AboutOverlay({ enabled, setEnabled, overlayContent }) {
return (
<Modal isOpen={enabled} onRequestClose={() => setEnabled(false)}>
<Modal
isOpen={enabled}
onRequestClose={() => setEnabled(false)}
style={modalStyle}
>
<button
className="absolute text-lg font-bold top-0 right-0 m-2"
onClick={() => setEnabled(false)}
Expand Down Expand Up @@ -37,8 +62,8 @@ function AboutOverlay({ enabled, setEnabled, overlayContent }) {
project.
</p>

<p className="mb-1 text-sm mt-6 text-sm text-gray-700">
<h3 className="font-bold text-md">Citation</h3>
<p className="mb-1 mt-6 text-gray-700">
<h3 className="font-bold">Citation</h3>
If you use Taxonium in your research, please cite:
<br />
Theo Sanderson (2022){" "}
Expand Down
Loading