From b1a5e1f1d7593587d9fab596dd2955edc8199ab0 Mon Sep 17 00:00:00 2001 From: Caroline Bridge Date: Fri, 15 Oct 2021 16:04:08 -0400 Subject: [PATCH] removing commented out code and adjusting some mobile elements --- website/src/pages/index.js | 106 ++++++++++--------------------------- 1 file changed, 27 insertions(+), 79 deletions(-) diff --git a/website/src/pages/index.js b/website/src/pages/index.js index 4599388455..56e7c20d5a 100644 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -2,7 +2,7 @@ import React from 'react' import Layout from '@theme/Layout' import useDocusaurusContext from '@docusaurus/useDocusaurusContext' -import { Link, Typography, Button, makeStyles } from '@material-ui/core' +import { Link, Typography, Button, makeStyles, Box } from '@material-ui/core' import GetAppIcon from '@material-ui/icons/GetApp' import OpenInBrowserIcon from '@material-ui/icons/OpenInBrowser' @@ -26,8 +26,7 @@ const useStyles = makeStyles(theme => ({ flexDirection: 'row', justifyContent: 'space-around', backgroundColor: '#F0F0F0', - paddingTop: '25px', - paddingBottom: '25px', + padding: '25px', }, header: { display: 'flex', @@ -37,10 +36,7 @@ const useStyles = makeStyles(theme => ({ margin: '3em', }, body: { - marginLeft: '5em', - marginRight: '5em', - marginTop: '3em', - marginBottom: '5em', + margin: '3em', }, productContainer: { display: 'flex', @@ -78,6 +74,13 @@ const useStyles = makeStyles(theme => ({ borderRadius: '8px', border: '4px solid #e0e0e0', }, + blurbAndButtonsContainer: { + display: 'flex', + flexDirection: 'column', + flex: '55%', + justifyContent: 'center', + gap: '20px', + }, })) function Home() { @@ -90,81 +93,21 @@ function Home() {
-
- {/*
- JBrowse 2 -
*/} +
- {/* JBrowse 2 logo */}
- {/* - JBrowse:  - */} - + JBrowse: The next generation genome browser
- - {/*

- A pluggable, open-source platform for{' '} - visualizing and integrating biological data. -

-

- JBrowse is available as full-featured desktop and web - applications, and also offers embeddable components for - developers. -

*/}

The mission of the JBrowse Consortium is to develop a - comprehensive, pluggable, open-source  - {/* */} - computational platform for visualizing and integrating - biological data. - {/* */} + comprehensive, pluggable, open-source computational platform + for visualizing and integrating biological data.

@@ -210,7 +153,6 @@ function Home() { className={classes.screenshot} alt="screenshot of jbrowse 2" src="img/screenshot.png" - // src="/img/sv_inspector_importform_loaded.png" />
@@ -219,9 +161,7 @@ function Home() { {bannerBulletin} @@ -273,7 +213,6 @@ function Home() { className={classes.screenshot} alt="screenshot of jbrowse 2" src="/img/sv_inspector_importform_loaded.png" - // src="img/screenshot.png" />
@@ -309,15 +248,24 @@ function Home() {
Funding and Collaboration
-
+ NIH logo NCI logo Chan-Zuckerburg logo @@ -327,7 +275,7 @@ function Home() { src="/img/berkeley.png" alt="UC Berkeley logo" /> -
+
JBrowse development is supported by the US National Institutes of