-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from davidsklar99/main
Updated macrostrat homepage and vitest added
- Loading branch information
Showing
26 changed files
with
2,201 additions
and
898 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** Basic tests with Vitest */ | ||
import { test, expect } from "vitest"; | ||
|
||
test("should pass", () => { | ||
expect(true).toBe(true); | ||
}); | ||
|
||
// Load the URL of the main testing page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import { PageHeader } from "~/components"; | ||
import { PageBreadcrumbs } from "~/renderer"; | ||
import "./main.styl"; | ||
import { Image } from "./index"; | ||
import { MacrostratIcon } from "~/components"; | ||
|
||
<div class="main"> | ||
|
||
[//]: # "Nav Bar" | ||
<div class="nav"> | ||
<ul> | ||
<li><a href="/dev/main-page"><MacrostratIcon></MacrostratIcon></a></li> | ||
<li><a href="/dev/about">About</a></li> | ||
<li><a href="/dev/publications">Publications</a></li> | ||
<li><a href="/dev/people">People</a></li> | ||
<li><a href="/dev/donate">Donate</a></li> | ||
</ul> | ||
</div> | ||
\ | ||
\ | ||
|
||
[//]: # "Lithologies" | ||
<div id="lith"> | ||
</div> | ||
|
||
[//]: # "Stratigraphic Names" | ||
<div id="strat"> | ||
</div> | ||
|
||
|
||
[//]: # "Footer" | ||
<div class="footer"> | ||
<div class="footer-container"> | ||
<div class="col-sm-4" id="who-made-it"> | ||
<Image className="logo_white" src="logo_white.png" width="100px"></Image> | ||
<p class="f1-text">Produced by the <a href="http://strata.geology.wisc.edu" target="_blank">UW Macrostrat Lab</a> <a href="https://github.com/UW-Macrostrat" target="_blank"><Image className="git_logo" src="git-logo.png" width="18px"></Image></a></p> | ||
</div> | ||
<div class="col-sm-4" id="bottom-nav"> | ||
<ul class="footer-nav"> | ||
<li><a href="/dev/about">About</a></li> | ||
<li><a href="/dev/publications">Publications</a></li> | ||
<li><a href="/dev/people">People</a></li> | ||
<li><a href="/dev/donate">Donate</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-sm-4 funding"> | ||
<Image className="funding-logo" src="nsf.png" width="100px"></Image> | ||
<div class="funding-line"> | ||
Current support: \ | ||
EAR-1948843 \ | ||
ICER-1928323 \ | ||
UW-Madison Dept. Geoscience | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
.htnl, .body, .main | ||
background-color: white | ||
color: black | ||
|
||
a:hover | ||
text-decoration: none | ||
.nav | ||
position: fixed | ||
width: 100% | ||
z-index: 10000 | ||
top: 0 | ||
|
||
ul | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
overflow: hidden; | ||
background-color: #015eab; | ||
|
||
li | ||
float: left; | ||
font-size: 15px | ||
|
||
li a | ||
display: block; | ||
color: white; | ||
text-align: center; | ||
padding: 14px 16px; | ||
text-decoration: none | ||
|
||
.big | ||
color: #E0E1E6 | ||
text-align: left | ||
font-size: 75px | ||
font-family: "Maven Pro", sans-serif | ||
margin: 0 | ||
margin-left: 20% | ||
margin-top: 30px | ||
|
||
.line | ||
border-bottom: 3px solid #E0E1E6; | ||
width: 60% | ||
margin: 20px 20% | ||
|
||
|
||
.people | ||
color: white | ||
|
||
.left | ||
float: left | ||
width: 30% | ||
margin-left: 20% | ||
|
||
.right | ||
float: left | ||
width: 30% | ||
margin-right: 20% | ||
|
||
.person-info | ||
height: 30vh | ||
width: 90% | ||
position: relative | ||
margin: 5% | ||
|
||
.text | ||
text-align: right | ||
position:absolute | ||
padding: 5px 20px | ||
z-index: 100 | ||
background-color: rgba(0, 0, 0, 0.2) | ||
bottom:0 | ||
right: 0 | ||
|
||
a | ||
color: white | ||
|
||
a:hover | ||
color: white | ||
|
||
.back-img | ||
position:absolute | ||
z-index: 0 | ||
height: 30vh | ||
object-fit: cover | ||
width: 100% | ||
|
||
n | ||
font-size: 25px | ||
font-weight: 200px | ||
|
||
t | ||
font-weight: 400px | ||
|
||
e | ||
font-size: 14px | ||
font-weight: 200px | ||
|
||
.footer | ||
width: 100% | ||
background-color: #015EAB | ||
margin-top: 280vh | ||
|
||
.footer-container | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
margin: 0 auto; | ||
width: 60% | ||
|
||
.col-sm-4 | ||
color: white | ||
width: 33.333% | ||
color: #E0E1E6; | ||
font-weight: 200; | ||
text-align: center; | ||
min-height: 1px; | ||
padding-left: 15px; | ||
padding-right: 15px; | ||
font-weight: bold | ||
|
||
.nav-logo | ||
padding-top: 5px | ||
|
||
.funding-logo | ||
padding: 10px | ||
|
||
.footer-nav | ||
list-style-type: none | ||
padding-right: 40px | ||
|
||
li | ||
padding: 5px 0 | ||
|
||
a | ||
color: white | ||
|
||
a:hover | ||
text-decoration: none | ||
|
||
.git_logo | ||
vertical-align: sub | ||
|
||
.f1-text | ||
a | ||
color: white | ||
|
||
#who-made-it | ||
padding-top: 25px | ||
|
||
.subtitle | ||
margin-left: 20% | ||
color: #E0E1E6; |
Oops, something went wrong.