33 lines
1.4 KiB
Python
33 lines
1.4 KiB
Python
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>pywpr docs</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
</head>
|
|
<body class="font-sans min-h-[90vh] flex flex-col items-center">
|
|
<div class="w-full max-w-[80vw] flex gap-5 h-10 bg-slate-900/50 py-5 fixed my-5 p-6 rounded-full backdrop-blur-md lg:max-w-3xl items-center justift-around text-white">
|
|
<a class="font-bold" href="./">PyWPR docs</a>
|
|
</div>
|
|
<div>
|
|
<div class="inline-flex flex-col gap-5 items-center max-w-[85vw] mt-20">
|
|
<h1 class="text-4xl">
|
|
PyWPR docs
|
|
</h1>
|
|
|
|
<div class="flex flex-col gap-3 w-full p-5 border rounded-xl bg-gradient-to-br from-green-50 to-purple-100">
|
|
<div class="flex gap-1.5 *:w-[12px] *:h-[12px] *:bg-slate-800 mb-3 *:rounded-full *:transition ">
|
|
<span class="hover:bg-red-600"></span>
|
|
<span class="hover:bg-yellow-300"></span>
|
|
<span class="hover:bg-green-500"></span>
|
|
</div>
|
|
<py!>
|
|
from pages import pages
|
|
for i, (name, url) in enumerate(pages):
|
|
e(f'<a href="{url}" class="text-blue-600 font-mono text-lg">{i+1}. {name}</a>')
|
|
</py!>
|
|
</div></div></div>
|
|
</body>
|
|
</html> |