mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
refactor: wizard spacings
This commit is contained in:
@@ -22,5 +22,13 @@
|
||||
noMargin />
|
||||
</div>
|
||||
<p class="common-section">And add this to your project's build.gradle file:</p>
|
||||
<Code label="Groovy" labelIcon="android" language="kotlin" code={example2} withCopy />
|
||||
<div class="u-margin-block-start-16">
|
||||
<Code
|
||||
label="Groovy"
|
||||
labelIcon="android"
|
||||
language="kotlin"
|
||||
code={example2}
|
||||
withCopy
|
||||
noMargin />
|
||||
</div>
|
||||
</WizardStep>
|
||||
|
||||
+10
-7
@@ -21,11 +21,14 @@ val client = Client(context)
|
||||
Now that you've downloaded the SDK, it's time to initialze it. Use your project ID, which
|
||||
can be found in your project settings page.
|
||||
</p>
|
||||
<Code
|
||||
label="Android SDK"
|
||||
labelIcon="android"
|
||||
language="kotlin"
|
||||
{code}
|
||||
withCopy
|
||||
withLineNumbers />
|
||||
<div class="u-margin-block-start-16">
|
||||
<Code
|
||||
label="Android SDK"
|
||||
labelIcon="android"
|
||||
language="kotlin"
|
||||
{code}
|
||||
withCopy
|
||||
withLineNumbers
|
||||
noMargin />
|
||||
</div>
|
||||
</WizardStep>
|
||||
|
||||
@@ -71,9 +71,25 @@
|
||||
</ol>
|
||||
{:else if method === Method.Swift}
|
||||
<p>Add this to your Package.swift file:</p>
|
||||
<Code withCopy withLineNumbers label="Swift" language="swift" code={example1} />
|
||||
<div class="u-margin-block-start-16">
|
||||
<Code
|
||||
withCopy
|
||||
withLineNumbers
|
||||
label="Swift"
|
||||
language="swift"
|
||||
code={example1}
|
||||
noMargin />
|
||||
</div>
|
||||
<p class="common-section">Then add the dependency to your target:</p>
|
||||
<Code withCopy withLineNumbers label="Swift" language="swift" code={example2} />
|
||||
<div class="u-margin-block-start-16">
|
||||
<Code
|
||||
withCopy
|
||||
withLineNumbers
|
||||
label="Swift"
|
||||
language="swift"
|
||||
code={example2}
|
||||
noMargin />
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</WizardStep>
|
||||
|
||||
@@ -20,7 +20,16 @@ let client = Client()
|
||||
Now that you've downloaded the SDK, it's time to initialze it. Use your project ID, which
|
||||
can be found in your project settings page.
|
||||
</p>
|
||||
<Code label="Apple SDK" labelIcon="apple" language="swift" {code} withCopy withLineNumbers />
|
||||
<div class="u-margin-block-start-16">
|
||||
<Code
|
||||
label="Apple SDK"
|
||||
labelIcon="apple"
|
||||
language="swift"
|
||||
{code}
|
||||
withCopy
|
||||
withLineNumbers
|
||||
noMargin />
|
||||
</div>
|
||||
<p class="u-margin-block-start-24">
|
||||
Before sending any API calls to your new Appwrite project, make sure your device or emulator
|
||||
has network access to your Appwrite project's hostname or IP address.
|
||||
|
||||
@@ -15,8 +15,11 @@
|
||||
<div class="u-margin-block-start-16">
|
||||
<Code label="YAML" language="yml" code={example1} withCopy noMargin />
|
||||
</div>
|
||||
|
||||
<p class="common-section">
|
||||
You can also install the SDK using the Dart package manager from your terminal:
|
||||
</p>
|
||||
<Code label="Bash" language="sh" code={example2} withCopy />
|
||||
<div class="u-margin-block-start-16">
|
||||
<Code label="Bash" language="sh" code={example2} withCopy noMargin />
|
||||
</div>
|
||||
</WizardStep>
|
||||
|
||||
@@ -58,13 +58,23 @@
|
||||
class="link">Rollup</a
|
||||
>), import the Appwrite module when you need it:
|
||||
</p>
|
||||
<Code label="Web SDK" labelIcon="code" language="js" code={example1} withCopy />
|
||||
<div class="u-margin-block-start-16">
|
||||
<Code
|
||||
label="Web SDK"
|
||||
labelIcon="code"
|
||||
language="js"
|
||||
code={example1}
|
||||
withCopy
|
||||
noMargin />
|
||||
</div>
|
||||
{:else if method === Method.CDN}
|
||||
<p>
|
||||
To install with a CDN (content delivery network) add the following scripts to the
|
||||
bottom of your tag, but before you use any Appwrite services:
|
||||
</p>
|
||||
<Code label="HTML" language="html" code={example2} withCopy />
|
||||
<div class="u-margin-block-start-16">
|
||||
<Code label="HTML" language="html" code={example2} withCopy noMargin />
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</WizardStep>
|
||||
|
||||
@@ -19,5 +19,14 @@ client
|
||||
Now that you've downloaded the SDK, it's time to initialze it. Use your project ID, which
|
||||
can be found in your project settings page.
|
||||
</p>
|
||||
<Code label="Web SDK" labelIcon="code" language="js" {code} withCopy withLineNumbers />
|
||||
<div class="u-margin-block-start-16">
|
||||
<Code
|
||||
label="Web SDK"
|
||||
labelIcon="code"
|
||||
language="js"
|
||||
{code}
|
||||
withCopy
|
||||
withLineNumbers
|
||||
noMargin />
|
||||
</div>
|
||||
</WizardStep>
|
||||
|
||||
Reference in New Issue
Block a user