Skip to content

Commit

Permalink
Fix title
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Nov 25, 2023
1 parent 98f7b40 commit 377d8e5
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
Binary file modified apps/web/public/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion apps/web/src/content/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { z, defineCollection } from "astro:content";

const legal = defineCollection({
schema: z.object({}),
schema: z.object({
title: z.string(),
}),
});

export const collections = { legal };
4 changes: 4 additions & 0 deletions apps/web/src/content/legal/privacy.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Privacy Policy
---

# Privacy Policy for Overlayed

Overlayed ("we", "us", or "our") provides this Privacy Policy to inform you of our policies and procedures regarding the collection, use, and disclosure of personal information we may receive from users of our app ("Application"), accessible from [https://overlayed.dev](https://ovlerlayed.dev), and any other services offered by us in connection with our site (any and all of the foregoing the "Services").
Expand Down
4 changes: 4 additions & 0 deletions apps/web/src/content/legal/tos.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Terms of Service
---

# Terms of Service

1. Acceptance of Terms
Expand Down
8 changes: 0 additions & 8 deletions apps/web/src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ const { title } = Astro.props;
<body>
<slot />
<style is:global>
:root {
--accent-gradient: linear-gradient(
45deg,
rgb(88, 101, 242),
rgb(255, 255, 255),
white 60%
);
}
html {
font-family: system-ui, sans-serif;
background: #13151a;
Expand Down
3 changes: 2 additions & 1 deletion apps/web/src/pages/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ type Props = CollectionEntry<"legal">;
const post: Props = Astro.props;
const { Content } = await post.render();
---

<Layout title="overlayed">
<Layout title={`Overlayed - ${post.data.title}`}>
<main class="prose dark:prose-invert mx-auto">
<div class="pt-2 pb-20">
<a href="/" class="inline-block mb-4">
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Link from "../components/link.astro";
import Footer from "../components/footer.astro";
---

<Layout title="overlayed">
<Layout title="Overlayed">
<main
class="min-h-screen w-full flex justify-center items-center flex-col gap-10"
>
Expand Down

0 comments on commit 377d8e5

Please sign in to comment.