feat: responsive system, engineering infra, new components, performance
- Section: responsive prop with media query injection - visual-weights: fontSize clamp() for responsive sizing - variables.css: add border-radius/shadow/transition/z-index tokens - ESLint flat config + Prettier + Changeset init - New components: Footer, NewsSidebar, BreakingNewsBanner - Image/Figure: loading=lazy, aspectRatio, sizes props
This commit is contained in:
@@ -11,8 +11,8 @@ import {
|
||||
Byline,
|
||||
Dateline,
|
||||
Caption,
|
||||
} from '@newspaperui/components';
|
||||
import { visualWeights, resolveFontSize } from '@newspaperui/theme';
|
||||
} from 'newspaperui-components';
|
||||
import { visualWeights, resolveFontSize } from 'newspaperui-theme';
|
||||
import { Demo } from '@/components/Demo';
|
||||
|
||||
const longText = `Whitehall officials confirmed late Tuesday that the long-anticipated review of national infrastructure funding will be tabled before the recess. The 248-page document, drafted across three departments, recommends a recalibration of regional priorities and a measured shift toward rail electrification. Critics inside the cabinet caution that the timing risks overshadowing the chancellor's autumn statement, while supporters describe the proposals as the most coherent strategic blueprint in a generation.`;
|
||||
|
||||
Reference in New Issue
Block a user