Skip to content

Commit f257df9

Browse files
authored
fix stack link alignment (tokio-rs#71)
1 parent 597f248 commit f257df9

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

components/nav.tsx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
import React, { FC, useCallback, useState } from "react";
22
import classnames from "classnames";
3-
import Link from "next/link";
43
import SocialLinks from "./social-links";
54

65
// TODO: what is this thing??
76
type Blog = any;
87

98
const Brand: FC = () => (
10-
<Link href="/">
11-
<a className="navbar-item">
12-
<img
13-
src="/img/tokio-horizontal.svg"
14-
alt="tokio-logo"
15-
width="133"
16-
height="56"
17-
/>
18-
</a>
19-
</Link>
9+
<a href="/" className="navbar-item">
10+
<img
11+
src="/img/tokio-horizontal.svg"
12+
alt="tokio-logo"
13+
width="133"
14+
height="56"
15+
/>
16+
</a>
2017
);
2118

2219
const Links: FC<{ blog: Blog }> = ({ blog }) => {

components/stack.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const Layer: FC<{ layer: StackLayer }> = ({ layer }) => (
106106
style={{
107107
display: "block",
108108
position: "relative",
109-
top: "-13rem",
109+
top: "-40vh",
110110
visibility: "hidden",
111111
}}
112112
/>

0 commit comments

Comments
 (0)