test / index.html
pablaofficeall's picture
Привет создай мне охуительную страницу для ошибки 500 чтобы прямо охуительные космический дизайн был и кнопочка вернуться обратно на сайт - Initial Deployment
341b7ec verified
Raw History Blame Contribute Delete
7.93 kB
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>500 - Космическая ошибка</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.star {
position: absolute;
background-color: white;
border-radius: 50%;
animation: pulse 2s infinite;
}
.astronaut {
animation: float 6s ease-in-out infinite;
}
.planet {
animation: rotate 120s linear infinite;
}
.meteor {
position: absolute;
width: 2px;
height: 2px;
background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
animation: meteor 3s linear infinite;
}
@keyframes meteor {
0% { transform: translateX(0) translateY(0); opacity: 1; }
70% { opacity: 1; }
100% { transform: translateX(-1000px) translateY(500px); opacity: 0; }
}
</style>
</head>
<body class="bg-black text-white overflow-hidden h-screen relative">
<!-- Звездный фон -->
<div id="stars"></div>
<!-- Метеоры -->
<div class="meteor" style="top: 10%; left: 20%; animation-delay: 0s;"></div>
<div class="meteor" style="top: 30%; left: 80%; animation-delay: 1.5s;"></div>
<div class="meteor" style="top: 70%; left: 50%; animation-delay: 0.8s;"></div>
<!-- Основное содержимое -->
<div class="container mx-auto px-4 h-full flex flex-col justify-center items-center relative z-10">
<!-- Планета -->
<div class="planet absolute -left-20 -top-20 opacity-20">
<svg width="400" height="400" viewBox="0 0 200 200">
<circle cx="100" cy="100" r="90" fill="#4F46E5" />
<path d="M100,10 C150,40 180,80 190,100 C180,120 150,160 100,190 C50,160 20,120 10,100 C20,80 50,40 100,10" fill="#7C3AED" opacity="0.8"/>
<ellipse cx="60" cy="80" rx="30" ry="15" fill="#A78BFA" opacity="0.6" transform="rotate(-20 60 80)"/>
<ellipse cx="140" cy="130" rx="25" ry="10" fill="#A78BFA" opacity="0.6" transform="rotate(30 140 130)"/>
</svg>
</div>
<!-- Космонавт -->
<div class="astronaut mb-8">
<svg width="150" height="150" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="8" r="4" fill="white"/>
<path d="M17 15V16C17 17.1046 16.1046 18 15 18H9C7.89543 18 7 17.1046 7 16V15C7 13.3431 8.34315 12 10 12H14C15.6569 12 17 13.3431 17 15Z" fill="white"/>
<circle cx="10" cy="8" r="1" fill="#4F46E5"/>
<circle cx="14" cy="8" r="1" fill="#4F46E5"/>
<path d="M10 11L12 9M12 9L14 11M12 9V12" stroke="#4F46E5" stroke-width="0.5"/>
<path d="M16 5L18 3M18 3L20 5M18 3V6" stroke="white" stroke-width="0.5"/>
<path d="M8 5L6 3M6 3L4 5M6 3V6" stroke="white" stroke-width="0.5"/>
</svg>
</div>
<!-- Текст ошибки -->
<h1 class="text-8xl font-bold mb-4 text-transparent bg-clip-text bg-gradient-to-r from-purple-400 to-pink-600">500</h1>
<h2 class="text-3xl font-semibold mb-6">Ошибка сервера</h2>
<p class="text-xl text-center max-w-2xl mb-8 text-gray-300">
Наш сервер столкнулся с неожиданной проблемой и не смог выполнить ваш запрос.
Наши инженеры уже работают над решением проблемы где-то в космосе.
</p>
<!-- Кнопка возврата -->
<button onclick="window.history.back()" class="relative inline-flex items-center px-8 py-4 overflow-hidden text-lg font-medium text-white border-2 border-purple-600 rounded-full group hover:bg-purple-600 transition-all duration-300 ease-out">
<span class="absolute left-0 block w-full h-0 transition-all bg-purple-600 opacity-100 group-hover:h-full top-1/2 group-hover:top-0 duration-400 ease"></span>
<span class="absolute right-0 flex items-center justify-start w-10 h-10 duration-300 transform translate-x-full group-hover:translate-x-0 ease">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"></path>
</svg>
</span>
<span class="relative z-10">Вернуться на Землю</span>
</button>
</div>
<script>
// Создаем звездное небо
document.addEventListener('DOMContentLoaded', function() {
const starsContainer = document.getElementById('stars');
const starsCount = 200;
for (let i = 0; i < starsCount; i++) {
const star = document.createElement('div');
star.className = 'star';
// Случайные размеры
const size = Math.random() * 3;
star.style.width = `${size}px`;
star.style.height = `${size}px`;
// Случайное положение
star.style.left = `${Math.random() * 100}%`;
star.style.top = `${Math.random() * 100}%`;
// Случайная прозрачность
star.style.opacity = Math.random();
// Случайная длительность анимации
star.style.animationDuration = `${2 + Math.random() * 3}s`;
star.style.animationDelay = `${Math.random() * 5}s`;
starsContainer.appendChild(star);
}
// Добавляем эффект параллакса при движении мыши
document.addEventListener('mousemove', function(e) {
const x = e.clientX / window.innerWidth;
const y = e.clientY / window.innerHeight;
const planet = document.querySelector('.planet');
const astronaut = document.querySelector('.astronaut');
planet.style.transform = `translate(${x * 20 - 10}px, ${y * 20 - 10}px)`;
astronaut.style.transform = `translate(${x * 10 - 5}px, ${y * 10 - 5}px)`;
});
});
</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=pablaofficeall/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>