Skip to content

Commit

Permalink
start site
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin-Morette committed Apr 26, 2024
1 parent bd23c23 commit b348e2c
Show file tree
Hide file tree
Showing 8 changed files with 233 additions and 118 deletions.
3 changes: 2 additions & 1 deletion frontend/.env.sample
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# call it in React with import.meta.env.VITE_BACKEND_URL
VITE_BACKEND_URL=http://localhost:5000
VITE_BACKEND_URL=http://localhost:5000
API_KEY=UUID
169 changes: 169 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"fix": "prettier --write . && eslint --fix --ext .jsx ."
},
"dependencies": {
"axios": "^1.6.8",
"dotenv": "^16.4.5",
"prop-types": "^15.8.1",
"react": "^18.0.0",
"react-dom": "^18.0.0"
Expand Down
56 changes: 2 additions & 54 deletions frontend/src/App.css
Original file line number Diff line number Diff line change
@@ -1,56 +1,4 @@
body {
* {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}

.App {
text-align: center;
}

.App-logo {
height: 40vmin;
pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}

.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}

.App-link {
color: #61dafb;
}

@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}

button {
font-size: calc(10px + 2vmin);
}
Loading

0 comments on commit b348e2c

Please sign in to comment.