Skip to content

Commit

Permalink
no logo for standalone use
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Nov 24, 2023
1 parent cb809db commit 0c2c4e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gensplore-component/src/components/GensploreView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import SearchPanel from "../SearchPanel";
import { GiDna1 } from "react-icons/gi";


function GensploreView({ genbankString, searchInput, setSearchInput }) {
function GensploreView({ genbankString, searchInput, setSearchInput, showLogo }) {
const [searchPanelOpen, setSearchPanelOpen] = useState(false);
const [zoomLevel, setRawZoomLevel] = useState(0);
const [whereMouseWentDown, setWhereMouseWentDown] = useState(null);
Expand Down Expand Up @@ -419,6 +419,7 @@ function GensploreView({ genbankString, searchInput, setSearchInput }) {
{
// small logo on left, name and definition on right
}
{showLogo && (
<div className="flex flex-row">
<div className="flex flex-col">
<h3 className="text-xl mr-3 text-gray-700 ml-4 font-bold ">
Expand All @@ -429,6 +430,7 @@ function GensploreView({ genbankString, searchInput, setSearchInput }) {
</h3>
</div>
</div>
)}
<div className="flex flex-col ml-4 mt-3 text-gray-900">
<h2 className="text-2xl">{genbankData.parsedSequence.name}</h2>
<div>
Expand Down
1 change: 1 addition & 0 deletions website/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ const App = () => {
genbankString={genbankString}
searchInput={searchInput}
setSearchInput={setSearchInput}
showLogo={true}
/>
)}
{!ready && loading && (
Expand Down

1 comment on commit 0c2c4e8

@vercel
Copy link

@vercel vercel bot commented on 0c2c4e8 Nov 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.