-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
44 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link | ||
id="favicon" | ||
rel="icon" | ||
href="https://res.cloudinary.com/wilco/image/upload/wilco-assets/logos/favicon_bfmgpi.ico" | ||
/> | ||
<title>Wilco stats</title> | ||
</head> | ||
<style> | ||
body { | ||
height: 100vh; | ||
margin: 0; | ||
padding: 0; | ||
background-color: #303237; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
color: #ffffff; | ||
} | ||
pre { | ||
font-size: larger; | ||
} | ||
p { | ||
font-size: large; | ||
} | ||
</style> | ||
<body> | ||
<h1>Wilco badge generator</h1> | ||
<img src="https://wilcobadge.vercel.app/api/handler?wilconame=aloncarmel" /> | ||
|
||
<h2>How to use</h2> | ||
<p>Paste this image tag in your HTML / Markdown file</p> | ||
<pre> | ||
<span><</span><span>img src="https://wilcobadge.vercel.app/api/handler?wilconame=[YOUR WILCO NAME]" /<span>></span></span> | ||
</pre> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,2 @@ | ||
//! THIS FILE NOT REALLY MEAN SOMETHING THE API IS WHAT DO THE JOB | ||
import fs from 'node:fs'; | ||
import express from 'express'; | ||
|
||
const app = express(); | ||
app.use(express.static('.')); | ||
|
||
const listener = app.listen(3000, function () { | ||
console.log('Your app is listening on port ' + 3000); | ||
}); | ||
console.log({ '🏄♂️': '🦦' }); |