Skip to content

Commit b2108df

Browse files
committed
feat(数据库): 添加 Supabase 文档和图标支持
添加 Supabase 相关文档和图标资源,并在数据库索引中集成 Supabase 条目
1 parent f04fce2 commit b2108df

File tree

3 files changed

+65
-37
lines changed

3 files changed

+65
-37
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Supabase
2+
3+
:::info
4+
开源开发平台,基于 PostgreSQL,集成数据库、身份验证、文件存储、实时订阅等功能于一体。
5+
6+
[官方网站](https://www.supabase.com/)
7+
| [官方文档](https://www.supabase.com/docs)
8+
:::

src/components/DevelopIndex.tsx

Lines changed: 42 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
import React from "react";
21
import Index from "@site/src/components/Index";
32

43
/** 语言 */
54
export function DevelopLanguageIndex() {
65
return Index([
7-
{icon: "kotlin.svg", title: "Kotlin", text: "简洁、跨平台、有趣", href: "/docs/开发/语言/Kotlin/"},
8-
{icon: "java.svg", title: "Java", text: "跨平台、面向对象、泛型编程", href: "/docs/开发/语言/Java/"},
9-
{icon: "python.svg", title: "Python", text: "解释型、高级通用编程语言", href: "/docs/开发/语言/Python/"},
10-
{icon: "rust.svg", title: "Rust", text: "通用、编译型、安全、并发、实用", href: "/docs/开发/语言/Rust/"},
11-
{icon: "dart.svg", title: "Dart", text: "为全平台构建快速应用的客户端优化", href: "/docs/开发/语言/Dart/"},
12-
{icon: "ruby.svg", title: "Ruby", text: "开源的动态编程语言,注重简洁和效率", href: "/docs/开发/语言/Ruby/"},
13-
{icon: "php.svg", title: "PHP", text: "开源服务器脚本语言,适用于 Web 开发", href: "/docs/开发/语言/PHP/"},
6+
{ icon: "kotlin.svg", title: "Kotlin", text: "简洁、跨平台、有趣", href: "/docs/开发/语言/Kotlin/" },
7+
{ icon: "java.svg", title: "Java", text: "跨平台、面向对象、泛型编程", href: "/docs/开发/语言/Java/" },
8+
{ icon: "python.svg", title: "Python", text: "解释型、高级通用编程语言", href: "/docs/开发/语言/Python/" },
9+
{ icon: "rust.svg", title: "Rust", text: "通用、编译型、安全、并发、实用", href: "/docs/开发/语言/Rust/" },
10+
{ icon: "dart.svg", title: "Dart", text: "为全平台构建快速应用的客户端优化", href: "/docs/开发/语言/Dart/" },
11+
{ icon: "ruby.svg", title: "Ruby", text: "开源的动态编程语言,注重简洁和效率", href: "/docs/开发/语言/Ruby/" },
12+
{ icon: "php.svg", title: "PHP", text: "开源服务器脚本语言,适用于 Web 开发", href: "/docs/开发/语言/PHP/" },
1413
])
1514
}
1615

1716
/** 模板 */
1817
export function DevelopTemplateIndex() {
1918
return Index([
20-
{icon: "thymeleaf.png", title: "Thymeleaf", text: "现代的服务器端 Java 模板引擎", href: "/docs/开发/语言/Java/Thymeleaf/"},
19+
{ icon: "thymeleaf.png", title: "Thymeleaf", text: "现代的服务器端 Java 模板引擎", href: "/docs/开发/语言/Java/Thymeleaf/" },
2120
])
2221
}
2322

@@ -36,24 +35,24 @@ export function DevelopToolIndex() {
3635
text: "Windows 现代软件自动化的包管理器",
3736
href: "/docs/开发/工具/Chocolatey/",
3837
},
39-
{icon: "winget.svg", title: "winget", text: "Windows 自带的包管理器", href: "/docs/开发/工具/winget/"},
38+
{ icon: "winget.svg", title: "winget", text: "Windows 自带的包管理器", href: "/docs/开发/工具/winget/" },
4039
{
4140
icon: "gradle.svg",
4241
title: "Gradle",
4342
text: "从移动应用到微服务,从小型初创公司到大型企业,Gradle 可帮助团队更快地构建、自动化和交付更好的软件。",
4443
href: "/docs/开发/工具/Gradle/",
4544
},
46-
{icon: "graal-vm.svg", title: "GraalVM", text: "高性能!云原生!多语言!", href: "/docs/开发/工具/GraalVM/"},
47-
{icon: "apache.svg", title: "Maven", text: "Java 软件项目管理及自动构建工具", href: "/docs/开发/工具/Maven/"},
48-
{icon: "git.svg", title: "Git", text: "免费的开源分布式版本控制系统", href: "/docs/开发/工具/Git"},
45+
{ icon: "graal-vm.svg", title: "GraalVM", text: "高性能!云原生!多语言!", href: "/docs/开发/工具/GraalVM/" },
46+
{ icon: "apache.svg", title: "Maven", text: "Java 软件项目管理及自动构建工具", href: "/docs/开发/工具/Maven/" },
47+
{ icon: "git.svg", title: "Git", text: "免费的开源分布式版本控制系统", href: "/docs/开发/工具/Git" },
4948
{
5049
icon: "PowerShell.svg",
5150
title: "PowerShell",
5251
text: "是一种跨平台的任务自动化解决方案",
5352
href: "/docs/开发/工具/PowerShell"
5453
},
55-
{icon: "OpenCV.png", title: "OpenCV", text: "跨平台的计算机视觉库", href: "/docs/开发/工具/OpenCV/"},
56-
{icon: "SSL.svg", title: "OpenSSL", text: "功能丰富且自包含的开源安全工具箱", href: "/docs/开发/工具/OpenSSL/"},
54+
{ icon: "OpenCV.png", title: "OpenCV", text: "跨平台的计算机视觉库", href: "/docs/开发/工具/OpenCV/" },
55+
{ icon: "SSL.svg", title: "OpenSSL", text: "功能丰富且自包含的开源安全工具箱", href: "/docs/开发/工具/OpenSSL/" },
5756
{
5857
icon: "正则表达式.svg",
5958
title: "正则表达式",
@@ -72,38 +71,44 @@ export function DevelopEnvironIndex() {
7271
text: "为相关程序提供操作系统层的虚拟化,比虚拟机更便捷高效",
7372
href: "/docs/开发/环境/Docker/"
7473
},
75-
{icon: "apache2.svg", title: "Apache2", text: "HTTP、Web 服务器", href: "/docs/开发/环境/Apache/httpd"},
76-
{icon: "tomcat.svg", title: "Tomcat", text: "Servlet 容器;JSP", href: "/docs/开发/环境/Tomcat/"},
74+
{ icon: "apache2.svg", title: "Apache2", text: "HTTP、Web 服务器", href: "/docs/开发/环境/Apache/httpd" },
75+
{ icon: "tomcat.svg", title: "Tomcat", text: "Servlet 容器;JSP", href: "/docs/开发/环境/Tomcat/" },
7776
])
7877
}
7978

8079
/** 数据库 */
8180
export function DBIndex() {
8281
return Index([
82+
{
83+
icon: "supabase.svg",
84+
title: "Supabase",
85+
text: "开源开发平台,基于 PostgreSQL,集成数据库、身份验证、文件存储、实时订阅等功能于一体",
86+
href: "/docs/开发/环境/Supabase/"
87+
},
8388
{
8489
icon: "PostgreSQL.svg",
8590
title: "PostgreSQL",
8691
text: "世界上最先进的开源关系型数据库",
8792
href: "/docs/开发/环境/PostgreSQL/"
8893
},
89-
{icon: "database-fill.svg", title: "MariaDB & MySQL", text: "经典关系型数据库", href: "/docs/开发/环境/MariaDB&MySQL/"},
94+
{ icon: "database-fill.svg", title: "MariaDB & MySQL", text: "经典关系型数据库", href: "/docs/开发/环境/MariaDB&MySQL/" },
9095
{
9196
icon: "InfluxDB.svg",
9297
title: "InfluxDB",
9398
text: "用于存储和分析时间序列数据的开源数据库",
9499
href: "/docs/开发/环境/InfluxDB/"
95100
},
96-
{icon: "sqlite.svg", title: "SQLite", text: "自给自足、无服务器、零配置、事务性", href: "/docs/开发/环境/SQLite/"},
101+
{ icon: "sqlite.svg", title: "SQLite", text: "自给自足、无服务器、零配置、事务性", href: "/docs/开发/环境/SQLite/" },
97102
])
98103
}
99104

100105
/** 框架 */
101106
export function DevelopFrameworkIndex() {
102107
return Index([
103-
{icon: "spring.svg", title: "Spring", text: "互联网软件开发全家桶", href: "/docs/开发/框架/Spring/Boot/"},
108+
{ icon: "spring.svg", title: "Spring", text: "互联网软件开发全家桶", href: "/docs/开发/框架/Spring/Boot/" },
104109
{
105-
icon: "hilla.png",
106-
title: "Hilla",
110+
icon: "hilla.png",
111+
title: "Hilla",
107112
text: "无需再处理 REST 端点或破译 GraphQL 查询。Hilla 无缝衔接 Spring Boot 与 React ,加速应用开发。",
108113
href: "/docs/开发/框架/Spring/Hilla/"
109114
},
@@ -113,10 +118,10 @@ export function DevelopFrameworkIndex() {
113118
text: "只要一套代码库,即可构建、测试和发布适用于移动、Web、桌面和嵌入式平台的精美应用",
114119
href: "/docs/开发/框架/Flutter/",
115120
},
116-
{icon: "react.svg", title: "React", text: "用于构建 Web 和原生交互界面的库", href: "/docs/开发/框架/React/"},
117-
{icon: "vue.svg", title: "Vue", text: "渐进式 JavaScript 框架", href: "/docs/开发/框架/Vue/"},
118-
{icon: "lit.svg#flame", title: "Lit", text: "用于构建快速、轻量级的 Web 组件。", href: "/docs/开发/框架/Lit/"},
119-
{icon: "flask.png", title: "Flask", text: "轻量级 WSGI Web 应用程序框架", href: "/docs/开发/框架/Flask/"},
121+
{ icon: "react.svg", title: "React", text: "用于构建 Web 和原生交互界面的库", href: "/docs/开发/框架/React/" },
122+
{ icon: "vue.svg", title: "Vue", text: "渐进式 JavaScript 框架", href: "/docs/开发/框架/Vue/" },
123+
{ icon: "lit.svg#flame", title: "Lit", text: "用于构建快速、轻量级的 Web 组件。", href: "/docs/开发/框架/Lit/" },
124+
{ icon: "flask.png", title: "Flask", text: "轻量级 WSGI Web 应用程序框架", href: "/docs/开发/框架/Flask/" },
120125
{
121126
icon: "rocket.svg",
122127
title: "Rocket",
@@ -129,7 +134,7 @@ export function DevelopFrameworkIndex() {
129134
/** 软件 */
130135
export function DevelopSoftwareIndex() {
131136
return Index([
132-
{icon: "Android.svg", title: "Android", text: "原生安卓", href: "/docs/开发/软件/Android/"},
137+
{ icon: "Android.svg", title: "Android", text: "原生安卓", href: "/docs/开发/软件/Android/" },
133138
])
134139
}
135140

@@ -142,18 +147,18 @@ export function DevelopSoftwareBlockChainsIndex() {
142147
text: "一门为实现智能合约而创建的面向对象的高级编程语言",
143148
href: "/docs/开发/软件/区块链/Solidity/"
144149
},
145-
{icon: "Ethereum.svg", title: "以太坊", text: "创新应用程序和区块链网络的首要平台", href: "/docs/开发/软件/区块链/以太坊/"},
146-
{icon: "Solana.svg", title: "Solana", text: "为大规模应用而构建的高性能区块链", href: "/docs/开发/软件/区块链/Solana/"},
147-
{icon: "Sui.svg", title: "Sui", text: "通过 Web2 的便捷性为用户提供 Web3 的优势", href: "/docs/开发/软件/区块链/Sui/"},
148-
{icon: "WeBank.png", title: "WeBASE", text: "微众银行区块链应用软件扩展", href: "/docs/开发/软件/区块链/WeBASE/"},
149-
{icon: "FISCO_BCOS.png", title: "FISCO BCOS", text: "稳定、高效、安全的区块链底层平台", href: "/docs/开发/软件/区块链/FiscoBcos/"},
150+
{ icon: "Ethereum.svg", title: "以太坊", text: "创新应用程序和区块链网络的首要平台", href: "/docs/开发/软件/区块链/以太坊/" },
151+
{ icon: "Solana.svg", title: "Solana", text: "为大规模应用而构建的高性能区块链", href: "/docs/开发/软件/区块链/Solana/" },
152+
{ icon: "Sui.svg", title: "Sui", text: "通过 Web2 的便捷性为用户提供 Web3 的优势", href: "/docs/开发/软件/区块链/Sui/" },
153+
{ icon: "WeBank.png", title: "WeBASE", text: "微众银行区块链应用软件扩展", href: "/docs/开发/软件/区块链/WeBASE/" },
154+
{ icon: "FISCO_BCOS.png", title: "FISCO BCOS", text: "稳定、高效、安全的区块链底层平台", href: "/docs/开发/软件/区块链/FiscoBcos/" },
150155
])
151156
}
152157

153158
/** 硬件 */
154159
export function DevelopHardwareIndex() {
155160
return Index([
156-
{icon: "cw32.png", title: "CW32", text: "武汉芯源半导体", href: "/docs/开发/硬件/CW32/"}
161+
{ icon: "cw32.png", title: "CW32", text: "武汉芯源半导体", href: "/docs/开发/硬件/CW32/" }
157162
])
158163
}
159164

@@ -166,9 +171,9 @@ export function DevelopGameIndex() {
166171
text: "不是网易游戏代理的我的世界",
167172
href: "/docs/开发/游戏/Minecraft/"
168173
},
169-
{icon: "Terraria.png", title: "Terraria", text: "泰拉瑞亚", href: "/docs/开发/游戏/Terraria/"},
170-
{icon: "Unturned.png", title: "Unturned", text: "未转变者", href: "/docs/开发/游戏/Unturned/"},
171-
{icon: "godot.svg", title: "Godot", text: "自由,开源的 2D&3D 游戏引擎", href: "/docs/开发/游戏/Godot/"},
172-
{icon: "unity.svg", title: "Unity", text: "行业领先的实时 3D 开发平台", href: "/docs/开发/游戏/Unity/"},
174+
{ icon: "Terraria.png", title: "Terraria", text: "泰拉瑞亚", href: "/docs/开发/游戏/Terraria/" },
175+
{ icon: "Unturned.png", title: "Unturned", text: "未转变者", href: "/docs/开发/游戏/Unturned/" },
176+
{ icon: "godot.svg", title: "Godot", text: "自由,开源的 2D&3D 游戏引擎", href: "/docs/开发/游戏/Godot/" },
177+
{ icon: "unity.svg", title: "Unity", text: "行业领先的实时 3D 开发平台", href: "/docs/开发/游戏/Unity/" },
173178
])
174179
}

static/icons/supabase.svg

Lines changed: 15 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)