toot-script-condivisione-su.../src/layouts/layout.astro

151 lines
3.1 KiB
Plaintext
Raw Normal View History

2023-03-27 19:17:35 +02:00
---
/*!
2023-09-02 16:17:15 +02:00
* This file is part of Share₂Fedi
* https://github.com/kytta/share2fedi
*
* SPDX-FileCopyrightText: © 2023 Nikita Karamov <me@kytta.dev>
* SPDX-License-Identifier: AGPL-3.0-only
2023-03-27 19:17:35 +02:00
*/
2023-03-27 19:22:41 +02:00
import "@styles/main.scss";
2023-03-27 19:17:35 +02:00
2023-09-02 17:58:13 +02:00
import LanguageSelect from "@components/language-select.astro";
import Licence from "@components/licence.html";
import Privacy from "@components/privacy.html";
2023-09-02 23:59:09 +02:00
import package_ from "../../package.json";
2023-03-27 19:17:35 +02:00
---
2023-08-26 15:24:31 +02:00
<!doctype html>
2023-03-27 19:17:35 +02:00
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
2023-09-02 22:01:49 +02:00
<title>Share₂Fedi</title>
2023-03-27 19:17:35 +02:00
<meta
name="description"
content="Share₂Fedi is a share page for Mastodon, Misskey, Friendica, and others. Type in your post text and the instance URL and click Publish!"
data-translate="metaDescription"
data-translate-attribute="content"
2023-03-27 19:17:35 +02:00
/>
<link
rel="canonical"
href={Astro.url}
/>
2023-09-02 19:22:30 +02:00
<meta
property="og:title"
content="Share₂Fedi, a share page for the Fediverse"
/>
<meta
property="og:type"
content="website"
/>
<meta
property="og:image"
content="/banner.png"
/>
<meta
property="og:url"
content={`${Astro.url}banner.png`}
/>
2023-03-27 19:17:35 +02:00
<link
rel="icon"
href="/favicon.ico"
sizes="32x32"
2023-03-27 19:17:35 +02:00
/>
<link
rel="icon"
href="/icon.svg"
type="image/svg+xml"
/>
<link
rel="apple-touch-icon"
href="/apple-touch-icon.png"
/>
<link
rel="manifest"
href="/site.webmanifest"
/>
<meta
name="generator"
2023-08-26 15:38:13 +02:00
content={Astro.generator}
2023-03-27 19:17:35 +02:00
/>
2023-09-02 23:59:09 +02:00
<meta
itemprop="version"
content={package_.version}
/>
2023-03-27 19:17:35 +02:00
</head>
2023-09-02 17:58:13 +02:00
<header>
<img
src="/logo.svg"
alt="Share2Fedi"
width="195"
height="60"
/>
<LanguageSelect />
</header>
2023-03-27 19:17:35 +02:00
<body>
2023-09-02 17:58:13 +02:00
<main>
<slot />
</main>
<aside>
<p data-translate="description">
Share₂Fedi is an instance-agnostic share page for
<a
href="https://en.wikipedia.org/wiki/Fediverse"
data-translate="fediverse"
>the Fediverse</a
>. With it, you can post to various federated platforms from a single
page.
</p>
<p><b data-translate="supportedProjects">Supported projects:</b></p>
<ul>
<li>
Mastodon (<span data-translate="incl">incl.</span>&#x0020;<span
data-enumerate="Hometown,Fedibird,GlitchCafé"
>Hometown, Fedibird, GlitchCafé</span
>)
2023-09-02 17:58:13 +02:00
</li>
<li>
Misskey (<span data-translate="incl">incl.</span>&#x0020;<span
data-enumerate="Firefish,Calckey,FoundKey,Meisskey"
>Firefish, Calckey, FoundKey, Meisskey</span
>)
2023-09-02 17:58:13 +02:00
</li>
<li>Friendica</li>
<li>Hubzilla</li>
<li>GNU Social</li>
</ul>
<p data-translate="credits">
Share₂Fedi is developed and maintained by
<a
href="https://www.kytta.dev/"
data-translate="nikita"
>Nikita Karamov</a
>. Source code is
<a
href="https://github.com/kytta/share2fedi"
data-translate="onGitHub"
>on GitHub</a
>. Hosted with
<a href="https://vercel.com">Vercel</a>.
<a
href="https://stats.uptimerobot.com/QOXj3uXPDX"
data-translate="statusPage"
>Status page</a
>.
</p>
<Licence />
<Privacy />
</aside>
2023-03-27 19:17:35 +02:00
</body>
2023-09-02 17:58:13 +02:00
2023-03-27 19:17:35 +02:00
</html>