Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: specify title Android Kotlin, remove unused resource

Hieu Vud1cfc18d868f
diff --git a/apps/docs/components/Frameworks.tsx b/apps/docs/components/Frameworks.tsx
index 4488ad7c1e7..12e38b7910d 100644
--- a/apps/docs/components/Frameworks.tsx
+++ b/apps/docs/components/Frameworks.tsx
@@ -38,12 +38,12 @@ const Frameworks = () => {
href: '/reference/javascript/installing#javascript',
},
{
- name: 'Android',
+ name: 'Kotlin',
logo: {
- light: '/docs/img/icons/android-icon.svg',
- dark: '/docs/img/icons/android-icon.svg',
+ light: '/docs/img/icons/kotlin-icon.svg',
+ dark: '/docs/img/icons/kotlin-icon.svg',
},
- href: '/guides/with-android',
+ href: '/guides/with-kotlin',
},
{
name: 'Next.js',
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index b3ae1f10f9d..dda5fc5c67d 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -215,7 +215,7 @@ export const gettingstarted: NavMenuConstant = {
{ name: 'NuxtJS', url: '/guides/getting-started/quickstarts/nuxtjs' },
{ name: 'RedwoodJS', url: '/guides/getting-started/quickstarts/redwoodjs' },
{ name: 'Flutter', url: '/guides/getting-started/quickstarts/flutter' },
- { name: 'Android', url: '/guides/getting-started/quickstarts/android' },
+ { name: 'Android Kotlin', url: '/guides/getting-started/quickstarts/kotlin' },
{ name: 'SvelteKit', url: '/guides/getting-started/quickstarts/sveltekit' },
{ name: 'SolidJS', url: '/guides/getting-started/quickstarts/solidjs' },
{ name: 'Vue', url: '/guides/getting-started/quickstarts/vue' },
@@ -274,8 +274,8 @@ export const gettingstarted: NavMenuConstant = {
url: '/guides/getting-started/tutorials/with-expo',
},
{
- name: 'Android',
- url: '/guides/getting-started/tutorials/with-android',
+ name: 'Android Kotlin',
+ url: '/guides/getting-started/tutorials/with-kotlin',
},
{
name: 'Ionic React',
diff --git a/apps/docs/pages/guides/getting-started.mdx b/apps/docs/pages/guides/getting-started.mdx
index a5480613ed5..eeda3fbb035 100644
--- a/apps/docs/pages/guides/getting-started.mdx
+++ b/apps/docs/pages/guides/getting-started.mdx
@@ -158,11 +158,11 @@ export const quickstarts = [
icon: '/docs/img/icons/flutter-icon',
},
{
- title: 'Android',
- href: '/guides/getting-started/quickstarts/android',
+ title: 'Android Kotlin',
+ href: '/guides/getting-started/quickstarts/kotlin',
description:
- 'Learn how to create a Supabase project, add some sample data to your database, and query the data from an Android app.',
- icon: '/docs/img/icons/android-icon',
+ 'Learn how to create a Supabase project, add some sample data to your database, and query the data from an Android Kotlin app.',
+ icon: '/docs/img/icons/kotlin-icon',
},
{
title: 'SvelteKit',
@@ -262,11 +262,11 @@ export const mobile = [
icon: '/docs/img/icons/expo-icon',
},
{
- title: 'Android',
- href: '/guides/getting-started/tutorials/with-android',
+ title: 'Android Kotlin',
+ href: '/guides/getting-started/tutorials/with-kotlin',
description:
'Learn how to build a product management app with Android and Supabase Database, Auth, and Storage functionality.',
- icon: '/docs/img/icons/android-icon',
+ icon: '/docs/img/icons/kotlin-icon',
},
{
title: 'Ionic React',
diff --git a/apps/docs/pages/guides/getting-started/quickstarts/android.mdx b/apps/docs/pages/guides/getting-started/quickstarts/kotlin.mdx
similarity index 100%
rename from apps/docs/pages/guides/getting-started/quickstarts/android.mdx
rename to apps/docs/pages/guides/getting-started/quickstarts/kotlin.mdx
diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-android.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-kotlin.mdx
similarity index 100%
rename from apps/docs/pages/guides/getting-started/tutorials/with-android.mdx
rename to apps/docs/pages/guides/getting-started/tutorials/with-kotlin.mdx
diff --git a/apps/docs/public/img/icons/android-icon.svg b/apps/docs/public/img/icons/android-icon.svg
deleted file mode 100644
index 5753b644f89..00000000000
--- a/apps/docs/public/img/icons/android-icon.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48px" height="48px"><path fill="#30dc80" d="M24,14.088C11.427,14.088,1.108,23.716,0,36h48C46.892,23.716,36.573,14.088,24,14.088z M33.179,27.079c0-1.104,0.895-1.999,1.999-1.999c1.104,0,1.999,0.895,1.999,1.999c0,1.104-0.895,1.999-1.999,1.999 C34.074,29.078,33.179,28.183,33.179,27.079z M12.822,29.078c-1.104,0-1.999-0.895-1.999-1.999c0-1.104,0.895-1.999,1.999-1.999 s1.999,0.895,1.999,1.999C14.821,28.183,13.926,29.078,12.822,29.078z"/><path fill="#30dc80" d="M34.038,19.313c-0.14,0-0.281-0.035-0.41-0.11c-0.393-0.227-0.527-0.729-0.301-1.122l5.197-9.008 c0.227-0.394,0.729-0.529,1.122-0.301c0.393,0.227,0.527,0.729,0.301,1.122l-5.197,9.008C34.598,19.166,34.322,19.313,34.038,19.313 z"/><path fill="#30dc80" d="M13.962,19.313c-0.284,0-0.56-0.148-0.712-0.411L8.054,9.894C7.827,9.501,7.962,8.999,8.354,8.772 c0.392-0.228,0.895-0.093,1.122,0.301l5.197,9.008c0.227,0.394,0.092,0.896-0.301,1.122C14.243,19.278,14.102,19.313,13.962,19.313z"/></svg>
\ No newline at end of file
diff --git a/apps/docs/public/sitemap.xml b/apps/docs/public/sitemap.xml
index b5f1f67ce03..460ee7b834c 100644
--- a/apps/docs/public/sitemap.xml
+++ b/apps/docs/public/sitemap.xml
@@ -1603,7 +1603,7 @@
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-android</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-kotlin</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
diff --git a/apps/www/components/Hero/HeroFrameworks.tsx b/apps/www/components/Hero/HeroFrameworks.tsx
index 83b581811bc..c7fbe122bd9 100644
--- a/apps/www/components/Hero/HeroFrameworks.tsx
+++ b/apps/www/components/Hero/HeroFrameworks.tsx
@@ -33,10 +33,10 @@ const frameworks = [
gaEvent: 'www_hp_hero_frameworks_flutter',
},
{
- name: 'Android',
- icon: '/images/logos/frameworks/android.svg',
- docs: '/docs/guides/getting-started/quickstarts/android',
- gaEvent: 'www_hp_hero_frameworks_android',
+ name: 'Android Kotlin',
+ icon: '/images/logos/frameworks/kotlin.svg',
+ docs: '/docs/guides/getting-started/quickstarts/kotlin',
+ gaEvent: 'www_hp_hero_frameworks_kotlin',
},
{
name: 'Svelte',
diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.js
index d0952f9a24a..c0696dd320d 100644
--- a/apps/www/lib/redirects.js
+++ b/apps/www/lib/redirects.js
@@ -1714,8 +1714,8 @@ module.exports = [
},
{
permanent: true,
- source: '/docs/guides/with-android',
- destination: '/docs/guides/getting-started/tutorials/with-android',
+ source: '/docs/guides/with-kotlin',
+ destination: '/docs/guides/getting-started/tutorials/with-kotlin',
},
{
permanent: true,
diff --git a/apps/www/public/images/logos/frameworks/android.svg b/apps/www/public/images/logos/frameworks/android.svg
deleted file mode 100644
index 5753b644f89..00000000000
--- a/apps/www/public/images/logos/frameworks/android.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48px" height="48px"><path fill="#30dc80" d="M24,14.088C11.427,14.088,1.108,23.716,0,36h48C46.892,23.716,36.573,14.088,24,14.088z M33.179,27.079c0-1.104,0.895-1.999,1.999-1.999c1.104,0,1.999,0.895,1.999,1.999c0,1.104-0.895,1.999-1.999,1.999 C34.074,29.078,33.179,28.183,33.179,27.079z M12.822,29.078c-1.104,0-1.999-0.895-1.999-1.999c0-1.104,0.895-1.999,1.999-1.999 s1.999,0.895,1.999,1.999C14.821,28.183,13.926,29.078,12.822,29.078z"/><path fill="#30dc80" d="M34.038,19.313c-0.14,0-0.281-0.035-0.41-0.11c-0.393-0.227-0.527-0.729-0.301-1.122l5.197-9.008 c0.227-0.394,0.729-0.529,1.122-0.301c0.393,0.227,0.527,0.729,0.301,1.122l-5.197,9.008C34.598,19.166,34.322,19.313,34.038,19.313 z"/><path fill="#30dc80" d="M13.962,19.313c-0.284,0-0.56-0.148-0.712-0.411L8.054,9.894C7.827,9.501,7.962,8.999,8.354,8.772 c0.392-0.228,0.895-0.093,1.122,0.301l5.197,9.008c0.227,0.394,0.092,0.896-0.301,1.122C14.243,19.278,14.102,19.313,13.962,19.313z"/></svg>
\ No newline at end of file
diff --git a/apps/www/public/images/logos/frameworks/kotlin.svg b/apps/www/public/images/logos/frameworks/kotlin.svg
new file mode 100644
index 00000000000..93fee789273
--- /dev/null
+++ b/apps/www/public/images/logos/frameworks/kotlin.svg
@@ -0,0 +1 @@
+<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 125 125" width="2500" height="2500"><defs><linearGradient id="b" x1="-21.045" y1="114.925" x2="95.274" y2="-1.395" gradientUnits="userSpaceOnUse"><stop offset=".108" stop-color="#c757bc"/><stop offset=".173" stop-color="#cd5ca9"/><stop offset=".492" stop-color="#e8744f"/><stop offset=".716" stop-color="#f88316"/><stop offset=".823" stop-color="#ff8900"/></linearGradient><linearGradient id="a" x1="39.893" y1="147.552" x2="96.589" y2="90.856" gradientUnits="userSpaceOnUse"><stop offset=".296" stop-color="#00afff"/><stop offset=".694" stop-color="#5282ff"/><stop offset="1" stop-color="#945dff"/></linearGradient><linearGradient id="c" x1="-1.501" y1="34.501" x2="38.272" y2="-5.273" xlink:href="#a"/></defs><title>icon_Kotlin</title><path fill="url(#b)" d="M62.759 0L0 65.999V125l62.669-62.779L125 0H62.759z"/><path data-name="&lt;Path&gt;" fill="url(#a)" d="M0 125l62.669-62.778L125 125H0z"/><path fill="url(#c)" d="M0 0h62.759L0 65.999V0z"/></svg>
\ No newline at end of file