start work

This commit is contained in:
Nyx 2025-04-06 01:04:01 -05:00
parent 80f292df93
commit 5ca1dddc94
7 changed files with 1502 additions and 0 deletions

1
.gitignore vendored
View file

@ -162,3 +162,4 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
node_modules/

10
app/app.py Normal file
View file

@ -0,0 +1,10 @@
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def home():
return render_template('index.xht')
if __name__ == '__main__':
app.run(host="0.0.0.0", port=8080)

1
app/templates/index.css Normal file
View file

@ -0,0 +1 @@
@import "tailwindcss";

15
app/templates/index.xht Normal file
View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>WebDICT</title>
<script src="https://cdn.tailwindcss.com"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<span class="box-decoration-clone bg-linear-to-r from-indigo-600 to-pink-500 px-2 text-white ...">
WebDICT
</span>
</body>
</html>

1462
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

6
package.json Normal file
View file

@ -0,0 +1,6 @@
{
"dependencies": {
"@tailwindcss/vite": "^4.1.3",
"tailwindcss": "^4.1.3"
}
}

7
vite.config.ts Normal file
View file

@ -0,0 +1,7 @@
import { defineConfig } from 'vite'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [
tailwindcss(),
],
})