Skip to content
This repository was archived by the owner on Mar 25, 2023. It is now read-only.

Commit 61ae642

Browse files
Make blog author link to team page
1 parent ddb67f1 commit 61ae642

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/components/BlogPost/BlogPostHeaderMetadata/BlogPostHeaderMetadata.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import { jsx, Box, SystemStyleObject } from "theme-ui";
44
import * as React from "react";
55

6+
import { Link } from "../../Link";
67
import { IBlogPostMetadata } from "../../BlogPostItem";
78

89
import formatDate from "../formatDate";
@@ -23,7 +24,6 @@ const containerStyle = {
2324
display: "flex",
2425
flexDirection: "row",
2526
justifyContent: "space-between",
26-
opacity: "0.5",
2727
},
2828
".metadata-container": {
2929
display: "flex",
@@ -32,6 +32,10 @@ const containerStyle = {
3232
".metadata-label": {
3333
textTransform: "uppercase",
3434
fontSize: "small",
35+
opacity: "0.5",
36+
},
37+
".date-value": {
38+
opacity: "0.5",
3539
},
3640
} as SystemStyleObject;
3741

@@ -54,7 +58,9 @@ const BlogPostHeaderMetadata = ({
5458
<Box className="bot-row">
5559
<Box className="metadata-container authors-container">
5660
<span className="metadata-label authors-label">{authorsLabel}</span>
57-
<span className="authors-value">{authorsValue}</span>
61+
<Link className="authors-value" href="/about/company/team">
62+
{authorsValue}
63+
</Link>
5864
</Box>
5965
<Box
6066
className="metadata-container date-container"

0 commit comments

Comments
 (0)