mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
update: platform derived from profile.
This commit is contained in:
@@ -3,6 +3,7 @@ import type { Component } from 'svelte';
|
||||
import { browser } from '$app/environment';
|
||||
import { get, writable } from 'svelte/store';
|
||||
import { Submit, trackEvent } from '$lib/actions/analytics';
|
||||
import { resolvedProfile } from '$lib/profiles/index.svelte';
|
||||
import FeedbackNps from '$lib/components/feedback/feedbackNPS.svelte';
|
||||
import FeedbackGeneral from '$lib/components/feedback/feedbackGeneral.svelte';
|
||||
|
||||
@@ -29,12 +30,12 @@ export type FeedbackOption = {
|
||||
export const feedbackOptions: FeedbackOption[] = [
|
||||
{
|
||||
type: 'general',
|
||||
desc: `Appwrite evolves with your input. Share your thoughts and help us improve Appwrite.`,
|
||||
desc: `${resolvedProfile.platform} evolves with your input. Share your thoughts and help us improve ${resolvedProfile.platform}.`,
|
||||
component: FeedbackGeneral
|
||||
},
|
||||
{
|
||||
type: 'nps',
|
||||
desc: `How likely are you to recommend Appwrite to a friend or colleague?`,
|
||||
desc: `How likely are you to recommend ${resolvedProfile.platform} to a friend or colleague?`,
|
||||
component: FeedbackNps
|
||||
}
|
||||
];
|
||||
|
||||
+2
-1
@@ -48,6 +48,7 @@
|
||||
} from '../(suggestions)';
|
||||
import EmptySheetCards from './layout/emptySheetCards.svelte';
|
||||
import IconAI from '../(suggestions)/icon/aiForButton.svelte';
|
||||
import { resolvedProfile } from '$lib/profiles/index.svelte';
|
||||
|
||||
export let data: PageData;
|
||||
|
||||
@@ -346,7 +347,7 @@
|
||||
<EmptySheetCards
|
||||
icon={IconBookOpen}
|
||||
title="Documentation"
|
||||
subtitle="Read the Appwrite docs"
|
||||
subtitle="Read the {resolvedProfile.platform} docs"
|
||||
href="https://appwrite.io/docs/products/databases" />
|
||||
{/if}
|
||||
{/snippet}
|
||||
|
||||
+3
-2
@@ -45,6 +45,7 @@
|
||||
import { realtime } from '$lib/stores/sdk';
|
||||
import { invalidate } from '$app/navigation';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { resolvedProfile } from '$lib/profiles/index.svelte';
|
||||
|
||||
let {
|
||||
data
|
||||
@@ -340,7 +341,7 @@
|
||||
<EmptySheetCards
|
||||
icon={IconBookOpen}
|
||||
title="Documentation"
|
||||
subtitle="Read the Appwrite docs"
|
||||
subtitle="Read the {resolvedProfile.platform} docs"
|
||||
href="https://appwrite.io/docs/products/databases/tables#indexes" />
|
||||
{/if}
|
||||
{/snippet}
|
||||
@@ -390,7 +391,7 @@
|
||||
<EmptySheetCards
|
||||
icon={IconBookOpen}
|
||||
title="Documentation"
|
||||
subtitle="Read the Appwrite docs"
|
||||
subtitle="Read the {resolvedProfile.platform} docs"
|
||||
href="https://appwrite.io/docs/products/databases/tables#columns" />
|
||||
{/if}
|
||||
{/snippet}
|
||||
|
||||
@@ -359,7 +359,7 @@
|
||||
<Typography.Title size="s"
|
||||
>Create API key</Typography.Title>
|
||||
<Typography.Text
|
||||
>Connect your server or backend to Appwrite</Typography.Text>
|
||||
>Connect your server or backend to {resolvedProfile.platform}</Typography.Text>
|
||||
</Layout.Stack>
|
||||
<div class="arrow-icon">
|
||||
<Icon icon={IconArrowRight} size="s" />
|
||||
|
||||
Reference in New Issue
Block a user