Skip to content

Commit

Permalink
chore: no index pages
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Nov 11, 2024
1 parent a4552fe commit 9d5c7bc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
6 changes: 3 additions & 3 deletions src/components/Arcade/GameView.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const game = gameList[id];
const sticker = game.sticker as AssetName;
---

<article
class="game-view | relative mb-20 flex h-full w-full transform flex-row rounded-box">
<div class="flex h-full w-full">
<article class="game-view | relative mb-20 h-full w-full transform rounded-box">
<div
class="flex-col:flex-row flex h-full w-full lg:items-start lg:justify-start">
<div class="relative flex flex-1 items-center justify-center">
<FriendsBelow friends={[sticker, sticker, sticker]} offset={3}>
<iframe
Expand Down
12 changes: 9 additions & 3 deletions src/pages/[...path]/arcade.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@ const { lang } = Astro.props;
"KAPLAY Arcade is a videogames website where you can play games and know about them",
keywords: "games, free games, HTML5 games",
}}>
<meta name="robots" content="noindex, nofollow" slot="head" />

<header>
<Navbar />
</header>
<main class="lg:pt-20">
<div class="flex max-h-64 items-center justify-center gap-20 p-20">
<FeaturedGame id={0} />
<FeaturedGame id={1} />
<div>
<h1 class="text-center text-5xl font-bold">Featured games</h1>

<div class="flex flex-wrap items-center justify-center gap-20 p-20">
<FeaturedGame id={0} />
<FeaturedGame id={1} />
</div>
</div>
</main>
</Page>
8 changes: 3 additions & 5 deletions src/pages/[...path]/arcade/[...slug].astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
import Prose from "@/components/Content/Prose.astro";
import SidebarPage from "@/layouts/SidebarPage.astro";
import { getStaticPathsByLocales } from "@/util/path";
import gameList from "@/data/games.json";
import Page from "@/layouts/Page.astro";
import Navbar from "@/components/Land/Navbar.astro";
import GameView from "@/components/Arcade/GameView.astro";
import NavbarPage from "@/layouts/NavbarPage.astro";
Expand All @@ -30,7 +26,9 @@ const { game, lang } = Astro.props;
"KAPLAY Arcade is a videogames website where you can play games and know about them",
keywords: "games, free games, HTML5 games",
}}>
<main class="flex flex-col lg:pt-20">
<meta name="robots" content="noindex, nofollow" slot="head" />

<main class="flex lg:flex-col lg:pt-20">
<GameView id={game.id} />
</main>
</NavbarPage>

0 comments on commit 9d5c7bc

Please sign in to comment.