Files
newsui/packages/docs/app/blocks/jp-horizontal/page.tsx
T

142 lines
11 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
'use client';
import { Layout, Section, Article, Rule, BodyText, Figure } from 'newspaperui';
const jp = { fontFamily: 'var(--font-family-cjk-jp)' };
const jpAccent = { color: 'var(--nui-accent-ink-blue)' };
export default function JpHorizontal() {
return (
<Layout columns={24} maxWidth="1280px" padding="1.5rem 1rem">
{/* 報頭 */}
<header style={{
textAlign: 'center',
borderTop: '3px solid var(--nui-text-primary)',
borderBottom: '1px solid var(--nui-rule-decorative)',
paddingTop: '1rem',
paddingBottom: '0.5rem',
}}>
<h1 style={{
...jp,
fontSize: '72px',
fontWeight: 900,
margin: 0,
letterSpacing: '0.15em',
lineHeight: 1,
color: 'var(--nui-text-primary)',
}}></h1>
<div style={{
...jp,
display: 'flex',
justifyContent: 'space-between',
fontSize: '11px',
color: 'var(--nui-text-secondary)',
padding: '0.5rem 1rem',
borderTop: '1px solid var(--nui-rule-hairline)',
marginTop: '0.5rem',
}}>
<span>48721</span>
<span>82026519 </span>
<span> · 14</span>
</div>
</header>
{/* 一面トップ */}
<Section columns={24} gap="1rem" style={{ marginTop: '1rem', paddingBottom: '1rem', borderBottom: '2px solid var(--nui-rule-decorative)' }}>
<Article span={24}>
<div style={{ ...jp, ...jpAccent, fontSize: '13px', fontWeight: 700, marginBottom: '0.5rem', textAlign: 'center' }}></div>
<h2 style={{ ...jp, fontSize: '48px', fontWeight: 900, lineHeight: 1.15, color: 'var(--nui-text-primary)', textAlign: 'center', margin: 0 }}>
 23
</h2>
<h3 style={{ ...jp, fontSize: '20px', fontWeight: 500, lineHeight: 1.5, color: 'var(--nui-text-secondary)', textAlign: 'center', margin: '0.5rem 0 1rem 0' }}>
 
</h3>
<div style={{ ...jp, textAlign: 'center', fontSize: '12px', color: 'var(--nui-text-muted)', marginBottom: '1rem' }}>
</div>
<Figure
src="https://images.unsplash.com/photo-1577962917302-cd874c4e31d2?auto=format&fit=crop&w=1200&q=80"
alt="署名式の様子"
caption="協定に署名する各国代表。ブリュッセルの会議場で19日未明。"
credit="AP"
/>
<BodyText weight="High" columns={3} style={{ ...jp, marginTop: '1rem' }}>
<p>112319調</p>
<p>20402028</p>
<p>1.20.7</p>
<p></p>
<p>32貿18</p>
<p>10</p>
</BodyText>
</Article>
</Section>
{/* 二面:3栏 */}
<Section columns={24} gap="1rem" style={{ marginTop: '1rem', paddingBottom: '1rem', borderBottom: '1px solid var(--nui-rule-decorative)' }}>
<Article span={8} style={{ background: 'var(--nui-bg-surface)', padding: '1rem', borderLeft: '3px solid var(--nui-accent-ink-blue)' }}>
<div style={{ ...jp, ...jpAccent, fontSize: '12px', fontWeight: 700, marginBottom: '0.75rem', paddingLeft: '0.75rem', borderLeft: '3px solid var(--nui-accent-ink-blue)' }}></div>
<h3 style={{ ...jp, fontSize: '20px', fontWeight: 700, lineHeight: 1.35, color: 'var(--nui-text-primary)', margin: '0 0 0.5rem 0' }}></h3>
<BodyText weight="Low" style={jp}>
<p></p>
<p></p>
</BodyText>
<Rule variant="hairline" style={{ margin: '0.75rem 0' }} />
<h4 style={{ ...jp, fontSize: '16px', fontWeight: 600, lineHeight: 1.35, margin: '0 0 0.4rem 0' }}>3</h4>
<BodyText weight="Low" style={jp}>
<p>243</p>
</BodyText>
<Rule variant="hairline" style={{ margin: '0.75rem 0' }} />
<h4 style={{ ...jp, fontSize: '16px', fontWeight: 600, lineHeight: 1.35, margin: '0 0 0.4rem 0' }}></h4>
<BodyText weight="Low" style={jp}>
<p>3</p>
</BodyText>
</Article>
<Article span={8} style={{ background: 'var(--nui-bg-surface)', padding: '1rem', borderLeft: '3px solid var(--nui-accent-ink-blue)' }}>
<div style={{ ...jp, ...jpAccent, fontSize: '12px', fontWeight: 700, marginBottom: '0.75rem', paddingLeft: '0.75rem', borderLeft: '3px solid var(--nui-accent-ink-blue)' }}></div>
<h3 style={{ ...jp, fontSize: '20px', fontWeight: 700, lineHeight: 1.35, color: 'var(--nui-text-primary)', margin: '0 0 0.5rem 0' }}>PMI</h3>
<BodyText weight="Low" style={jp}>
<p>552.45</p>
<p></p>
</BodyText>
<Rule variant="hairline" style={{ margin: '0.75rem 0' }} />
<h4 style={{ ...jp, fontSize: '16px', fontWeight: 600, lineHeight: 1.35, margin: '0 0 0.4rem 0' }}>3.7</h4>
<BodyText weight="Low" style={jp}>
<p>AI商用化への期待を背景にテクノロジー株が全面高</p>
</BodyText>
</Article>
<Article span={8} style={{ background: 'var(--nui-bg-surface)', padding: '1rem', borderLeft: '3px solid var(--nui-accent-ink-blue)' }}>
<div style={{ ...jp, ...jpAccent, fontSize: '12px', fontWeight: 700, marginBottom: '0.75rem', paddingLeft: '0.75rem', borderLeft: '3px solid var(--nui-accent-ink-blue)' }}></div>
<h3 style={{ ...jp, fontSize: '20px', fontWeight: 700, lineHeight: 1.35, color: 'var(--nui-text-primary)', margin: '0 0 0.5rem 0' }}></h3>
<BodyText weight="Low" style={jp}>
<p>殿8220214</p>
<p>4</p>
</BodyText>
<Rule variant="hairline" style={{ margin: '0.75rem 0' }} />
<h4 style={{ ...jp, fontSize: '16px', fontWeight: 600, lineHeight: 1.35, margin: '0 0 0.4rem 0' }}></h4>
<BodyText weight="Low" style={jp}>
<p>18</p>
</BodyText>
</Article>
</Section>
{/* 短信欄 */}
<Section columns={24} gap="1rem" style={{ marginTop: '1rem' }}>
<Article span={24}>
<div style={{ ...jp, ...jpAccent, fontSize: '12px', fontWeight: 700, marginBottom: '0.5rem', paddingLeft: '0.75rem', borderLeft: '3px solid var(--nui-accent-ink-blue)' }}> · </div>
<BodyText weight="Low" columns={4} style={jp}>
<p> </p>
<p> FRB議事要旨で大半の当局者が年内利下げ開始を支持していることが判明</p>
<p> 25bp引き下げ</p>
<p> </p>
<p> EU首脳会議が支援パッケージで合意3</p>
<p> 58000西</p>
</BodyText>
</Article>
</Section>
</Layout>
);
}