forked from templates/nextjs-template
refactor: привести проект к стайлгайду
- Убран FC из всех шаблонов и компонентов - Заменён interface на type, .interface.ts на .type.ts - Добавлен паттерн Params/Props/RootAttrs в типы - Деструктуризация пропсов перенесена в тело компонента - Добавлены styles/ и types/ для feature, entity, widget, screen - Добавлен расширенный JSDoc-шаблон с назначением и сценариями - Исправлен баг в index.ts шаблона component - Добавлены .editorconfig, .env.example - Добавлен organizeImports.biome в .vscode/settings.json - Исправлен .gitignore для .env.example - Переписан README под проект-шаблон - Удалён CLAUDE.md
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import { Container, Image, Stack, Text, Title } from '@mantine/core';
|
||||
import type { FC } from 'react';
|
||||
import styles from './styles/home.module.css';
|
||||
|
||||
/**
|
||||
* Главный экран приложения.
|
||||
*/
|
||||
export const HomeScreen: FC = () => {
|
||||
export const HomeScreen = () => {
|
||||
return (
|
||||
<div className={styles.root}>
|
||||
<Container size="sm">
|
||||
|
||||
Reference in New Issue
Block a user