Templates / Editorial Journalv1.0.0 · Free
Editorial Journal
Loading Editorial Journal…
Features
- Lead story
- Reveal pull quote
- Numbered index
- Issue list
Dependencies
next@^16.0.0motion@^14.0.0
Pages
1 page · 5 sections, responsive from 360px up, light and dark themes.
Built with
- Reveal Text free
- Split Text free
- Pill Button free
Source
Template.tsx
"use client";
import type { CSSProperties } from "react";
import { FitText } from "@/components/brazen/FitText";
import { SplitText } from "@/components/brazen/SplitText";
import { RevealText } from "@/components/brazen/RevealText";
import { Pill } from "@/components/brazen/Pill";
const stories = [
{ n: "02", t: "The case for ugly websites", a: "Mara Okafor", m: "8 min" },
{ n: "03", t: "Variable fonts, five years in", a: "Jun Park", m: "12 min" },
{ n: "04", t: "Why every brand turned beige", a: "Sol Reyes", m: "6 min" },
{ n: "05", t: "Motion as a design token", a: "Ilse Brandt", m: "10 min" },
{ n: "06", t: "In defence of the hairline", a: "Tom Achebe", m: "5 min" },
];
const issues = [
{ n: "14", s: "Autumn", g: "radial-gradient(80% 80% at 70% 30%,#ff8fb8,transparent 60%),#ee2b1d" },
{ n: "13", s: "Summer", g: "linear-gradient(135deg,#2f3bff,#0b0b0c)" },
{ n: "12", s: "Spring", g: "linear-gradient(180deg,#e8e8e5,#8b8b90)" },
{ n: "11", s: "Winter", g: "linear-gradient(135deg,#0b0b0c,#3f3f43)" },
];
/** Editorial Journal — a free, MIT-licensed magazine front page. */
export default function EditorialJournal() {
return (
<main id="main" className="tpl tpl-journal">
<header className="tpl-mast">
<div className="tpl-mast-top mono">
<span>Issue 14 · Autumn</span>
<nav aria-label="Sections">
<a href="#tpl-lead">Essays</a>
<a href="#tpl-index">Index</a>
<a href="#tpl-issues">Archive</a>
</nav>
<span>Subscribe</span>
</div>
<FitText as="div" split="LOUD">
THE LOUD REVIEW
</FitText>
</header>
<article className="tpl-lead" id="tpl-lead">
<div className="tpl-lead-img" style={{ "--g": issues[0].g } as CSSProperties} aria-hidden="true" />
<div className="tpl-lead-txt">
<span className="tag">Lead essay · 01</span>
<SplitText as="h1" className="shout" text="Design that refuses to whisper" by="words" stagger={60} />
<p>Quiet branding won the last decade. The next one belongs to the work you can recognise from across the street — and the teams brave enough to ship it.</p>
<span className="mono muted">By Ada Lindqvist · 14 min read</span>
</div>
</article>
<section className="tpl-quote">
<RevealText hot="as a feature.">Loud isn't a volume setting. It's deciding what matters and saying it once,</RevealText>
</section>
<section className="tpl-sec" id="tpl-index">
<div className="tpl-sec-h">
<h2 className="shout">In this issue</h2>
<span className="mono">06 essays</span>
</div>
<ol className="tpl-index">
{stories.map((s) => (
<li key={s.n}>
<a href="#tpl-lead">
<span className="mono">{s.n}</span>
<b>{s.t}</b>
<span className="mono">
{s.a} · {s.m}
</span>
</a>
</li>
))}
</ol>
</section>
<section className="tpl-sec" id="tpl-issues">
<div className="tpl-sec-h">
<h2 className="shout">Archive</h2>
<Pill tone="line" size="sm">
All issues
</Pill>
</div>
<div className="tpl-issues">
{issues.map((i) => (
<a key={i.n} href="#tpl-issues" className="tpl-issue">
<span style={{ "--g": i.g } as CSSProperties}>
<b>{i.n}</b>
</span>
<span className="mono">
Issue {i.n} · {i.s}
</span>
</a>
))}
</div>
</section>
<footer className="tpl-foot mono">
<span>© The Loud Review</span>
<span>Template by Brazen UI · MIT</span>
</footer>
</main>
);
}