2022-03-27 13:32:40 +03:00
|
|
|
|
import styles from './Solution.module.css'
|
|
|
|
|
import React from "react"
|
|
|
|
|
import Link from 'next/link';
|
|
|
|
|
|
2022-03-27 17:33:29 +03:00
|
|
|
|
interface SolutionIE{
|
|
|
|
|
onAboutClick: () => void
|
|
|
|
|
onBuyClick?: ()=> void
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const Solution:React.FC<SolutionIE> = (props) =>{
|
2022-03-27 13:32:40 +03:00
|
|
|
|
return(
|
2022-03-27 17:33:29 +03:00
|
|
|
|
<div className={styles.solution} id="buy">
|
2022-03-27 13:32:40 +03:00
|
|
|
|
<h1 >Что мы предлагаем</h1>
|
|
|
|
|
<h2 >Приедем к вам - соберем квест</h2>
|
|
|
|
|
<div className={styles.carousel} >
|
|
|
|
|
<div className={styles.card}>
|
|
|
|
|
<h2 style={{alignSelf: "center"}}>Спаси корабль</h2>
|
|
|
|
|
<div>Вы-пилот корабля, вам надо спасти <br/> корабль и доставить ценный груз на <br/> другую планету.</div>
|
|
|
|
|
<div className={styles.card_grade}>
|
|
|
|
|
<div>Сложность:</div>
|
|
|
|
|
<div>
|
|
|
|
|
<img src="/images/star.svg"/>
|
|
|
|
|
<img src="/images/star.svg"/>
|
|
|
|
|
<img src="/images/star.svg"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className={styles.card_grade}>
|
|
|
|
|
<div>Сюжет:</div>
|
|
|
|
|
<div>
|
|
|
|
|
<img src="/images/star.svg"/>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-03-27 17:33:29 +03:00
|
|
|
|
<button onClick={()=>props.onAboutClick()} className={styles.btn}>Подробнее</button>
|
|
|
|
|
<Link href={"#contacts"}>
|
2022-03-27 13:32:40 +03:00
|
|
|
|
<button className={styles.btn}>купить</button>
|
|
|
|
|
|
2022-03-27 17:33:29 +03:00
|
|
|
|
</Link>
|
|
|
|
|
|
2022-03-27 13:32:40 +03:00
|
|
|
|
</div>
|
2022-05-03 21:34:11 +03:00
|
|
|
|
<div className={styles.card + " " + styles.cardVisible} style={{justifyContent: "center"}}>
|
2022-03-27 13:32:40 +03:00
|
|
|
|
Coming soon...
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|