diff --git a/public/editor/components/TabSkeleton.tsx b/public/editor/components/TabSkeleton.tsx new file mode 100644 index 0000000..69c7418 --- /dev/null +++ b/public/editor/components/TabSkeleton.tsx @@ -0,0 +1,65 @@ +import { + Card, + CardContent, + CardDescription, + CardHeader, + CardTitle +} from '@public/components/ui/card' + +// Shimmer animation for skeleton loading +const Shimmer = () => ( +
No sites yet. Upload your first site!
-- Note about sites.wisp.place URLs -
-
- Complex sites hosted on sites.wisp.place may have broken assets if they use absolute paths (e.g., /folder/script.js) in CSS or JavaScript files. While HTML paths are automatically rewritten, CSS and JS files are served as-is. For best results, use a wisp.place subdomain or custom domain, or ensure your site uses relative paths.
-
- → Mapped to site: {wispDomain.rkey} -
- )} -- {wispDomain.rkey - ? 'This domain is mapped to a specific site' - : 'This domain is not mapped to any site yet. Configure it from the Sites tab.'} -
- > - ) : ( -- Claim your free wisp.place subdomain -
-
-
-
-
- → Mapped to site: {domain.rkey} -
- )} -- File limits: 100MB per file, 300MB total -
-- Drag and drop or click to upload your - static site files -
- - - {selectedFiles && selectedFiles.length > 0 && ( -- {selectedFiles.length} files selected -
- )} -- Link your GitHub, GitLab, or any Git - repository -
-- The Wisp CLI is a command-line tool for deploying static websites directly to your AT Protocol account. - Authenticate with app password or OAuth and deploy from CI/CD pipelines. -
-- Deploy automatically on every push using{' '} - - Tangled Spindle - -
- -
- Note: Set WISP_APP_PASSWORD as a secret in your Tangled Spindle repository settings.
- Generate an app password from your AT Protocol account settings.
-
+ The Wisp CLI is a command-line tool for deploying static websites directly to your AT Protocol account. + Authenticate with app password or OAuth and deploy from CI/CD pipelines. +
++ Deploy automatically on every push using{' '} + + Tangled Spindle + +
+ +
+ Note: Set WISP_APP_PASSWORD as a secret in your Tangled Spindle repository settings.
+ Generate an app password from your AT Protocol account settings.
+
+ → Mapped to site: {wispDomain.rkey} +
+ )} ++ {wispDomain.rkey + ? 'This domain is mapped to a specific site' + : 'This domain is not mapped to any site yet. Configure it from the Sites tab.'} +
+ > + ) : ( ++ Claim your free wisp.place subdomain +
+
+
+
+
+ → Mapped to site: {domain.rkey} +
+ )} +No sites yet. Upload your first site!
++ Note about sites.wisp.place URLs +
+
+ Complex sites hosted on sites.wisp.place may have broken assets if they use absolute paths (e.g., /folder/script.js) in CSS or JavaScript files. While HTML paths are automatically rewritten, CSS and JS files are served as-is. For best results, use a wisp.place subdomain or custom domain, or ensure your site uses relative paths.
+
+ File limits: 100MB per file, 300MB total +
++ Drag and drop or click to upload your + static site files +
+ + + {selectedFiles && selectedFiles.length > 0 && ( ++ {selectedFiles.length} files selected +
+ )} ++ Link your GitHub, GitLab, or any Git + repository +
+