Compare commits
11 Commits
version_14
...
version_17
| Author | SHA1 | Date | |
|---|---|---|---|
| 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';
|
||||
|
||||
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 (
|
||||
<ThemeProvider
|
||||
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: "#about"},
|
||||
text: "Узнать больше", onClick: () => handleScroll('about')},
|
||||
]}
|
||||
mediaItems={[
|
||||
{
|
||||
@@ -292,6 +303,24 @@ export default function LandingPage() {
|
||||
/>
|
||||
</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://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2891.802373722976!2d45.69634947683935!3d43.315747671128145!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4051d9500b1a03db%3A0x868351b8c2ec1b9b!2z0YPQu9C40YbQsCDQkdC10LnRh9CxINCQ0LvQuCDQnNCit9Cw0LXQstCwLCA1OSwg0JPRg9C20L3QvtC9LCDQp9C70LXQutCwLCDQhtC10YfQvdC10L3QuNC1!5e0!3m2!1sru!2sru!4v1716382000000!5m2!1sru!2sru"
|
||||
width="100%"
|
||||
height="100%"
|
||||
style={{ border: 0 }}
|
||||
allowFullScreen
|
||||
loading="lazy">
|
||||
</iframe>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterMedia
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Dw84RnSEOsmbFdYVY2F51sVH09/uploaded-1779347445955-xba4vklv.jpg"
|
||||
|
||||
Reference in New Issue
Block a user