Compare commits

...

2 commits

4 changed files with 28 additions and 17 deletions

View file

@ -3,6 +3,7 @@ const icons: Record<string, string> = {
none: 'material-symbols:link', none: 'material-symbols:link',
'steamcommunity.com': 'simple-icons:steam', 'steamcommunity.com': 'simple-icons:steam',
'steampowered.com': 'simple-icons:steam', 'steampowered.com': 'simple-icons:steam',
't.me': 'simple-icons:telegram',
'twitter.com': 'simple-icons:x', 'twitter.com': 'simple-icons:x',
'x.com': 'simple-icons:x', 'x.com': 'simple-icons:x',
'github.com': 'simple-icons:github', 'github.com': 'simple-icons:github',

View file

@ -1,6 +1,6 @@
<script lang="ts"> <script lang="ts">
import SocialButton from '$lib/components/SocialButton.svelte'; import SocialButton from '$lib/components/SocialButton.svelte';
import { PUBLIC_TS_DISCORD } from '$env/static/public'; import { PUBLIC_TS_DISCORD, PUBLIC_TS_TELEGRAM } from '$env/static/public';
import BlogCard, { BlogCardSize } from '$src/lib/components/BlogCard.svelte'; import BlogCard, { BlogCardSize } from '$src/lib/components/BlogCard.svelte';
import { page } from '$app/state'; import { page } from '$app/state';
import type { PageData } from './$types'; import type { PageData } from './$types';
@ -67,6 +67,7 @@
<div class="flex flex-col items-center justify-start gap-4"> <div class="flex flex-col items-center justify-start gap-4">
<div class="flex flex-row flex-wrap items-start justify-center gap-4"> <div class="flex flex-row flex-wrap items-start justify-center gap-4">
<SocialButton class="w-60 shrink-0" href={PUBLIC_TS_DISCORD}>Сообщество</SocialButton> <SocialButton class="w-60 shrink-0" href={PUBLIC_TS_DISCORD}>Сообщество</SocialButton>
<SocialButton class="w-60 shrink-0" href={PUBLIC_TS_TELEGRAM}>Канал</SocialButton>
<SocialButton class="w-60 shrink-0" href="https://github.com/TeaSanctuary/"> <SocialButton class="w-60 shrink-0" href="https://github.com/TeaSanctuary/">
GitHub GitHub
</SocialButton> </SocialButton>
@ -113,13 +114,13 @@
prose-p:mt-0 prose-p:mt-0
prose-p:mb-8 prose-p:mb-8
bg-slate-50 bg-slate-50
px-2
pt-8 pt-8
pb-4 pb-4
text-base text-base
text-slate-950 text-slate-950 sm:px-4 sm:text-xl"
px-2 sm:px-4 sm:text-xl"
> >
<section class="flex max-w-5xl flex-col flex-nowrap mx-auto"> <section class="mx-auto flex max-w-5xl flex-col flex-nowrap">
<svelte:component this={data.content} /> <svelte:component this={data.content} />
</section> </section>
</article> </article>

View file

@ -1,5 +1,4 @@
<script lang="ts"> <script lang="ts">
import WarningBlock from '$lib/components/WarningBlock.svelte';
import SocialHyperlink from '$src/lib/components/SocialHyperlink.svelte'; import SocialHyperlink from '$src/lib/components/SocialHyperlink.svelte';
</script> </script>
@ -15,17 +14,31 @@
</div> </div>
</section> </section>
<WarningBlock>Страница находится в разработке!</WarningBlock>
<section class="flex justify-center"> <section class="flex justify-center">
<div <div
class="flex w-5xl max-w-screen flex-col flex-nowrap gap-12 p-2 px-2 pt-12 pb-12 text-base sm:text-xl" class="flex w-5xl max-w-screen flex-col flex-nowrap gap-12 p-2 px-2 pt-12 pb-12 text-base sm:text-xl"
> >
<section> <section>
На данный момент вы можете связаться с администрацией сайта и участниками команды через На данный момент вы можете связаться с администрацией сайта и участниками команды
<SocialHyperlink href="https://teasanctuary.ru/discord"> следующими способами:
нашу гильдию в Discord <ol class="list-inside list-decimal">
</SocialHyperlink>: <li>
Через
<SocialHyperlink href="https://teasanctuary.ru/discord">
нашу гильдию в Discord
</SocialHyperlink>
</li>
<li>
Через
<SocialHyperlink href="https://t.me/tea_sanctuary">
публичный канал Tea Sanctuary в Telegram
</SocialHyperlink>
</li>
<li>
По персональным контактам, указанным на странице
<SocialHyperlink href="/team">Команда</SocialHyperlink>.
</li>
</ol>
</section> </section>
<iframe <iframe
src="https://discord.com/widget?id=1176141874390638662&theme=dark" src="https://discord.com/widget?id=1176141874390638662&theme=dark"
@ -37,9 +50,5 @@
frameborder="0" frameborder="0"
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"
></iframe> ></iframe>
<section>
Вы также можете ознакомиться с социальными сетями каждого отдельного участника команды
на странице <SocialHyperlink href="/team">Команда</SocialHyperlink>.
</section>
</div> </div>
</section> </section>

View file

Before

Width:  |  Height:  |  Size: 231 KiB

After

Width:  |  Height:  |  Size: 231 KiB

Before After
Before After