Spaces:
Running

code-nepting / index.html
olive1970's picture
undefined - Initial Deployment
e880fc4 verified
Raw History Blame Contribute Delete
1.93 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to Our Site</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
body {
background-color: #f8fafc;
}
</style>
</head>
<body class="font-sans antialiased text-gray-800">
<main class="min-h-screen flex items-center justify-center">
<div class="text-center">
<h1 class="text-8xl font-bold text-blue-600 mb-8" id="result"></h1>
<p class="text-xl text-gray-600">Calcul: (jour + mois) × 200 + (jour + mois) + 314159</p>
</div>
</main>
<script>
document.addEventListener('DOMContentLoaded', () => {
const now = new Date();
const day = now.getDate();
const month = now.getMonth() + 1; // Months are 0-indexed
const calculation = (day + month) * 200 + (day + month) + 314159;
document.getElementById('result').textContent = calculation;
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=olive1970/code-nepting" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>