Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website tweaks #81

Merged
merged 1 commit into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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