This repository has been archived by the owner on Jul 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
botway(core & other): add ai pages, update config files
- Loading branch information
Showing
14 changed files
with
57 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ indent_size = 4 | |
|
||
[*.{json,md}] | ||
indent_style = space | ||
indent_size = 2 | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
zshrc text eol=lf | ||
*.sh text eol=lf | ||
*.sh text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
auto-install-peers=true | ||
strict-peer-dependencies=false | ||
strict-peer-dependencies=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
node_modules/* | ||
.next | ||
core/.next | ||
LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"use client"; | ||
|
||
import { redirect } from "next/navigation"; | ||
import { useAuth } from "@/supabase/auth/provider"; | ||
import { LoadingDots } from "@/components/LoadingDots"; | ||
|
||
export const revalidate = 0; | ||
|
||
const NewProjectAI = () => { | ||
const { initial, user } = useAuth(); | ||
|
||
if (initial) { | ||
return ( | ||
<LoadingDots className="fixed inset-0 flex items-center justify-center" /> | ||
); | ||
} | ||
|
||
if (user) { | ||
return <></>; | ||
} | ||
|
||
redirect("/"); | ||
}; | ||
|
||
export default NewProjectAI; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"use client"; | ||
|
||
import { redirect } from "next/navigation"; | ||
import { useAuth } from "@/supabase/auth/provider"; | ||
import { LoadingDots } from "@/components/LoadingDots"; | ||
|
||
export const revalidate = 0; | ||
|
||
const AI = () => { | ||
const { initial, user } = useAuth(); | ||
|
||
if (initial) { | ||
return ( | ||
<LoadingDots className="fixed inset-0 flex items-center justify-center" /> | ||
); | ||
} | ||
|
||
if (user) { | ||
return <></>; | ||
} | ||
|
||
redirect("/"); | ||
}; | ||
|
||
export default AI; |
Submodule botway-lua
deleted from
24ccd8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,6 @@ | |
"outputs": ["dist/**"], | ||
"cache": false | ||
}, | ||
"lint": { | ||
"outputs": [] | ||
}, | ||
"dev": { | ||
"cache": true | ||
}, | ||
|