-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
90 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<script> | ||
import { Button } from '@/components/ui/button'; | ||
let { class: className = '' } = $props(); | ||
const links = [ | ||
{ label: 'Donate', href: 'https://opencollective.com/mwmbl' }, | ||
{ label: 'Source Code', href: 'https://github.com/mwmbl' }, | ||
{ label: 'Book', href: 'https://book.mwmbl.org/' }, | ||
{ label: 'Blog', href: 'https://blog.mwmbl.org/' }, | ||
{ label: 'YouTube', href: 'https://www.youtube.com/@mwmbl' } | ||
]; | ||
</script> | ||
|
||
<section class="mt-2 flex flex-col gap-1"> | ||
<div class="flex flex-row items-center text-sm font-medium text-unemphasized-2 {className}"> | ||
{#each links as link} | ||
<Button | ||
variant="link" | ||
href={link.href} | ||
class="h-fit px-0 py-0 text-sm font-medium text-unemphasized-2" | ||
target="_blank" | ||
> | ||
{link.label} | ||
</Button> | ||
{#if links.indexOf(link) < links.length - 1} | ||
<span class="px-1">•</span> | ||
{/if} | ||
{/each} | ||
</div> | ||
<p class="flex flex-row text-sm text-unemphasized-2 {className}"> | ||
© Mwmbl 2024, under the AGPL-3.0 license | ||
</p> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<script> | ||
import { Button } from '@/components/ui/button'; | ||
import RiDiscordFill from '~icons/ri/discord-fill'; | ||
import PhMatrixLogoBold from '~icons/ph/matrix-logo-bold'; | ||
</script> | ||
|
||
<div | ||
class="rounded-2xl border-2 border-black border-opacity-25 bg-opacity-25 bg-brand-gradient p-5" | ||
> | ||
<h2 class="font-display mb-3 text-xl font-extrabold">Join the Mwmbl community</h2> | ||
<p class="text-unemphasized-2 dark:text-white/70"> | ||
Mwmbl is powered by you – our community. We're a friendly bunch and you can find us on Matrix | ||
and Discord. | ||
</p> | ||
<p class="mt-1 font-semibold text-unemphasized-2 dark:text-white/70">Join the community now!</p> | ||
<div class="mt-3 flex flex-row gap-3"> | ||
<Button href="https://matrix.to/#/#mwmbl:matrix.org" target="_blank"> | ||
<PhMatrixLogoBold class="mr-2" /> | ||
Matrix | ||
</Button> | ||
<Button | ||
href="https://discord.gg/2BGSUYFdkD" | ||
class="bg-primary/15 text-black hover:bg-primary/25 dark:text-white" | ||
target="_blank" | ||
> | ||
<RiDiscordFill class="mr-2" /> | ||
Discord | ||
</Button> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters