fix tech in homepage; links

This commit is contained in:
tglide
2023-11-03 16:07:08 +00:00
parent 46f840df70
commit 5f1d166d73
3 changed files with 9 additions and 28 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts"> <script lang="ts">
import Tooltip from '$lib/components/Tooltip.svelte'; import Tooltip from '$lib/components/Tooltip.svelte';
import { currentTheme, themeInUse } from '$routes/+layout.svelte'; import { themeInUse } from '$routes/+layout.svelte';
$: platforms = [ $: platforms = [
{ {

View File

@@ -7,4 +7,4 @@
const rel = isExternal ? 'noopener nofollow' : undefined; const rel = isExternal ? 'noopener nofollow' : undefined;
</script> </script>
<a class="aw-link" {href} {title} {target} {rel}><slot /></a> <a class="aw-link is-inline" {href} {title} {target} {rel}><slot /></a>

View File

@@ -11,6 +11,7 @@
import Tooltip from '$lib/components/Tooltip.svelte'; import Tooltip from '$lib/components/Tooltip.svelte';
import { DEFAULT_DESCRIPTION, DEFAULT_HOST } from '$lib/utils/metadata'; import { DEFAULT_DESCRIPTION, DEFAULT_HOST } from '$lib/utils/metadata';
import { isMobileNavOpen } from '$lib/layouts/Main.svelte'; import { isMobileNavOpen } from '$lib/layouts/Main.svelte';
import Technologies from '$lib/components/Technologies.svelte';
const platforms: Array<{ const platforms: Array<{
name: string; name: string;
@@ -549,27 +550,7 @@
We support many SDKs making Appwrite flexible to your needs and ensuring We support many SDKs making Appwrite flexible to your needs and ensuring
you can code with the language you want at any time. you can code with the language you want at any time.
</p> </p>
<ul <Technologies />
class="u-flex u-flex-wrap u-gap-16 aw-u-margin-block-32-mobile aw-u-margin-block-40-not-mobile"
>
{#each platforms as platform}
<li>
<Tooltip>
<a href={platform.href} class="aw-box-icon">
<img
src={platform.image}
alt="{platform.name} Logo"
width="32"
height="32"
/>
</a>
<svelte:fragment slot="tooltip"
>{platform.name}</svelte:fragment
>
</Tooltip>
</li>
{/each}
</ul>
<a <a
href="/docs/sdks" href="/docs/sdks"
class="aw-button is-secondary" class="aw-button is-secondary"