/* * SPDX-FileCopyrightText: syuilo and misskey-project * SPDX-License-Identifier: AGPL-3.0-only */ import type { Packed } from '@/misc/json-schema.js'; import type { CommonProps } from '@/server/web/views/_.js'; import { Layout } from '@/server/web/views/base.js'; export function ChannelPage(props: CommonProps<{ channel: Packed<'Channel'>; }>) { function ogBlock() { return ( <> {props.channel.description != null ? : null} {props.channel.bannerUrl ? ( <> ) : null} ); } return ( ); }