fix: storybook font rendering and shared fonts module #1

Merged
ilia merged 74 commits from feat/portfolio-setup into main 2026-05-18 18:45:22 +00:00
3 changed files with 14 additions and 11 deletions
Showing only changes of commit b4bda4b8f7 - Show all commits
+3
View File
@@ -5,6 +5,9 @@ import { usePathname } from 'next/navigation';
import { CONTACT_LINKS, cn } from '$shared/lib';
import type { NavItem } from '../model/types';
/**
* Props for SidebarNav.
*/
interface Props {
/**
* Navigation items to render
+10 -10
View File
@@ -1,6 +1,6 @@
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
import path from 'path'
import react from '@vitejs/plugin-react';
import path from 'path';
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [react()],
@@ -12,13 +12,13 @@ export default defineConfig({
},
resolve: {
alias: {
'$shared': path.resolve(__dirname, './src/shared'),
'$entities': path.resolve(__dirname, './src/entities'),
'$widgets': path.resolve(__dirname, './src/widgets'),
'$features': path.resolve(__dirname, './src/features'),
'$app': path.resolve(__dirname, './src/app'),
'$routes': path.resolve(__dirname, './src/routes'),
$shared: path.resolve(__dirname, './src/shared'),
$entities: path.resolve(__dirname, './src/entities'),
$widgets: path.resolve(__dirname, './src/widgets'),
$features: path.resolve(__dirname, './src/features'),
$app: path.resolve(__dirname, './src/app'),
$routes: path.resolve(__dirname, './src/routes'),
'@': path.resolve(__dirname, '.'),
},
},
})
});
+1 -1
View File
@@ -1 +1 @@
/// <reference types="@vitest/browser-playwright" />
/// <reference types="@vitest/browser-playwright" />