feat: add slider
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import s from './license.module.scss';
|
||||
|
||||
import { Button, Input, Mark } from '@shared/ui';
|
||||
import { LicenseSlider } from '@/widgets';
|
||||
import Image from 'next/image';
|
||||
|
||||
import bgForm from '@public/images/bg-form.jpg';
|
||||
import Image from 'next/image';
|
||||
import emptyPaper from '@public/svg/empty-paper.svg';
|
||||
|
||||
export default function License() {
|
||||
return (
|
||||
@@ -12,7 +14,9 @@ export default function License() {
|
||||
Наши услуги <Mark>подтверждены лицензиями</Mark> и сертификатами
|
||||
</h2>
|
||||
|
||||
<div className={s.Slider}>Slider here</div>
|
||||
<div className={s.Slider}>
|
||||
<LicenseSlider images={slides} />
|
||||
</div>
|
||||
|
||||
<div className={s.Form}>
|
||||
<div className={s.Offer}>
|
||||
@@ -45,3 +49,26 @@ export default function License() {
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
const slides = [
|
||||
{
|
||||
id: '0',
|
||||
name: '',
|
||||
image: emptyPaper,
|
||||
},
|
||||
{
|
||||
id: '1',
|
||||
name: '',
|
||||
image: emptyPaper,
|
||||
},
|
||||
{
|
||||
id: '2',
|
||||
name: '',
|
||||
image: emptyPaper,
|
||||
},
|
||||
{
|
||||
id: '3',
|
||||
name: '',
|
||||
image: emptyPaper,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user