diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png new file mode 100644 index 0000000..7b65e30 Binary files /dev/null and b/public/android-chrome-192x192.png differ diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png new file mode 100644 index 0000000..5437a31 Binary files /dev/null and b/public/android-chrome-512x512.png differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 0000000..b1dfbef Binary files /dev/null and b/public/apple-touch-icon.png differ diff --git a/public/events/cart.png b/public/events/cart.png index 5cc6d63..e23c89f 100644 Binary files a/public/events/cart.png and b/public/events/cart.png differ diff --git a/public/events/moscow_fight.png b/public/events/moscow_fight.png index f8514c2..b3e63d1 100644 Binary files a/public/events/moscow_fight.png and b/public/events/moscow_fight.png differ diff --git a/public/events/moto.png b/public/events/moto.png index 6b2e6bc..433a40d 100644 Binary files a/public/events/moto.png and b/public/events/moto.png differ diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 0000000..19f7d0e Binary files /dev/null and b/public/favicon-16x16.png differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png new file mode 100644 index 0000000..a0d965b Binary files /dev/null and b/public/favicon-32x32.png differ diff --git a/public/favicon.ico b/public/favicon.ico index 718d6fe..4e3b29a 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/preview.jpg b/public/preview.jpg new file mode 100644 index 0000000..97c55a9 Binary files /dev/null and b/public/preview.jpg differ diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/src/components/Events.tsx b/src/components/Events.tsx index d83bb04..4bd2d97 100644 --- a/src/components/Events.tsx +++ b/src/components/Events.tsx @@ -2,7 +2,7 @@ import { fluxgore, gothampro } from "@/utils/fonts"; import Button from "./Button"; -interface EventCardProps { +interface EventCardProps extends React.HTMLAttributes { image: string; title: string; description: string; @@ -11,7 +11,10 @@ interface EventCardProps { function EventCard(props: EventCardProps) { return ( -
+
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index ff37f7b..99eaa64 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,8 +1,19 @@ import { fluxgore, gothampro } from "@/utils/fonts"; import Link from "next/link"; +import { useCallback } from "react"; /* eslint-disable @next/next/no-img-element */ function Footer() { + const scrollToElement = useCallback((elementId: string) => { + const element = document.getElementById(elementId); + if (element) { + element.scrollIntoView({ + behavior: "smooth", + block: "start", + }); + } + }, []); + return (
@@ -19,7 +30,7 @@ function Footer() {
  • - scrollToElement("yuka")} + className={`${gothampro.className} text-sm md:text-base text-[#E6E6E6] opacity-60 hover:text-blue-500 transition-colors duration-200 text-left`} > YUKA Drive Fest - + ЭКСПО - scrollToElement("moto")} + className={`${gothampro.className} text-sm md:text-base text-[#E6E6E6] opacity-60 hover:text-blue-500 transition-colors duration-200 text-left`} > Мотокросс - - +
@@ -108,30 +119,18 @@ function Footer() { ИНФОРМАЦИЯ
- scrollToElement("info")} + className={`${gothampro.className} text-sm md:text-base text-[#E6E6E6] opacity-60 hover:text-blue-500 transition-colors duration-200 text-left`} > О фестивале - + Программа - - Билеты - - - Контакты -
@@ -148,24 +147,18 @@ function Footer() { > Регистрация - scrollToElement("partners")} + className={`${gothampro.className} text-sm md:text-base text-[#E6E6E6] opacity-60 hover:text-blue-500 transition-colors duration-200 text-left`} > Партнеры - + Пресса - - Волонтерство -
diff --git a/src/components/Info.tsx b/src/components/Info.tsx index 2c900a0..852526d 100644 --- a/src/components/Info.tsx +++ b/src/components/Info.tsx @@ -4,7 +4,7 @@ import Button from "./Button"; function Info() { return ( -
+