|
|
|
@ -1,23 +1,17 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import "../app.css"; |
|
|
|
import "../app.css"; |
|
|
|
import Navigation from "$lib/components/Navigation.svelte"; |
|
|
|
import Navigation from "$lib/components/Navigation.svelte"; |
|
|
|
import { onMount } from "svelte"; |
|
|
|
import { page } from "$app/state"; |
|
|
|
import { page } from "$app/stores"; |
|
|
|
|
|
|
|
import { Alert } from "flowbite-svelte"; |
|
|
|
let { children } = $props(); |
|
|
|
import { HammerSolid } from "flowbite-svelte-icons"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Get standard metadata for OpenGraph tags |
|
|
|
// Get standard metadata for OpenGraph tags |
|
|
|
let title = 'Library of Alexandria'; |
|
|
|
let title = 'Library of Alexandria'; |
|
|
|
let currentUrl = $page.url.href; |
|
|
|
let currentUrl = page.url.href; |
|
|
|
|
|
|
|
|
|
|
|
// Get default image and summary for the Alexandria website |
|
|
|
// Get default image and summary for the Alexandria website |
|
|
|
let image = '/screenshots/old_books.jpg'; |
|
|
|
let image = '/screenshots/old_books.jpg'; |
|
|
|
let summary = 'Alexandria is a digital library, utilizing Nostr events for curated publications and wiki pages.'; |
|
|
|
let summary = 'Alexandria is a digital library, utilizing Nostr events for curated publications and wiki pages.'; |
|
|
|
|
|
|
|
|
|
|
|
onMount(() => { |
|
|
|
|
|
|
|
const rect = document.body.getBoundingClientRect(); |
|
|
|
|
|
|
|
// document.body.style.height = `${rect.height}px`; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<svelte:head> |
|
|
|
<svelte:head> |
|
|
|
|