diff --git a/cmd/sql-to-logsql/web/ui/package-lock.json b/cmd/sql-to-logsql/web/ui/package-lock.json
index 8378ba7..8aca6d7 100644
--- a/cmd/sql-to-logsql/web/ui/package-lock.json
+++ b/cmd/sql-to-logsql/web/ui/package-lock.json
@@ -14,6 +14,7 @@
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
+ "@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
@@ -1265,6 +1266,29 @@
}
}
},
+ "node_modules/@radix-ui/react-separator": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.7.tgz",
+ "integrity": "sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-slot": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",
diff --git a/cmd/sql-to-logsql/web/ui/package.json b/cmd/sql-to-logsql/web/ui/package.json
index 03f8194..e98d700 100644
--- a/cmd/sql-to-logsql/web/ui/package.json
+++ b/cmd/sql-to-logsql/web/ui/package.json
@@ -16,6 +16,7 @@
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
+ "@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
diff --git a/cmd/sql-to-logsql/web/ui/src/components/docs/Docs.tsx b/cmd/sql-to-logsql/web/ui/src/components/docs/Docs.tsx
index a33e331..e46e624 100644
--- a/cmd/sql-to-logsql/web/ui/src/components/docs/Docs.tsx
+++ b/cmd/sql-to-logsql/web/ui/src/components/docs/Docs.tsx
@@ -1,100 +1,108 @@
import {Card, CardContent, CardDescription, CardHeader, CardTitle} from "@/components/ui/card.tsx";
import {Accordion, AccordionContent, AccordionItem, AccordionTrigger} from "@/components/ui/accordion.tsx";
-import {InfoIcon} from "lucide-react";
+import {InfoIcon, LinkIcon} from "lucide-react";
+import {Button} from "@/components/ui/button.tsx";
+import {Separator} from "@/components/ui/separator.tsx";
export function Docs() {
return (
-
-
-
- SHOW TABLES / VIEWSDESCRIBE TABLE / VIEW ...SELECT ... FROM ...CREATE VIEW ...DROP VIEW ...
-
SELECT, DISTINCT, AS, OVER, PARTITION BYFROM, WITHWHERE, AND, ORLEFT JOIN / JOIN / INNER JOINLIKE, NOT LIKE, BETWEEN, IN, NOT IN, IS NULL, IS NOT NULLGROUP BY, HAVINGORDER BY, ASC, DESC, LIMIT, OFFSETUNION ALL-
SUBSTR, CONCAT, LOWER, UPPER, TRIM, LTRIM, RTRIM, REPLACELIKE, NOT LIKEBETWEEN+,-, *, /, %, ^ABS, GREATEST, LEAST, ROUND, FLOOR, CEIL, POW, LN, EXPSUM, COUNT, MAX, MIN, AVGCURRENT_TIMESTAMP, CURREN_DATE-
logs table is supported+
SHOW TABLES / VIEWSDESCRIBE TABLE / VIEW ...SELECT ... FROM ...CREATE VIEW ...DROP VIEW ...+
SELECT, DISTINCT, AS, OVER, PARTITION BYFROM, WITHWHERE, AND, ORLEFT JOIN / JOIN / INNER JOINLIKE, NOT LIKE, BETWEEN, IN, NOT IN, IS NULL, IS NOT NULLGROUP BY, HAVINGORDER BY, ASC, DESC, LIMIT, OFFSETUNION ALL+
SUBSTR, CONCAT, LOWER, UPPER, TRIM, LTRIM, RTRIM, REPLACELIKE, NOT LIKEBETWEEN+,-, *, /, %, ^ABS, GREATEST, LEAST, ROUND, FLOOR, CEIL, POW, LN, EXPSUM, COUNT, MAX, MIN, AVGCURRENT_TIMESTAMP, CURREN_DATE+
logs table is supported