Fix icons

This commit is contained in:
Vincent (Wen Yu) Ge
2024-02-25 22:38:02 -05:00
parent 5d350e93b7
commit 98ac516f6c
5 changed files with 22 additions and 40 deletions

6
pnpm-lock.yaml generated
View File

@@ -16,7 +16,7 @@ dependencies:
version: 0.1.0-next.9 version: 0.1.0-next.9
'@appwrite.io/repo': '@appwrite.io/repo':
specifier: github:appwrite/appwrite#feat-rc-sdks specifier: github:appwrite/appwrite#feat-rc-sdks
version: github.com/appwrite/appwrite/9d35e7525cb32daa608554b00cd3c8b80aefd8f0 version: github.com/appwrite/appwrite/ffa4d347b7ec439210e4dbcf26ed68dfbd06409f
'@resvg/resvg-js': '@resvg/resvg-js':
specifier: ^2.6.0 specifier: ^2.6.0
version: 2.6.0 version: 2.6.0
@@ -6590,8 +6590,8 @@ packages:
engines: {node: '>=12.20'} engines: {node: '>=12.20'}
dev: true dev: true
github.com/appwrite/appwrite/9d35e7525cb32daa608554b00cd3c8b80aefd8f0: github.com/appwrite/appwrite/ffa4d347b7ec439210e4dbcf26ed68dfbd06409f:
resolution: {tarball: https://codeload.github.com/appwrite/appwrite/tar.gz/9d35e7525cb32daa608554b00cd3c8b80aefd8f0} resolution: {tarball: https://codeload.github.com/appwrite/appwrite/tar.gz/ffa4d347b7ec439210e4dbcf26ed68dfbd06409f}
name: '@appwrite.io/repo' name: '@appwrite.io/repo'
version: 0.0.0 version: 0.0.0
dev: false dev: false

View File

@@ -113,7 +113,6 @@ export const serviceMap: Record<Service, string> = {
[Service.Storage]: 'Storage', [Service.Storage]: 'Storage',
[Service.Teams]: 'Teams', [Service.Teams]: 'Teams',
[Service.Users]: 'Users', [Service.Users]: 'Users',
[Service.Messaging]: 'Messaging'
}; };
export const preferredVersion = writable<Version | null>( export const preferredVersion = writable<Version | null>(

View File

@@ -302,7 +302,7 @@ export async function getService(
'rate-key': operation['x-appwrite']['rate-key'] 'rate-key': operation['x-appwrite']['rate-key']
}); });
} }
console.log(data);
return data; return data;
} }

View File

@@ -22,32 +22,27 @@ Appwrite supports a growing list of SMS providers that you can choose from. Choo
* Create account * Create account
* Get credentials * Get credentials
--- ---
* {% only_dark %}{% icon_image src="/images/sms-providers/dark/twilio.svg" alt="Twilio logo" size="l" /%}{% /only_dark %} * {% icon icon="twilio" size="l" /%}
{% only_light %}{% icon_image src="/images/sms-providers/twilio.svg" alt="Twilio logo" size="l" /%}{% /only_light %}
* Twilio * Twilio
* [Website](https://www.twilio.com) * [Website](https://www.twilio.com)
* [Documentation](https://www.twilio.com/docs/iam/access-tokens#step-2-api-key) * [Documentation](https://www.twilio.com/docs/iam/access-tokens#step-2-api-key)
--- ---
* {% only_dark %}{% icon_image src="/images/sms-providers/dark/textmagic.svg" alt="TextMagic logo" size="l" /%}{% /only_dark %} * {% icon icon="textmagic" size="l" /%}
{% only_light %}{% icon_image src="/images/sms-providers/textmagic.svg" alt="TextMagic logo" size="l" /%}{% /only_light %}
* TextMagic * TextMagic
* [Website](https://www.textmagic.com) * [Website](https://www.textmagic.com)
* [Documentation](https://www.textmagic.com/docs/api/start/#How-to-obtain-the-API-credentials) * [Documentation](https://www.textmagic.com/docs/api/start/#How-to-obtain-the-API-credentials)
--- ---
* {% only_dark %}{% icon_image src="/images/sms-providers/dark/telesign.svg" alt="Telesign logo" size="l" /%}{% /only_dark %} * {% icon icon="telesign" size="l" /%}
{% only_light %}{% icon_image src="/images/sms-providers/telesign.svg" alt="Telesign logo" size="l" /%}{% /only_light %}
* Telesign * Telesign
* [Website](https://www.telesign.com) * [Website](https://www.telesign.com)
* [Documentation](https://support.telesign.com/s/article/Find-Customer-ID-and-API-Key) * [Documentation](https://support.telesign.com/s/article/Find-Customer-ID-and-API-Key)
--- ---
* {% only_dark %}{% icon_image src="/images/sms-providers/dark/msg91.svg" alt="MSG91 logo" size="l" /%}{% /only_dark %} * {% icon icon="msg91" size="l" /%}
{% only_light %}{% icon_image src="/images/sms-providers/msg91.svg" alt="MSG91 logo" size="l" /%}{% /only_light %}
* MSG91 * MSG91
* [Website](https://msg91.com) * [Website](https://msg91.com)
* [Documentation](https://msg91.com/help/where-can-i-find-my-authentication-key) * [Documentation](https://msg91.com/help/where-can-i-find-my-authentication-key)
--- ---
* {% only_dark %}{% icon_image src="/images/sms-providers/dark/vonage.svg" alt="Vonage logo" size="l" /%}{% /only_dark %} * {% icon icon="vonage" size="l" /%}
{% only_light %}{% icon_image src="/images/sms-providers/vonage.svg" alt="Vonage logo" size="l" /%}{% /only_light %}
* Vonage * Vonage
* [Website](https://www.vonage.ca/) * [Website](https://www.vonage.ca/)
* [Documentation](https://developer.vonage.com/en/account/secret-management) * [Documentation](https://developer.vonage.com/en/account/secret-management)

View File

@@ -15,8 +15,7 @@ Below is a list of available Functions runtimes. The Appwrite team continually a
* Versions * Versions
* Architectures * Architectures
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/nodejs.svg" alt="Node.js logo" size="m" /%}{% /only_dark %} * {% icon icon="node_js" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/nodejs.svg" alt="Node.js logo" size="m" /%}{% /only_light %}
* [Node.js](https://hub.docker.com/r/openruntimes/node/tags) * [Node.js](https://hub.docker.com/r/openruntimes/node/tags)
* `node-14.5` * `node-14.5`
`node-16.0` `node-16.0`
@@ -25,22 +24,19 @@ Below is a list of available Functions runtimes. The Appwrite team continually a
`node-20.0` `node-20.0`
* x86 / arm64 / armv7 / armv8 * x86 / arm64 / armv7 / armv8
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/bun.svg" alt="Bun logo" size="m" /%}{% /only_dark %} * {% icon icon="bun" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/bun.svg" alt="Bun logo" size="m" /%}{% /only_light %}
* [Bun](https://hub.docker.com/r/openruntimes/bun/tags) * [Bun](https://hub.docker.com/r/openruntimes/bun/tags)
* `bun-1.0` * `bun-1.0`
* x86 / arm64 * x86 / arm64
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/deno.svg" alt="Deno logo" size="m" /%}{% /only_dark %} * {% icon icon="deno" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/deno.svg" alt="Deno logo" size="m" /%}{% /only_light %}
* [Deno](https://hub.docker.com/r/openruntimes/deno/tags) * [Deno](https://hub.docker.com/r/openruntimes/deno/tags)
* `deno-1.21` * `deno-1.21`
`deno-1.24` `deno-1.24`
`deno-1.35` `deno-1.35`
* x86 * x86
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/python.svg" alt="Python logo" size="m" /%}{% /only_dark %} * {% icon icon="python" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/python.svg" alt="Python logo" size="m" /%}{% /only_light %}
* [Python](https://hub.docker.com/r/openruntimes/python/tags) * [Python](https://hub.docker.com/r/openruntimes/python/tags)
* `python-3.8` * `python-3.8`
`python-3.9` `python-3.9`
@@ -49,8 +45,7 @@ Below is a list of available Functions runtimes. The Appwrite team continually a
`python-3.12` `python-3.12`
* x86 / arm64 / armv7 / armv8 * x86 / arm64 / armv7 / armv8
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/dart.svg" alt="Dart logo" size="m" /%}{% /only_dark %} * {% icon icon="dart" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/dart.svg" alt="Dart logo" size="m" /%}{% /only_light %}
* [Dart](https://hub.docker.com/r/openruntimes/dart/tags) * [Dart](https://hub.docker.com/r/openruntimes/dart/tags)
* `dart-2.15` * `dart-2.15`
`dart-2.16` `dart-2.16`
@@ -60,32 +55,28 @@ Below is a list of available Functions runtimes. The Appwrite team continually a
`dart-3.1` `dart-3.1`
* x86 / arm64 / armv7 / armv8 * x86 / arm64 / armv7 / armv8
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/php.svg" alt="PHP logo" size="m" /%}{% /only_dark %} * {% icon icon="php" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/php.svg" alt="PHP logo" size="m" /%}{% /only_light %}
* [PHP](https://hub.docker.com/r/openruntimes/php/tags) * [PHP](https://hub.docker.com/r/openruntimes/php/tags)
* `php-8.0` * `php-8.0`
`php-8.1` `php-8.1`
`php-8.2` `php-8.2`
* x86 / arm64 / armv7 / armv8 * x86 / arm64 / armv7 / armv8
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/ruby.svg" alt="Ruby logo" size="m" /%}{% /only_dark %} * {% icon icon="ruby" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/ruby.svg" alt="Ruby logo" size="m" /%}{% /only_light %}
* [Ruby](https://hub.docker.com/r/openruntimes/ruby/tags) * [Ruby](https://hub.docker.com/r/openruntimes/ruby/tags)
* `ruby-3.0` * `ruby-3.0`
`ruby-3.1` `ruby-3.1`
`ruby-3.2` `ruby-3.2`
* x86 / arm64 / armv7 / armv8 * x86 / arm64 / armv7 / armv8
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/dotnet.svg" alt=".NET logo" size="m" /%}{% /only_dark %} * {% icon icon="dotnet" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/dotnet.svg" alt=".NET logo" size="m" /%}{% /only_light %}
* [.NET](https://hub.docker.com/r/openruntimes/dotnet/tags) * [.NET](https://hub.docker.com/r/openruntimes/dotnet/tags)
* `dotnet-3.1` * `dotnet-3.1`
`dotnet-6.0` `dotnet-6.0`
`dotnet-7.0` `dotnet-7.0`
* x86 / arm64 / armv7 / armv8 * x86 / arm64 / armv7 / armv8
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/java.svg" alt="Java logo" size="m" /%}{% /only_dark %} * {% icon icon="java" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/java.svg" alt="Java logo" size="m" /%}{% /only_light %}
* [Java](https://hub.docker.com/r/openruntimes/java/tags) * [Java](https://hub.docker.com/r/openruntimes/java/tags)
* `java-8.0` * `java-8.0`
`java-11.0` `java-11.0`
@@ -93,22 +84,19 @@ Below is a list of available Functions runtimes. The Appwrite team continually a
`java-18.0` `java-18.0`
* x86 / arm64 / armv7 / armv8 * x86 / arm64 / armv7 / armv8
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/swift.svg" alt="Swift logo" size="m" /%}{% /only_dark %} * {% icon icon="swift" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/swift.svg" alt="Swift logo" size="m" /%}{% /only_light %}
* [Swift](https://hub.docker.com/r/openruntimes/swift/tags) * [Swift](https://hub.docker.com/r/openruntimes/swift/tags)
* `swift-5.5` * `swift-5.5`
`swift-5.8` `swift-5.8`
* x86 / arm64 / armv7 / armv8 * x86 / arm64 / armv7 / armv8
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/kotlin.svg" alt="Kotlin logo" size="m" /%}{% /only_dark %} * {% icon icon="kotlin" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/kotlin.svg" alt="Kotlin logo" size="m" /%}{% /only_light %}
* [Kotlin](https://hub.docker.com/r/openruntimes/kotlin/tags) * [Kotlin](https://hub.docker.com/r/openruntimes/kotlin/tags)
* `kotlin-1.6` * `kotlin-1.6`
`kotlin-1.8` `kotlin-1.8`
* x86 / arm64 / armv7 / armv8 * x86 / arm64 / armv7 / armv8
--- ---
* {% only_dark %}{% icon_image src="/images/platforms/dark/c.svg" alt="C++ logo" size="m" /%}{% /only_dark %} * {% icon icon="cpp" size="l" /%}
{% only_light %}{% icon_image src="/images/platforms/c.svg" alt="C++ logo" size="m" /%}{% /only_light %}
* [C++](https://hub.docker.com/r/openruntimes/cpp/tags) * [C++](https://hub.docker.com/r/openruntimes/cpp/tags)
* `cpp-17` * `cpp-17`
`cpp-20` `cpp-20`