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

fix: explorer metadata #510

Merged
merged 1 commit into from
Feb 26, 2024
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
5 changes: 5 additions & 0 deletions .changeset/flat-peas-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'explorer': minor
---

Update title and description on manifest, og images, and generated metadata.
5 changes: 5 additions & 0 deletions .changeset/rotten-kangaroos-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siafoundation/design-system': patch
---

Add use client / RSC support to Table.
4 changes: 2 additions & 2 deletions apps/explorer/app/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { network } from '../config'
const title = 'siascan'
const description =
network === 'mainnet'
? 'Sia blockchain and host explorer.'
: 'Zen blockchain and host explorer.'
? 'Siascan is a block explorer with host statistics and pricing details. Siascan is built for Sia, a decentralized storage network.'
: 'Siascan Zen is a block explorer with host statistics and pricing details. Siascan Zen is built for the Sia Zen Testnet.'

export default function manifest(): MetadataRoute.Manifest {
return {
Expand Down
4 changes: 2 additions & 2 deletions apps/explorer/app/opengraph-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export default async function Image() {
title: 'siascan',
subtitle:
network === 'mainnet'
? 'Sia blockchain and host explorer.'
: 'Zen testnet blockchain and host explorer.',
? 'Siascan is a block explorer with host statistics and pricing details. Siascan is built for Sia, a decentralized storage network.'
: 'Siascan Zen is a block explorer with host statistics and pricing details. Siascan Zen is built for the Sia Zen Testnet.',
values: values.length ? values : undefined,
},
size
Expand Down
4 changes: 2 additions & 2 deletions apps/explorer/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export function generateMetadata(): Metadata {
const title = 'siascan'
const description =
network === 'mainnet'
? 'Sia blockchain and host explorer.'
: 'Zen blockchain and host explorer.'
? 'Siascan is a block explorer with host statistics and pricing details. Siascan is built for Sia, a decentralized storage network.'
: 'Siascan Zen is a block explorer with host statistics and pricing details. Siascan Zen is built for the Sia Zen Testnet.'
return buildMetadata({
title,
description,
Expand Down
2 changes: 2 additions & 0 deletions libs/design-system/src/components/Table/TableRow.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client'

import { CSSProperties, forwardRef, useMemo } from 'react'
import { cx } from 'class-variance-authority'
import { useDroppable, useDraggable } from '@dnd-kit/core'
Expand Down
2 changes: 2 additions & 0 deletions libs/design-system/src/components/Table/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client'

import { Tooltip } from '../../core/Tooltip'
import { Panel } from '../../core/Panel'
import { Text } from '../../core/Text'
Expand Down
Loading