Skip to content

Commit

Permalink
Website tweaks (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpierre committed May 20, 2021
1 parent 3e73400 commit da87f52
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
6 changes: 3 additions & 3 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<meta property="og:url" content="https://use-nft.spectre.xyz/" />
<meta
property="og:description"
content="Fetch NFT metadata from anywhere"
content="Fetch metadata from any NFT"
/>

<meta
Expand All @@ -27,11 +27,11 @@
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:description"
content="Fetch NFT metadata from anywhere"
content="Fetch metadata from any NFT"
/>

<title>
useNft() · Fetch NFT metadata from anywhere
useNft() · Fetch metadata from any NFT
</title>
</head>
<body style="background: url(pattern.svg) 50% 0 repeat #111">
Expand Down
4 changes: 2 additions & 2 deletions website/src/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function Title() {
>
{randomEmoji()}
</span>{" "}
= {small && <br />}useNft({small ? "addr" : "address"}, id)
= {small && <br />}useNft()
</h1>
)
}
Expand All @@ -79,7 +79,7 @@ function Description() {
text-align: center;
`}
>
Fetch NFT metadata from anywhere.
Fetch metadata from any <abbr title="Non-fungible token">NFT</abbr>
</p>
)
}
Expand Down
11 changes: 9 additions & 2 deletions website/src/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@ import { css } from "@emotion/react"

function Navigation({ swap = false }: { swap?: boolean }) {
const links = [
<a key="by" href="https://spectre.xyz/" target="_blank">
by spectre_
<a
key="by"
href="https://spectre.xyz/"
target="_blank"
css={css`
text-transform: lowercase;
`}
>
by Spectre
</a>,
<a key="docs" href="https://github.com/spectrexyz/use-nft" target="_blank">
code & docs
Expand Down

0 comments on commit da87f52

Please sign in to comment.