transfer_tdms_tcs/frontend/app/page.tsx
2026-02-11 20:49:50 +03:00

28 lines
No EOL
1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// src/app/page.tsx
import { Button, Container, Heading, Text, VStack } from '@chakra-ui/react'
import LineBox from '@/components/LineBox'
export default function Home() {
return (
<Container maxW="100%" py={1} px={3}>
<VStack spacing={1} align="stretch">
<Heading textAlign="center" color="teal.600">
Добро пожаловать в Chakra UI + Next.js
</Heading>
{/* <Text fontSize="xl" textAlign="center">
Приложение настроено по официальной документации
</Text> */}
{/* <Button colorScheme="teal" size="lg" alignSelf="center">
Начать работу
</Button> */}
<LineBox
title="Мой первый компонент"
description="Это переиспользуемый компонент с настраиваемыми пропсами"
buttonText="Нажми меня"
//onButtonClick={handleClick}
/>
</VStack>
</Container>
)
}