Skip to content

Commit

Permalink
update notes
Browse files Browse the repository at this point in the history
  • Loading branch information
thejessewinton committed Nov 5, 2024
1 parent cbc6afc commit 56fbcb0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
5 changes: 4 additions & 1 deletion src/routes/products/auth/(components)/Hero.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import Phone from '../(assets)/phone.png';
import PhoneMobile from '../(assets)/phone-mobile.png';
import { PUBLIC_APPWRITE_DASHBOARD } from '$env/static/public';
</script>

<div
Expand All @@ -23,7 +24,9 @@
</p>

<div class="flex flex-col items-center gap-2 md:flex-row">
<a href="/docs/products/auth" class="web-button !w-full md:!w-fit"> Get started </a>
<a href={PUBLIC_APPWRITE_DASHBOARD} class="web-button !w-full md:!w-fit">
Get started
</a>
<a href="/docs/products/auth" class="web-button is-secondary !w-full md:!w-fit">
Documentation
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/products/auth/(components)/SSR.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async function getLoggedInUser(request) {
</Tooltip>
{/each}
</ul>
<a href={PUBLIC_APPWRITE_DASHBOARD} class="web-button is-secondary mt-8">Learn more</a>
<a href="/docs/sdks#server" class="web-button is-secondary mt-8">Learn more</a>
</div>

<MultiFrameworkCode data={codeSnippets} selected={Framework.NextJs} />
Expand Down
7 changes: 3 additions & 4 deletions src/routes/products/auth/(components)/UseCases.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@
<p class="text-body text-secondary font-medium">
Integrate Auth seamlessly into your projects with your favorite technology.
</p>
<a
href={PUBLIC_APPWRITE_DASHBOARD}
class="web-button is-secondary mt-2 !w-full md:!w-fit">Learn more</a
<a href="/docs/sdks" class="web-button is-secondary mt-2 !w-full md:!w-fit"
>Learn more</a
>
</div>
<div
Expand Down Expand Up @@ -82,7 +81,7 @@
Use Appwrite's migration process to transfer your existing users with a few clicks.
</p>
<a
href={PUBLIC_APPWRITE_DASHBOARD}
href="/docs/advanced/migrations"
class="web-button is-secondary mt-2 !w-full md:!w-fit">Learn more</a
>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<div class="flex flex-wrap items-center gap-3 md:justify-center">
{#each platforms as { label, docs }}
<a
target="_blank"
href={docs}
class="text-caption text-primary flex h-[28px] items-center justify-center rounded-full bg-white/5 px-3 transition-colors hover:bg-gradient-to-br hover:from-transparent hover:to-white/10"
>{label}</a
Expand Down
9 changes: 5 additions & 4 deletions src/routes/products/auth/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,25 @@
<li class="web-u-flex-basis-378">
<a
class="web-card is-normal"
href="/docs/products/auth"
href="/products/messaging"
style="background: rgba(255, 255, 255, 0.04);"
>
<div
class="web-u-padding-inline-8 web-u-padding-block-end-8 flex flex-col gap-2"
>
<div class="flex items-center gap-2">
<img
src="/images/icons/illustrated/dark/auth.png"
src="/images/icons/illustrated/dark/messaging.png"
alt="auth"
width="32"
height="32"
/>
<h4 class="text-body text-primary">Auth</h4>
<h4 class="text-body text-primary">Messaging</h4>
<span class="web-icon-arrow-right ml-auto" aria-hidden="true" />
</div>
<p class="text-sub-body">
Build secure authentication and manage your users.
Use Appwrite messaging to send email, SMS, and push
notifications.
</p>
</div>
</a>
Expand Down

0 comments on commit 56fbcb0

Please sign in to comment.