modified: app/layout.tsx

modified:   package.json
	modified:   tailwind.config.js
main
joker 2 years ago
parent 50507d5e5f
commit abada08613
  1. 6
      app/layout.tsx
  2. 3
      package.json
  3. 3
      tailwind.config.js

@ -22,7 +22,7 @@ const fontSans = Red_Hat_Display({
const fontSerif = Newsreader({
subsets: ['latin'],
variable: '--font-newsreader',
variable: '--font-arial',
});
type RootLayoutProps = {
@ -77,8 +77,8 @@ export default function RootLayout({ children }: RootLayoutProps) {
lang="ru"
className={cn(
'scroll-pt-16 overflow-auto overscroll-none',
fontSans.variable,
fontSerif.variable,
//fontSans.variable,
//fontSerif.variable,
)}
>
<Script id="metrika-counter" strategy="afterInteractive">

@ -1,6 +1,6 @@
{
"name": "blog",
"version": "1.3.4",
"version": "1.3.6",
"scripts": {
"dev": "next dev",
"test": "npx vitest",
@ -9,7 +9,6 @@
"start": "next start -p 3003",
"style:lint": "next lint",
"style:prettier": "prettier --check '**/*.{js,jsx,ts,tsx}'",
"style:all": "pnpm run style:lint && pnpm run style:prettier",
"format": "prettier --write '**/*.{js,jsx,ts,tsx}'",
"storybook": "storybook dev -p 6006",
"build-storybook": "npx contentlayer build && storybook build"

@ -30,7 +30,8 @@ module.exports = {
fontFamily: {
// uses next/font; see app/layout.tsx
sans: ['var(--font-red-hat)'],
serif: ['var(--font-newsreader)'],
//serif: ['var(--font-newsreader)'],
serif: ['var(--font-arial)'],
},
gridTemplateRows: {
// main layout grid rows (header, main, footer)

Loading…
Cancel
Save