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

Commit

Permalink
botway(core): update the main page 🏗️
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Nov 17, 2023
1 parent 91851c7 commit 397c45a
Show file tree
Hide file tree
Showing 9 changed files with 129 additions and 134 deletions.
10 changes: 5 additions & 5 deletions core/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ const Home = ({ user }: any) => {
<DashLayout name={user.user_metadata["name"]} href="Projects">
<div className="flex-1 flex-grow overflow-auto">
<div className="py-4 px-5">
<div className="my-2">
<div className="flex">
<h3 className="text-xl text-white font-mono">
Welcome to Botway
</h3>
<div className="border-l flex items-center text-white place-content-center justify-center border-r border-b border-gray-800 p-12 rounded-xl bg-grid-gray-800">
<div className="items-center">
<h2 className="text-xl font-mono mr-3">
<span className="font-bold">Welcome To Botway 👋</span>
</h2>
</div>
</div>
<div className="my-8 space-y-8">
Expand Down
1 change: 1 addition & 0 deletions core/assets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@import "config/vars.scss";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.cdnfonts.com/css/farray");

body {
Expand Down
6 changes: 3 additions & 3 deletions core/components/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ export const DashLayout = ({ children, name, href }: any) => {
<div className="border-b py-5 px-6 border-gray-800">
<div className="flex space-x-3 mb-2 font-normal">
<span className="text-sm text-gray-200 w-full">
Dashboard
Services
</span>
</div>
<ul className="space-y-1">
<a className="block" target="_self" href="/">
<button className="group flex max-w-full cursor-pointer items-center space-x-2 border-gray-800 py-1 font-normal outline-none focus-visible:z-10 focus-visible:ring-1">
<ContainerIcon />
<span
title="My projects"
title="My Projects"
className="w-full truncate text-sm text-gray-400 hover:text-white transition"
>
My projects
My Projects
</span>
</button>
</a>
Expand Down
14 changes: 7 additions & 7 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
},
"dependencies": {
"@apollo/client": "^3.8.7",
"@faker-js/faker": "^8.2.0",
"@faker-js/faker": "^8.3.1",
"@headlessui/react": "^1.7.17",
"@primer/octicons-react": "^19.8.0",
"@supabase/auth-helpers-nextjs": "^0.8.7",
"@supabase/supabase-js": "^2.38.4",
"@tanstack/react-query": "^5.8.3",
"ai": "^2.2.22",
"@tanstack/react-query": "^5.8.4",
"ai": "^2.2.24",
"ajv": "^8.12.0",
"autoprefixer": "10.4.16",
"bcryptjs": "^2.4.3",
Expand All @@ -29,11 +29,11 @@
"formik": "^2.4.5",
"graphql": "^16.8.1",
"graphql-ws": "^5.14.2",
"jose": "^5.1.0",
"jose": "^5.1.1",
"marked": "^10.0.0",
"mini-svg-data-uri": "^1.4.4",
"next": "14.0.2",
"octokit": "^3.1.1",
"next": "14.0.3",
"octokit": "^3.1.2",
"postcss": "8.4.31",
"postcss-nested": "^6.0.1",
"react": "18.2.0",
Expand All @@ -50,7 +50,7 @@
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"@types/bcryptjs": "^2.4.6",
"@types/node": "^20.9.0",
"@types/node": "^20.9.1",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"@types/slug": "^5.0.7",
Expand Down
1 change: 1 addition & 0 deletions core/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ module.exports = {
extend: {
fontFamily: {
mono: ["JetBrains Mono"],
ibm: ["IBM Plex Sans"],
farray: ["Farray"],
},
},
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ require (
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.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/rivo/tview v0.0.0-20231113063814-05d01944a18b // indirect
github.com/rivo/tview v0.0.0-20231115183240-7c9e464bac02 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/sagikazarmark/locafero v0.3.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ github.com/rivo/tview v0.0.0-20231102183219-1b91b8131c43 h1:2b19kXs3HdZLq3yRRFnE
github.com/rivo/tview v0.0.0-20231102183219-1b91b8131c43/go.mod h1:nVwGv4MP47T0jvlk7KuTTjjuSmrGO4JF0iaiNt4bufE=
github.com/rivo/tview v0.0.0-20231113063814-05d01944a18b h1:CS56tneKbrK2tluHqWTzDWuJSl9nCIgbBOgt2lOTFBg=
github.com/rivo/tview v0.0.0-20231113063814-05d01944a18b/go.mod h1:nVwGv4MP47T0jvlk7KuTTjjuSmrGO4JF0iaiNt4bufE=
github.com/rivo/tview v0.0.0-20231115183240-7c9e464bac02 h1:UkSrnoeeuKdeNFe4ghSjZmp7tA5B1CQKnvV1By9FSYw=
github.com/rivo/tview v0.0.0-20231115183240-7c9e464bac02/go.mod h1:nVwGv4MP47T0jvlk7KuTTjjuSmrGO4JF0iaiNt4bufE=
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.4.3/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
Expand Down
4 changes: 2 additions & 2 deletions packages/botway.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"js-yaml": "^4.1.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.8",
"@types/node": "^20.8.10",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.9.1",
"typescript": "^5.2.2"
},
"engines": {
Expand Down
Loading

0 comments on commit 397c45a

Please sign in to comment.