mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-10 04:22:18 +00:00
fix tech in homepage; links
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import Tooltip from '$lib/components/Tooltip.svelte';
|
||||
import { currentTheme, themeInUse } from '$routes/+layout.svelte';
|
||||
import { themeInUse } from '$routes/+layout.svelte';
|
||||
|
||||
$: platforms = [
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<script lang="ts">
|
||||
export let href: string;
|
||||
export let title: string;
|
||||
export let href: string;
|
||||
export let title: string;
|
||||
|
||||
const isExternal = ['http://', 'https://'].some((prefix) => href.startsWith(prefix));
|
||||
const target = isExternal ? '_blank' : undefined;
|
||||
const rel = isExternal ? 'noopener nofollow' : undefined;
|
||||
const isExternal = ['http://', 'https://'].some((prefix) => href.startsWith(prefix));
|
||||
const target = isExternal ? '_blank' : undefined;
|
||||
const rel = isExternal ? 'noopener nofollow' : undefined;
|
||||
</script>
|
||||
|
||||
<a class="aw-link" {href} {title} {target} {rel}><slot /></a>
|
||||
<a class="aw-link is-inline" {href} {title} {target} {rel}><slot /></a>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
import Tooltip from '$lib/components/Tooltip.svelte';
|
||||
import { DEFAULT_DESCRIPTION, DEFAULT_HOST } from '$lib/utils/metadata';
|
||||
import { isMobileNavOpen } from '$lib/layouts/Main.svelte';
|
||||
import Technologies from '$lib/components/Technologies.svelte';
|
||||
|
||||
const platforms: Array<{
|
||||
name: string;
|
||||
@@ -549,27 +550,7 @@
|
||||
We support many SDKs making Appwrite flexible to your needs and ensuring
|
||||
you can code with the language you want at any time.
|
||||
</p>
|
||||
<ul
|
||||
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>
|
||||
<Technologies />
|
||||
<a
|
||||
href="/docs/sdks"
|
||||
class="aw-button is-secondary"
|
||||
|
||||
Reference in New Issue
Block a user