Skip to content

Commit

Permalink
Merge pull request #495 from theosanderson/no-taxonium-mob
Browse files Browse the repository at this point in the history
hide taxonium logo on mob
  • Loading branch information
theosanderson authored Jun 29, 2023
2 parents 2e48d9f + fa69a23 commit f971e47
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ or make a JSON file containing
Guilhem Sempéré has created a tool called [TaxoniumColors](https://webtools.southgreen.fr/TaxoniumColors/) to help with generating these palettes.
:::


##### Title

We can supply a title with the `title` key. It will display at the top.
Expand Down
10 changes: 5 additions & 5 deletions taxonium_component/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ src/Deck.jsx: This component renders the actual DeckGL canvas and handles intera

src/hooks: This folder contains all the React hooks used in the project. Some of the main hooks are:

- useBackend: This hook is used to interface with either a local or server backend to get data and search
- useBackend: This hook is used to interface with either a local or server backend to get data and search
- useColor, useColorBy: These hooks handle the node coloring logic
- useConfig: This hook is used to get configuration information (title, source, etc)
- useGetDynamicData: This hook is used to get data from the backend within the current viewport
- useLayers: This hook generates the DeckGL layers
- useLayers: This hook generates the DeckGL layers
- useNodeDetails: This hook is used to get details for selected nodes
- useSearch: This hook handles searching the tree
- useView: This hook manages the view state and zooming/panning
Expand All @@ -17,6 +17,6 @@ src/hooks: This folder contains all the React hooks used in the project. Some of
src/utils: This folder contains various utility functions, including:

- processNewick.js: For converting Newick/Nexus into Taxonium JSON format
- processNextstrain.js: For converting Nextstrain JSON into Taxonium JSON format
- searchUtil.js: Contains utility functions for searching
- formatNumber.js: Used to format large numbers with commas
- processNextstrain.js: For converting Nextstrain JSON into Taxonium JSON format
- searchUtil.js: Contains utility functions for searching
- formatNumber.js: Used to format large numbers with commas
4 changes: 2 additions & 2 deletions taxonium_component/src/components/DeckButtons.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export const DeckButtons = ({
</div>
)}
<div
className="inline-block text-gray-800 mr-4 mt-auto mb-1 bg-white
opacity-50 px-1 hover:opacity-100 rounded
className="text-gray-800 mr-4 mt-auto mb-1 bg-white
opacity-50 px-1 hover:opacity-100 rounded hidden sm:inline-block
"
style={{
fontSize: ".7em",
Expand Down

1 comment on commit f971e47

@vercel
Copy link

@vercel vercel bot commented on f971e47 Jun 29, 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.