Skip to content

Commit d5e7e96

Browse files
committed
homepage updates
1 parent be61037 commit d5e7e96

File tree

4 files changed

+10
-18
lines changed

4 files changed

+10
-18
lines changed

pages/+Page.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { isDev } from "@macrostrat-web/settings";
66

77
export function Page() {
88
return h("div.page-main", [
9-
h(Navbar, { className: "main-navbar" }),
109
h("div.start", [
1110
h(Image, { className: "back-img cover-image", src: "cover_large.jpg" }),
1211
h("div.banner", [
@@ -18,6 +17,7 @@ export function Page() {
1817
h(MacrostratStats),
1918
]),
2019
]),
20+
h(Navbar, { className: "main-navbar" }),
2121
h("div.buttons", [
2222
h(LinkCard, { title: "Geologic Map", href: "/map/#3/40.78/-94.13" }, [
2323
h("p", { className: "long" }, [

pages/+Page.module.sass

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
height: 50vh
1010
color: white
1111
position: relative
12+
margin-bottom: calc(1em + 1px)
13+
border-bottom: 2px solid var(--text-emphasized-color)
14+
1215

1316
li
1417
float: left
@@ -52,6 +55,8 @@
5255
height: 50vh
5356
width: 100%
5457
object-fit: cover
58+
border-bottom: 2px solid var(--text-emphasized-color)
59+
5560

5661
.sea-image
5762
position: absolute
@@ -105,7 +110,6 @@
105110
flex-direction: column
106111
width: 100%
107112
padding: 0 20%
108-
border-top: 2px solid var(--text-emphasized-color)
109113
border-bottom: 2px solid var(--text-emphasized-color)
110114

111115
.country_container

pages/index.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ export function Navbar({ className }) {
1919
h("a", { href: "/publications" }, "Publications"),
2020
h("a", { href: "/people" }, "People"),
2121
h("a", { href: "/donate" }, "Donate"),
22-
h("a", { href: "/map" }, "Map"),
23-
h("a", { href: "/columns" }, "Columns"),
24-
h("a", { href: "/projects" }, "Projects"),
25-
h("a", { href: "/lex" }, "Lexicon"),
26-
h("a", { href: "/docs" }, "Documentation"),
2722
]),
2823
]);
2924
}
@@ -36,11 +31,6 @@ export function Footer() {
3631
{ href: "/publications", text: "Publications", icon: "book" },
3732
{ href: "/people", text: "People", icon: "people" },
3833
{ href: "/donate", text: "Donate", icon: "dollar" },
39-
{ href: "/map", text: "Map", icon: "map" },
40-
{ href: "/columns", text: "Columns", icon: "timeline-bar-chart" },
41-
{ href: "/projects", text: "Projects", icon: "projects" },
42-
{ href: "/lex", text: "Lexicon", icon: "manual" },
43-
{ href: "/docs", text: "Documentation", icon: "document" },
4434
];
4535

4636
return h("div", { className: "footer" }, [

pages/layout.module.sass

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,19 @@
3030
width: 100% !important
3131
height: 50vh !important
3232

33-
// davids
3433
.nav
3534
border-bottom: 2px solid var(--text-emphasized-color)
3635
background-color: var(--background-color)
37-
38-
a
39-
color: vaR(--text-emphasized-color) !important
40-
41-
nav
4236
width: 100%
4337
padding: 1em .5em
4438
display: flex
4539
flex-direction: row
4640
gap: 1em
4741
align-items: center
42+
justify-content: center
43+
44+
a
45+
color: var(--text-emphasized-color) !important
4846

4947
.nav-link
5048
display: flex

0 commit comments

Comments
 (0)