diff --git a/src/components/AdBanner.astro b/src/components/AdBanner.astro
index e38cf6d..10b01cf 100644
--- a/src/components/AdBanner.astro
+++ b/src/components/AdBanner.astro
@@ -1,86 +1,23 @@
---
interface Props {
- size: "leaderboard" | "rectangle" | "tile";
+ size?: "leaderboard" | "rectangle" | "tile";
}
-
-const { size } = Astro.props;
-
-const ads = [
- {
- href: "https://kjuzv.com/g/q6gfnfvsq067a6d0fce8a804937a48/?erid=MvGzQC98w3Z1gMq1kx5ACoy5",
- label: "Читай-город — книги со скидкой",
- sublabel: "Более 3 млн книг с доставкой по всей России",
- cta: "Купить",
- ctaMobile: "Купить",
- },
-];
-
-const ad = ads[Math.floor(Math.random() * ads.length)];
-
-const specs = {
- leaderboard: { class: "w-full h-[90px]", horizontal: true },
- rectangle: { class: "w-full max-w-[300px] h-[250px]", horizontal: false },
- tile: { class: "w-full h-[250px]", horizontal: false },
-};
-
-const { class: sizeClass, horizontal } = specs[size];
---
-
+
+
+
+
+