Compare commits
37 Commits
version_14
...
version_22
| Author | SHA1 | Date | |
|---|---|---|---|
| ab32600a1b | |||
| 9206127356 | |||
| 52dc696b3e | |||
| 4c5bb7b524 | |||
| 9fd4b2a8cb | |||
| c77fa0eb24 | |||
| 3d1d6e0860 | |||
| 3f2737df62 | |||
| 35dd388e43 | |||
| 9e4b020c8a | |||
| 44ad334a87 | |||
| e390b3489d | |||
| 9f6996fe4a | |||
| ed8896ce04 | |||
| c4d7736cba | |||
| cb5cdebbef | |||
| 3a34f67cfc | |||
| 83e9e7e0a2 | |||
| ef2c28d89d | |||
| 906c521efc | |||
| 005bea9f7b | |||
| 93a371fab3 | |||
| 41eabd96a8 | |||
| 72df297206 | |||
| 6b8025c993 | |||
| 6a3143464d | |||
| 9bfc597629 | |||
| 38bdfa488e | |||
| 4572a326c9 | |||
| 60d776bbf3 | |||
| 7268088497 | |||
| f7c450414d | |||
| 0aad7b83e5 | |||
| febaa04e9a | |||
| 3b203ed97b | |||
| 03ae71d325 | |||
| 7394739242 |
@@ -16,6 +16,17 @@ import TeamCardSix from '@/components/sections/team/TeamCardSix';
|
|||||||
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
|
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const handleScroll = (id: string) => {
|
||||||
|
const element = document.getElementById(id);
|
||||||
|
if (element) {
|
||||||
|
element.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
const menu = document.querySelector('[data-fullscreen-menu]');
|
||||||
|
if (menu) {
|
||||||
|
(menu as HTMLElement).style.display = 'none';
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="directional-hover"
|
defaultButtonVariant="directional-hover"
|
||||||
@@ -51,7 +62,7 @@ export default function LandingPage() {
|
|||||||
{
|
{
|
||||||
text: "Записаться на приём", href: "https://wa.me/+79291033003?text=Здравствуйте!%20Хочу%20записаться%20на%20приём%20в%20Diamond%20Dent%20Grozny"},
|
text: "Записаться на приём", href: "https://wa.me/+79291033003?text=Здравствуйте!%20Хочу%20записаться%20на%20приём%20в%20Diamond%20Dent%20Grozny"},
|
||||||
{
|
{
|
||||||
text: "Узнать больше", href: "#about"},
|
text: "Узнать больше", onClick: () => handleScroll('about')},
|
||||||
]}
|
]}
|
||||||
mediaItems={[
|
mediaItems={[
|
||||||
{
|
{
|
||||||
@@ -292,6 +303,24 @@ export default function LandingPage() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="map" data-section="map">
|
||||||
|
<section className="py-16 md:py-24">
|
||||||
|
<div className="container mx-auto px-4">
|
||||||
|
<h2 className="text-3xl font-bold mb-8 text-center">Как нас найти</h2>
|
||||||
|
<div className="w-full h-[450px]">
|
||||||
|
<iframe
|
||||||
|
src="https://yandex.ru/map-widget/v1/?ll=45.696349%2C43.315748&mode=search&ol=geo&ouri=ymapsbm1%3A%2F%2Fgeo%3Ftext%3D%25D0%25A3%25D0%25BB.%2520%25D0%25A8%25D0%25B5%25D0%25B9%25D1%2585%2520%25D0%2590%25D0%25BB%25D0%25B8%2520%25D0%259C%25D0%25B8%25D1%2582%25D0%25B0%25D0%25B5%25D0%25B2%25D0%25B0%252C%252059%252C%2520%25D0%2593%25D1%2580%25D0%25BE%25D0%25B7%25D0%25BD%25D1%258B%25D0%25B9&z=17"
|
||||||
|
width="100%"
|
||||||
|
height="100%"
|
||||||
|
style={{ border: 0 }}
|
||||||
|
allowFullScreen
|
||||||
|
loading="lazy">
|
||||||
|
</iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="footer" data-section="footer">
|
<div id="footer" data-section="footer">
|
||||||
<FooterMedia
|
<FooterMedia
|
||||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Dw84RnSEOsmbFdYVY2F51sVH09/uploaded-1779347445955-xba4vklv.jpg"
|
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Dw84RnSEOsmbFdYVY2F51sVH09/uploaded-1779347445955-xba4vklv.jpg"
|
||||||
@@ -311,7 +340,7 @@ export default function LandingPage() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Соцсети", items: [
|
title: "Соцсети", items: [
|
||||||
{ label: "Instagram", href: "https://instagram.com/diamonddent_grozny" },
|
{ label: "Instagram", href: "https://www.instagram.com/diamond_dent_grozny?igsh=MW9scTNkcndjMnR6" },
|
||||||
{ label: "WhatsApp", href: "https://wa.me/+79291033003?text=Здравствуйте!%20Хочу%20записаться%20на%20приём%20в%20Diamond%20Dent%20Grozny" },
|
{ label: "WhatsApp", href: "https://wa.me/+79291033003?text=Здравствуйте!%20Хочу%20записаться%20на%20приём%20в%20Diamond%20Dent%20Grozny" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user