diff --git a/public/images/scheme/map.png b/public/images/scheme/map.png new file mode 100644 index 0000000..46c6fb4 Binary files /dev/null and b/public/images/scheme/map.png differ diff --git a/public/images/video/paper_tear.png b/public/images/video/paper_tear.png new file mode 100644 index 0000000..ad5b88e Binary files /dev/null and b/public/images/video/paper_tear.png differ diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 6ab515a..d85ba32 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -4,16 +4,19 @@ interface ButtonProps { children: React.ReactNode; onClick?: () => void; className?: string; - variant?: "default" | "blue"; + variant?: "default" | "blue" | "blue_alt"; + shadowEnabled?: boolean; } export default function Button(props: ButtonProps) { - const { variant = "default" } = props; + const { variant = "default", shadowEnabled = true } = props; const getButtonStyles = () => { switch (variant) { case "blue": return "bg-[#1068B0] text-white hover:bg-[#0e5a9c]"; + case "blue_alt": + return "bg-[#1068B0] text-black hover:bg-[#0e5a9c]"; default: return "bg-white text-black hover:bg-gray-100"; } @@ -23,21 +26,25 @@ export default function Button(props: ButtonProps) {
{/* Shadow element */} -
+ {shadowEnabled && ( +
+ )} {/* Button */} diff --git a/src/components/Info.tsx b/src/components/Info.tsx index 87a5fc3..4a5ffa7 100644 --- a/src/components/Info.tsx +++ b/src/components/Info.tsx @@ -64,7 +64,9 @@ function Info() {
- +
diff --git a/src/components/Scheme.tsx b/src/components/Scheme.tsx new file mode 100644 index 0000000..4bfd7cd --- /dev/null +++ b/src/components/Scheme.tsx @@ -0,0 +1,45 @@ +/* eslint-disable @next/next/no-img-element */ +import { fluxgore, gothampro } from "@/utils/fonts"; +import Button from "./Button"; + +function Scheme() { + return ( +
+
+
+

+ схема фестиваля +

+ +

+ [Выберите площадку, чтобы увидеть расписание] +

+
+ + Festival Map + +
+ + + +
+
+
+ ); +} + +export default Scheme; diff --git a/src/components/Video.tsx b/src/components/Video.tsx index 46de481..970989d 100644 --- a/src/components/Video.tsx +++ b/src/components/Video.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @next/next/no-img-element */ import { fluxgore, gothampro } from "@/utils/fonts"; interface VideoStatsProps { @@ -25,7 +26,7 @@ function VideoStats(props: VideoStatsProps) { function Video() { return (
+ Lines +
@@ -64,7 +71,7 @@ function Video() { >
-
+
+ + Paper tear
); } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 987679f..c28d69e 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,6 +1,7 @@ import Cover from "@/components/Cover"; import Info from "@/components/Info"; import Navbar from "@/components/Navbar"; +import Scheme from "@/components/Scheme"; import Video from "@/components/Video"; export default function Home() { @@ -11,6 +12,7 @@ export default function Home() {