Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
botway(core): publishing soon 📡
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Jul 31, 2023
1 parent 1ad15b8 commit 5206a3e
Show file tree
Hide file tree
Showing 8 changed files with 1,805 additions and 764 deletions.
14 changes: 7 additions & 7 deletions core/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,18 +228,16 @@ const Home = ({ user }: any) => {
)}
</Menu.Item>
<Menu.Item>
{({ active }) => (
{() => (
<button
className={`${
active ? "bg-bwdefualt" : ""
} group flex w-full text-white items-center rounded-lg px-2 py-2 text-sm`}
onClick={() => setPromptOpen(true)}
className={`cursor-context-menu group flex w-full text-white items-center rounded-lg px-2 py-2 text-sm`}
// onClick={() => setPromptOpen(true)}
>
<SparkleFillIcon
size={18}
className="fill-blue-700 mr-2"
/>
<h1 className="font-mono">Botway AI</h1>
<h1 className="font-mono">Botway AI - Soon</h1>
</button>
)}
</Menu.Item>
Expand Down Expand Up @@ -957,7 +955,9 @@ const Home = ({ user }: any) => {
)
) : (
<div className="items-center" style={{ margin: "22px" }}>
<h1 className="text-sm md:text-xl text-white">Done 🤝</h1>
<h1 className="text-sm md:text-xl text-white">
Done 🤝
</h1>
</div>
)}
</div>
Expand Down
2 changes: 1 addition & 1 deletion core/app/project/[id]/env/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ const Env = ({ user, projectId }: any) => {
<button
type="button"
onClick={() => setIsOpenAdd(true)}
className="flex border-gray-800 hover:bg-secondary border p-0.5 outline-none ease-out duration-200 rounded-md outline-offset-1 transition-all focus:outline-4"
className="flex border-gray-800 bg-bwdefualt hover:bg-secondary border p-0.5 outline-none ease-out duration-200 rounded-md outline-offset-1 transition-all focus:outline-4"
>
<span className="relative cursor-pointer inline-flex items-center place-content-center space-x-2 text-center font-regular outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 text-blue-700 shadow-sm px-2.5 py-1">
<PlusIcon />
Expand Down
4 changes: 2 additions & 2 deletions core/components/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,14 @@ export const DashLayout = ({ children, name, href }: any) => {
</span>
</a>
<a
href="/ai"
// href="/ai"
className="flex border-gray-800 hover:bg-secondary border rounded p-0 outline-none outline-offset-1 transition-all focus:outline-4"
>
<span className="relative cursor-pointer inline-flex items-center space-x-2 text-center font-regular ease-out duration-200 rounded outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 text-blue-700 shadow-sm text-xs px-2.5 py-1">
<SparkleFillIcon />

<span className="hidden font-extrabold text-gray-500 md:block">
AI
AI - Soon
</span>
</span>
</a>
Expand Down
4 changes: 2 additions & 2 deletions core/components/Layout/project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,14 @@ export const ProjectLayout = ({
</span>
</a>
<a
href="/ai"
// href="/ai"
className="flex border-gray-800 hover:bg-secondary border rounded p-0 outline-none outline-offset-1 transition-all focus:outline-4"
>
<span className="relative cursor-pointer inline-flex items-center space-x-2 text-center font-regular ease-out duration-200 rounded outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 text-blue-700 shadow-sm text-xs px-2.5 py-1">
<SparkleFillIcon />

<span className="hidden font-extrabold text-gray-500 md:block">
AI
AI - Soon
</span>
</span>
</a>
Expand Down
6 changes: 3 additions & 3 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
"dependencies": {
"@faker-js/faker": "^8.0.2",
"@headlessui/react": "^1.7.16",
"@primer/octicons-react": "^19.4.0",
"@primer/octicons-react": "^19.5.0",
"@supabase/auth-helpers-nextjs": "^0.7.3",
"@supabase/supabase-js": "^2.31.0",
"@tanstack/react-query": "^4.32.0",
"ai": "^2.1.27",
"ai": "^2.1.28",
"ajv": "^8.12.0",
"autoprefixer": "10.4.14",
"bcryptjs": "^2.4.3",
"boring-avatars": "^1.10.1",
"clsx": "^2.0.0",
"csstype": "^3.1.2",
"encoding": "^0.1.13",
"flowbite": "^1.7.0",
"flowbite": "^1.8.0",
"flowbite-react": "^0.5.0",
"formik": "^2.4.2",
"graphql": "^16.7.1",
Expand Down
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/abdfnx/looker v0.1.0
github.com/abdfnx/resto v0.1.6
github.com/abdfnx/tran v0.1.43
github.com/botwayorg/boa v0.1.0
github.com/botwayorg/boa v0.1.1
github.com/botwayorg/get-latest v0.1.61
github.com/botwayorg/gh v0.1.2
github.com/botwayorg/git v0.0.0-20220813023031-a7a261511635
Expand All @@ -27,7 +27,7 @@ require (
github.com/muesli/termenv v0.15.2
github.com/spf13/cobra v1.7.0
github.com/spf13/viper v1.16.0
github.com/tidwall/gjson v1.14.4
github.com/tidwall/gjson v1.15.0
github.com/tidwall/sjson v1.2.5
golang.org/x/sys v0.10.0
golang.org/x/term v0.10.0
Expand Down Expand Up @@ -68,13 +68,13 @@ require (
github.com/magiconair/properties v1.8.7 // indirect
github.com/manifoldco/promptui v0.9.0 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/microcosm-cc/bluemonday v1.0.24 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/microcosm-cc/bluemonday v1.0.25 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/pelletier/go-toml/v2 v2.0.9 // indirect
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
Expand All @@ -83,7 +83,7 @@ require (
github.com/sahilm/fuzzy v0.1.0 // indirect
github.com/scmn-dev/browser v0.1.3 // indirect
github.com/shurcooL/githubv4 v0.0.0-20230704064427-599ae7bbf278 // indirect
github.com/shurcooL/graphql v0.0.0-20230704054941-24ceaa0402e4 // indirect
github.com/shurcooL/graphql v0.0.0-20230722043721-ed46e5a46466 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
Expand All @@ -94,7 +94,7 @@ require (
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4 // indirect
github.com/yuin/goldmark v1.5.4 // indirect
github.com/yuin/goldmark v1.5.5 // indirect
github.com/yuin/goldmark-emoji v1.0.2 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/sync v0.3.0 // indirect
Expand Down
14 changes: 14 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuP
github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
github.com/botwayorg/boa v0.1.0 h1:4bXyXRBybW4sbi10qw8C/duJliy1kMwbvfbLfuaWNug=
github.com/botwayorg/boa v0.1.0/go.mod h1:Skn4swS71olIcc4/LENfGPc59iY0+FnorVA68JVVxMY=
github.com/botwayorg/boa v0.1.1 h1:oJ5ovbJCrea/7qFf5Rv5O4X2qZkIsT5AON8FSJ+I+ko=
github.com/botwayorg/boa v0.1.1/go.mod h1:6cRX15dREHjUY0YnBPe8/2tCrkracnj0iw8p5712NfA=
github.com/botwayorg/get-latest v0.1.61 h1:396dGAfi6p6WBz+Au8UXFbQzFuq2allHwf/YApCQDIU=
github.com/botwayorg/get-latest v0.1.61/go.mod h1:i/gTs/Iu/wG4Q5dyIyLbRQiZZZkbNcn3D3Rk8hMef8Y=
github.com/botwayorg/gh v0.1.2 h1:P+GgzKW0k4AaDwNQoIGT6/mqJq/kc9CTdenKMVh78SE=
Expand Down Expand Up @@ -268,12 +270,16 @@ github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRC
github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU=
github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U=
github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d h1:5PJl274Y63IEHC+7izoQE9x6ikvDFZS2mDVS3drnohI=
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/microcosm-cc/bluemonday v1.0.21/go.mod h1:ytNkv4RrDrLJ2pqlsSI46O6IVXmZOBBD4SaJyDwwTkM=
github.com/microcosm-cc/bluemonday v1.0.24 h1:NGQoPtwGVcbGkKfvyYk1yRqknzBuoMiUrO6R7uFTPlw=
github.com/microcosm-cc/bluemonday v1.0.24/go.mod h1:ArQySAMps0790cHSkdPEJ7bGkF2VePWH773hsJNSHf8=
github.com/microcosm-cc/bluemonday v1.0.25 h1:4NEwSfiJ+Wva0VxN5B8OwMicaJvD8r9tlJWm9rtloEg=
github.com/microcosm-cc/bluemonday v1.0.25/go.mod h1:ZIOjCQp1OrzBBPIJmfX4qDYFuhU02nx4bn030ixfHLE=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
Expand All @@ -293,6 +299,8 @@ github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ=
github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4=
github.com/pelletier/go-toml/v2 v2.0.9 h1:uH2qQXheeefCCkuBBSLi7jCiSmj3VRh2+Goq2N7Xxu0=
github.com/pelletier/go-toml/v2 v2.0.9/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc=
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU=
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
Expand Down Expand Up @@ -324,6 +332,8 @@ github.com/shurcooL/graphql v0.0.0-20220606043923-3cf50f8a0a29 h1:B1PEwpArrNp4dk
github.com/shurcooL/graphql v0.0.0-20220606043923-3cf50f8a0a29/go.mod h1:AuYgA5Kyo4c7HfUmvRGs/6rGlMMV/6B1bVnB9JxJEEg=
github.com/shurcooL/graphql v0.0.0-20230704054941-24ceaa0402e4 h1:mml6hFh5/R7RH7CjJd/F62o1tyA5CJmY7MK4ig4OhTw=
github.com/shurcooL/graphql v0.0.0-20230704054941-24ceaa0402e4/go.mod h1:/uu2mVLKNJF2WV+6k3bWTZIWPh/NoxYCmevFXq2MvC0=
github.com/shurcooL/graphql v0.0.0-20230722043721-ed46e5a46466 h1:17JxqqJY66GmZVHkmAsGEkcIu0oCe3AM420QDgGwZx0=
github.com/shurcooL/graphql v0.0.0-20230722043721-ed46e5a46466/go.mod h1:9dIRpgIY7hVhoqfe0/FcYp0bpInZaT7dc3BYOprrIUE=
github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM=
github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ=
github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA=
Expand Down Expand Up @@ -356,6 +366,8 @@ github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNG
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
github.com/tidwall/gjson v1.14.4 h1:uo0p8EbA09J7RQaflQ1aBRffTR7xedD2bcIVSYxLnkM=
github.com/tidwall/gjson v1.14.4/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
github.com/tidwall/gjson v1.15.0 h1:5n/pM+v3r5ujuNl4YLZLsQ+UE5jlkLVm7jMzT5Mpolw=
github.com/tidwall/gjson v1.15.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
Expand All @@ -375,6 +387,8 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t
github.com/yuin/goldmark v1.5.2/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/goldmark v1.5.4 h1:2uY/xC0roWy8IBEGLgB1ywIoEJFGmRrX21YQcvGZzjU=
github.com/yuin/goldmark v1.5.4/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/goldmark v1.5.5 h1:IJznPe8wOzfIKETmMkd06F8nXkmlhaHqFRM9l1hAGsU=
github.com/yuin/goldmark v1.5.5/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/goldmark-emoji v1.0.1 h1:ctuWEyzGBwiucEqxzwe0SOYDXPAucOrE9NQC18Wa1os=
github.com/yuin/goldmark-emoji v1.0.1/go.mod h1:2w1E6FEWLcDQkoTE+7HU6QF1F6SLlNGjRIBbIZQFqkQ=
github.com/yuin/goldmark-emoji v1.0.2 h1:c/RgTShNgHTtc6xdz2KKI74jJr6rWi7FPgnP9GAsO5s=
Expand Down
Loading

0 comments on commit 5206a3e

Please sign in to comment.