diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 4ddd332..4348261 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -33,6 +33,7 @@ jobs:
- name: Build server
run: |
cd server
+ echo "LLM_MODEL=llama3.2:1b\nMAX_LINEX=15\nPORT=5000" > .env
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o executable
- name: Setup SSH
@@ -44,9 +45,7 @@ jobs:
env:
SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
run: |
- # mkdir -p ~/.ssh
- # echo "$SSH_KEY" > ~/.ssh/id_deploy
- # chmod 600 ~/.ssh/id_deploy
ssh-keyscan -H hazemkrimi.tech >> ~/.ssh/known_hosts
rsync -avz --delete client/build/* deploy@hazemkrimi.tech:/var/www/touch-programming.hazemkrimi.tech/public
rsync -avz --delete server/executable deploy@hazemkrimi.tech:/var/www/touch-programming.hazemkrimi.tech/api
+ rsync -avz --delete server/.env deploy@hazemkrimi.tech:/var/www/touch-programming.hazemkrimi.tech/api
diff --git a/client/src/App.tsx b/client/src/App.tsx
index e075456..536109a 100644
--- a/client/src/App.tsx
+++ b/client/src/App.tsx
@@ -5,21 +5,16 @@ import Languages from 'pages/Languages';
import Typing from 'pages/Typing';
import NotFound from 'pages/NotFound';
-import Footer from 'components/Footer';
-
function App() {
return (
- <>
-
-
- } />
- } />
- } />
- } />
-
-
-
- >
+
+
+ } />
+ } />
+ } />
+ } />
+
+
);
}
diff --git a/client/src/components/Footer/index.css b/client/src/components/Footer/index.css
deleted file mode 100644
index fa94ac7..0000000
--- a/client/src/components/Footer/index.css
+++ /dev/null
@@ -1,12 +0,0 @@
-footer {
- text-align: center;
-
- width: 100%;
- padding: 1rem 0rem;
-
- background: var(--background);
-}
-
-footer a {
- color: var(--crimson);
-}
diff --git a/client/src/components/Footer/index.tsx b/client/src/components/Footer/index.tsx
deleted file mode 100644
index 2d1492d..0000000
--- a/client/src/components/Footer/index.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-import './index.css';
-
-function Footer() {
- return (
-
- );
-}
-
-export default Footer;
diff --git a/client/src/index.css b/client/src/index.css
index 04b5adf..668b119 100644
--- a/client/src/index.css
+++ b/client/src/index.css
@@ -31,9 +31,10 @@
-moz-osx-font-smoothing: grayscale;
}
-* {
- margin: 0;
- padding: 0;
+*, *::before, *::after {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
}
::-webkit-scrollbar {
@@ -56,11 +57,13 @@ a {
color: var(--white);
}
+html, body {
+ overflow: auto;
+}
+
body {
background: var(--background);
color: var(--white);
-
- min-height: 100vh;
}
body::-webkit-scrollbar {
@@ -72,7 +75,7 @@ body::-webkit-scrollbar-thumb {
}
.app {
- min-height: 100vh;
+ min-height: 100vh;
}
@media (min-width: 1441px) {
diff --git a/client/src/pages/Home/index.css b/client/src/pages/Home/index.css
index 0f65dbf..7e199ab 100644
--- a/client/src/pages/Home/index.css
+++ b/client/src/pages/Home/index.css
@@ -35,6 +35,10 @@ header p {
color: var(--white);
}
+header a {
+ color: var(--crimson);
+}
+
header span {
color: var(--crimson);
}
@@ -95,7 +99,7 @@ header .cta {
}
.benefits {
- padding: 2.5rem 1.25rem;
+ padding: 2.25rem 1.25rem;
}
.benefits h2 {
diff --git a/client/src/pages/Home/index.tsx b/client/src/pages/Home/index.tsx
index 2024c3e..26a89ff 100644
--- a/client/src/pages/Home/index.tsx
+++ b/client/src/pages/Home/index.tsx
@@ -11,7 +11,7 @@ function Home() {
Touch Programming
- Master touch typing with real code snippets from your favorite programming languages, powered by AI.
+ Master touch typing with real code snippets from your favorite programming languages, Open Source and powered by AI.
{isMobile ?
This app is made to be used in a desktop device. :