Skip to content

Commit

Permalink
Update landing page style
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekLogan committed Sep 5, 2024
1 parent 5c4915f commit 4d134b9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
Binary file removed landing/img/Spectral_Connectomics_Logo.png
Binary file not shown.
8 changes: 3 additions & 5 deletions landing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,19 @@
<body>
<header>
<nav>
<!--<a href="javascript:void(0);" onclick="resetView()">-->
<img src="./img/Spectral_Connectomics_Logo_crop.png" alt="Your Logo" class="logo">
<!--</a>-->
<img src="./img/Spectral_Connectomics_Logo_crop.png" alt="Your Logo" class="logo">

<a id="dashboardButton" class="nav-button" target="_blank">Open Dashboard</a>

<!--<button id="aboutButton" class="nav-button">About</button>-->

</nav>
</header>

<!--<main>-->
<section class="hero" id="heroSection">
<!--
<h1>Explore the Brain!</h1>
<p>Discover by Spectral Connectomics.</p>
<p>Discover by Spectral Connectomics.</p>-->

<iframe id="datasetFrame" style="width:100%; height:100%; display:none;"></iframe>
</section>
Expand Down
1 change: 0 additions & 1 deletion landing/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ let newWindow = null; // This will hold the reference to your new window
heroSection.style.backgroundImage = 'none';
});*/

// onload
window.addEventListener('DOMContentLoaded', function() {
console.log("DOMContentLoaded")
var queryString = window.location.search;
Expand Down
10 changes: 6 additions & 4 deletions landing/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ main {
}

.logo {
height: 80px;
height: 40px;
/* Adjust the size as needed */
width: auto;
/* This will maintain the aspect ratio */
Expand All @@ -70,7 +70,8 @@ main {
flex-direction: column;
align-items: center;
justify-content: center;
height: 90vh;
/*height: 90vh;*/
flex: auto;
text-align: center;
/* background-color: #282626; */
color: #ffffff;
Expand All @@ -82,6 +83,7 @@ main {
z-index: 1;
}

/*
.hero::before {
content: '';
position: absolute;
Expand All @@ -93,7 +95,7 @@ main {
/* Adjust the color and opacity to your liking */
z-index: -1;
/* Ensures the overlay is behind the content */
}
}*/

/* Add to your existing style.css */
/* Dropdown Button */
Expand Down Expand Up @@ -263,7 +265,7 @@ button#googleSignIn:hover {
}

.nav-button {
padding: 10px 20px;
padding: 5px 10px;
background-color: transparent;
/* Makes the background transparent */
color: #000;
Expand Down

0 comments on commit 4d134b9

Please sign in to comment.