Skip to content

Commit

Permalink
feat: add extension for sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
invisal committed Jul 16, 2024
1 parent 9573ede commit 1a27192
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/app/playground/client/page-client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export default function PlaygroundEditorBody({
type="file"
ref={fileInput}
className="hidden"
accept=".db,.sdb,.sqlite,.db3,.s3db,.sqlite3,.sl3,.db2,.s2db,.sqlite2,.sl2"
onChange={onFileChange}
multiple={false}
/>
Expand Down
9 changes: 2 additions & 7 deletions src/app/playground/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,8 @@ export default async function PlaygroundPage() {
a selection of sample datasets.
</p>

<Link
passHref
href="/playground/client"
rel="nofollow"
className={buttonVariants()}
>
Start Blank Database
<Link passHref href="/playground/client" className={buttonVariants()}>
Open Database Viewer
</Link>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/website-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function Footer() {
</div>

<div className="flex gap-4">
<Link href="https://x.com/libsqlstudio" target="blank">
<Link href="https://x.com/invisal89" target="blank">
<svg
className="w-6 h-6"
width="1200"
Expand Down

0 comments on commit 1a27192

Please sign in to comment.