Skip to content

Commit e931fad

Browse files
committed
fix: wizard copies.
1 parent 891c580 commit e931fad

File tree

5 files changed

+19
-15
lines changed

5 files changed

+19
-15
lines changed

src/routes/(console)/project-[region]-[project]/overview/platforms/createAndroid.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ const val APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.region, page.
160160
<Fieldset legend="Clone starter">
161161
<Layout.Stack gap="l">
162162
<Typography.Text variant="m-500">
163-
1. Clone the starter kit from GitHub using the terminal or Android
164-
Studio.
163+
1. If you're starting a new project, you can clone our starter kit from
164+
GitHub using the terminal, VSCode or Android Studio.
165165
</Typography.Text>
166166

167167
<!-- Temporary fix: Remove this div once Code splitting issue with stack spacing is resolved -->

src/routes/(console)/project-[region]-[project]/overview/platforms/createApple.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ APPWRITE_PUBLIC_ENDPOINT: "${sdk.forProject(page.params.region, page.params.proj
186186
<Fieldset legend="Clone starter">
187187
<Layout.Stack gap="l">
188188
<Typography.Text variant="m-500">
189-
1. Clone the starter kit from GitHub using the terminal or XCode.
189+
1. If you're starting a new project, you can clone our starter kit from
190+
GitHub using the terminal or XCode.
190191
</Typography.Text>
191192

192193
<!-- Temporary fix: Remove this div once Code splitting issue with stack spacing is resolved -->

src/routes/(console)/project-[region]-[project]/overview/platforms/createFlutter.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ static const String APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.reg
260260
<Fieldset legend="Clone starter">
261261
<Layout.Stack gap="l">
262262
<Typography.Text variant="m-500">
263-
1. Clone the starter kit from GitHub using the terminal, Android Studio
264-
or VSCode.
263+
1. If you're starting a new project, you can clone our starter kit from
264+
GitHub using the terminal, VSCode or Android Studio.
265265
</Typography.Text>
266266

267267
<!-- Temporary fix: Remove this div once Code splitting issue with stack spacing is resolved -->

src/routes/(console)/project-[region]-[project]/overview/platforms/createReactNative.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import ConnectionLine from './components/ConnectionLine.svelte';
2626
import OnboardingPlatformCard from './components/OnboardingPlatformCard.svelte';
2727
import { PlatformType } from '@appwrite.io/console';
28-
import { isCloud } from '$lib/system';
2928
3029
let showExitModal = false;
3130
let isPlatformCreated = false;
@@ -36,9 +35,7 @@
3635
const gitCloneCode =
3736
'\ngit clone https://github.com/appwrite/starter-for-react-native\ncd starter-for-react-native\n';
3837
39-
const updateConfigCode = isCloud
40-
? `const APPWRITE_PROJECT_ID = "${projectId}";`
41-
: `const APPWRITE_PROJECT_ID = "${projectId}";
38+
const updateConfigCode = `const APPWRITE_PROJECT_ID = "${projectId}";
4239
const APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.region, page.params.project).client.config.endpoint}";
4340
`;
4441
@@ -212,7 +209,8 @@ const APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.region, page.para
212209
<Fieldset legend="Clone starter">
213210
<Layout.Stack gap="l">
214211
<Typography.Text variant="m-500">
215-
1. Clone the starter kit from GitHub using the terminal or VSCode.
212+
1. If you're starting a new project, you can clone our starter kit from
213+
GitHub using the terminal or VSCode.
216214
</Typography.Text>
217215

218216
<!-- Temporary fix: Remove this div once Code splitting issue with stack spacing is resolved -->
@@ -221,9 +219,11 @@ const APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.region, page.para
221219
</div>
222220

223221
<Typography.Text variant="m-500"
224-
>2. Open the file <InlineCode
222+
>2. Add your Appwrite credentials to <InlineCode
225223
size="s"
226-
code="lib/constants/appwrite.js" /> and update the configuration settings.</Typography.Text>
224+
code=".env.example" /> then rename it to <InlineCode
225+
size="s"
226+
code=".env" /> if needed.</Typography.Text>
227227

228228
<!-- Temporary fix: Remove this div once Code splitting issue with stack spacing is resolved -->
229229
<div class="pink2-code-margin-fix">

src/routes/(console)/project-[region]-[project]/overview/platforms/createWeb.svelte

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ ${prefix}APPWRITE_ENDPOINT = "${sdk.forProject(page.params.region, page.params.p
274274
<Fieldset legend="Clone starter">
275275
<Layout.Stack gap="l">
276276
<Typography.Text variant="m-500">
277-
1. Clone the starter kit from GitHub using the terminal or VSCode.
277+
1. If you're starting a new project, you can clone our starter kit from
278+
GitHub using the terminal or VSCode.
278279
</Typography.Text>
279280

280281
<!-- Temporary fix: Remove this div once Code splitting issue with stack spacing is resolved -->
@@ -293,9 +294,11 @@ ${prefix}APPWRITE_ENDPOINT = "${sdk.forProject(page.params.region, page.params.p
293294
to reflect the values below:</Typography.Text>
294295
{:else}
295296
<Typography.Text variant="m-500"
296-
>2. Rename <InlineCode size="s" code=".env.example" /> into <InlineCode
297+
>2. Add your Appwrite credentials to <InlineCode
297298
size="s"
298-
code=".env" /> and update the values.</Typography.Text>
299+
code=".env.example" /> then rename it to <InlineCode
300+
size="s"
301+
code=".env" /> if needed.</Typography.Text>
299302
{/if}
300303

301304
<!-- Temporary fix: Remove this div once Code splitting issue with stack spacing is resolved -->

0 commit comments

Comments
 (0)