feat: add input

This commit is contained in:
2025-06-03 12:48:49 +03:00
parent 88176e3546
commit cb799f8057
4 changed files with 182 additions and 26 deletions

View File

@@ -1,3 +1,4 @@
'use client';
import s from './offer.module.scss';
import { Button, Mark, Input } from '@shared/ui';
@@ -11,8 +12,11 @@ import gridFour from '@public/images/grid-4.png';
import gridFive from '@public/images/grid-5.png';
import gridSix from '@public/images/grid-6.png';
import bgForm from '@public/images/bg-form.jpg';
import { useState } from 'react';
export default function Offer() {
const [name, setName] = useState('');
return (
<section className={s.Offer}>
<h2 className={s.Title}>
@@ -38,7 +42,12 @@ export default function Offer() {
</ul>
<div className={s.RowForm}>
<Input type='text' placeholder='+79991234567' />
<Input type='text' placeholder='Ваше имя' />
<Input
type='text'
placeholder=''
value={name}
onChange={(e) => setName(e.target.value)}
/>
<Button>Узнать подробности</Button>
</div>
<div className={s.Inner}>