Skip to content

Commit

Permalink
Vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
Thedogecraft committed Jun 30, 2024
1 parent 8dcd3c2 commit 73fd1ee
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
6 changes: 6 additions & 0 deletions public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,15 @@ input {
width: 140px;
font-family: var(--font);
}
.input::placeholder {
transition: 0.5s;
}
.input:focus {
width: 210px;
}
.input:focus::placeholder {
color: var(--color);
}
.search {
padding: 12px;
background: transparent;
Expand Down
1 change: 0 additions & 1 deletion public/js/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ function loadScript(src, onload) {
script.onload = onload;
document.head.appendChild(script);
}
console.clear();
if (!localStorage.getItem("hasVisited")) {
localStorage.setItem("hasVisited", true);

Expand Down
16 changes: 16 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": 2,
"builds": [
{
"src": "./index.js",
"use": "@vercel/node"
}
],
"routes": [
{ "handle": "filesystem" },
{
"src": "/.*",
"dest": "index.js"
}
]
}

0 comments on commit 73fd1ee

Please sign in to comment.