This commit is contained in:
devdatt 2025-11-23 09:11:04 +05:30
parent 373c046acf
commit 5d7ba587f6
2 changed files with 340 additions and 4 deletions

336
html/index.html Normal file
View File

@ -0,0 +1,336 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>URMIC powred by Shreebhattji</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--bg-1: #0f172a;
--bg-2: #1d4ed8;
--bg-3: #22c55e;
--accent: #f97316;
--text-main: #f9fafb;
--text-muted: #cbd5f5;
}
html,
body {
height: 100%;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
sans-serif;
color: var(--text-main);
background:
radial-gradient(circle at top left, #22c55e33, transparent 60%),
radial-gradient(circle at bottom right, #f9731633, transparent 65%),
linear-gradient(135deg, var(--bg-1), var(--bg-2));
overflow: hidden;
}
.page-wrap {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 1.5rem;
isolation: isolate;
}
.rain-container {
position: fixed;
inset: 0;
overflow: hidden;
pointer-events: none;
z-index: 0;
}
.raindrop {
position: absolute;
width: 2px;
height: 70px;
background: linear-gradient(
to bottom,
rgba(255, 255, 255, 0.9),
rgba(255, 255, 255, 0)
);
opacity: 0.55;
border-radius: 999px;
filter: blur(0.3px);
animation-name: fall;
animation-timing-function: linear;
animation-iteration-count: infinite;
will-change: transform;
}
@keyframes fall {
0% {
transform: translate3d(0, -120px, 0);
}
100% {
transform: translate3d(0, 110vh, 0);
}
}
.card {
position: relative;
z-index: 1;
max-width: 720px;
width: 100%;
padding: 2.5rem 2rem;
border-radius: 1.75rem;
border: 1px solid rgba(148, 163, 184, 0.6);
background: linear-gradient(
135deg,
rgba(15, 23, 42, 0.9),
rgba(15, 23, 42, 0.7)
)
border-box;
backdrop-filter: blur(16px);
box-shadow:
0 20px 60px rgba(15, 23, 42, 0.7),
0 0 0 1px rgba(15, 23, 42, 0.9);
display: flex;
flex-direction: column;
gap: 1.25rem;
}
.badge {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.25rem 0.7rem;
border-radius: 999px;
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--text-main);
background: linear-gradient(
90deg,
rgba(59, 130, 246, 0.6),
rgba(34, 197, 94, 0.75)
);
}
.badge-dot {
width: 0.35rem;
height: 0.35rem;
border-radius: 999px;
background: #bbf7d0;
}
h1 {
font-size: clamp(2.1rem, 4vw, 2.8rem);
line-height: 1.08;
}
h1 span.highlight {
font-size: clamp(1.1rem, 2vw, 1.8rem);
background-image: linear-gradient(
120deg,
#22c55e,
#a855f7,
#f97316
);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
white-space: nowrap;
}
p.subtitle {
font-size: 0.95rem;
color: var(--text-muted);
max-width: 40rem;
}
.tagline {
margin-top: 0.5rem;
font-size: 0.9rem;
color: #e5e7eb;
}
.pill-row {
display: flex;
flex-wrap: wrap;
gap: 0.65rem;
margin-top: 0.75rem;
}
.pill {
padding: 0.35rem 0.8rem;
border-radius: 999px;
border: 1px solid rgba(148, 163, 184, 0.8);
font-size: 0.75rem;
color: #e5e7eb;
background: radial-gradient(
circle at top left,
rgba(59, 130, 246, 0.22),
rgba(15, 23, 42, 0.7)
);
}
.footer {
margin-top: 1.5rem;
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
align-items: center;
justify-content: space-between;
font-size: 0.8rem;
color: var(--text-muted);
}
.brand {
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.brand span {
color: var(--accent);
}
.links {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.link {
text-decoration: none;
font-size: 0.8rem;
color: var(--text-muted);
border-bottom: 1px dashed rgba(148, 163, 184, 0.7);
}
.link:hover {
color: #ffffff;
border-bottom-style: solid;
}
@media (min-width: 640px) {
.card {
padding: 3rem;
}
}
@media (max-width: 480px) {
.footer {
align-items: flex-start;
gap: 0.4rem;
}
}
</style>
</head>
<body>
<div class="rain-container" id="rain"></div>
<div class="page-wrap">
<main class="card">
<div class="badge">
<span class="badge-dot"></span>
<span>Any formate to any formate</span>
</div>
<h1>
Universal Encoder / Decoder
<span class="highlight">powred by Shreebhattji</span>
</h1>
<p class="subtitle">
Full Free Taining
</p>
<p class="subtitle">
10 Year Long Term Software Support
</p>
<p class="subtitle">
Industry wide formate support
</p>
<p class="subtitle">
Wordwide availibility of hardware via hardware partners
</p>
<div class="pill-row">
<span class="pill"><a style="color: #ffffff;" href="https://www.facebook.com/WorldwideDigitalAssociation/">Facebook</a></span>
<span class="pill"><a style="color: #ffffff;" href="https://www.linkedin.com/in/dbhatt-org/">Linkedin</a></span>
<span class="pill"><a style="color: #ffffff;" href="https://wa.me/+918000741919">What's app</a></span>
<span class="pill"><a style="color: #ffffff;" href="mailto:hello@urmic.org">Email</a></span>
<span class="pill"><a style="color: #ffffff;" href="tel:+918000741919">Call Us</a></span>
</div>
<div class="footer">
<div class="brand">
URMIC • <span>Shreebhattji</span>
</div>
<div class="links">
<a href="https://urmic.org/trusted-partners/" class="link">Meet Out Partners</a>
</div>
</div>
</main>
</div>
<script>
(function () {
const container = document.getElementById("rain");
function generateRain() {
if (!container) return;
container.innerHTML = "";
// Density: more width -> more raindrops
const width = window.innerWidth;
const height = window.innerHeight;
const baseDensity = 0.16; // drops per vw
let drops = Math.floor(width * baseDensity);
if (window.innerWidth < 600) {
drops = Math.floor(width * 0.10);
} else if (window.innerWidth > 1400) {
drops = Math.floor(width * 0.18);
}
for (let i = 0; i < drops; i++) {
const drop = document.createElement("span");
drop.className = "raindrop";
const left = Math.random() * 100; // vw
const delay = Math.random() * -3; // negative so its already falling
const duration = 0.7 + Math.random() * 1.2; // seconds
const offsetY = Math.random() * height * 0.3;
drop.style.left = left + "vw";
drop.style.top = -120 - offsetY + "px";
drop.style.animationDuration = duration + "s";
drop.style.animationDelay = delay + "s";
drop.style.opacity = (0.35 + Math.random() * 0.55).toFixed(2);
container.appendChild(drop);
}
}
// Basic debounce for resize
let resizeTimer = null;
window.addEventListener("resize", () => {
clearTimeout(resizeTimer);
resizeTimer = setTimeout(generateRain, 180);
});
window.addEventListener("DOMContentLoaded", generateRain);
})();
</script>
</body>
</html>

View File

@ -317,9 +317,11 @@ server {
EOL EOL
rm /var/www/html/index.nginx-debian.html; rm /var/www/html/index.nginx-debian.html;
sudo mkdir -p /var/www/html/hls/shree;
sudo mkdir -p /var/www/html/dash/shree;
sudo mkdir -p /var/www/encoder;
cp -r html/* /var/www/html/ cp -r html/* /var/www/html/
sudo cp -r encoder/* /var/www/encoder/
sudo cp -r encoder /var/www/
sudo chmod +x /usr/local/bin/nginx_system_monitor_sampler.py sudo chmod +x /usr/local/bin/nginx_system_monitor_sampler.py
@ -331,8 +333,6 @@ sudo systemctl status encoder-main.service --no-pager
sudo systemctl enable --now srt.service sudo systemctl enable --now srt.service
sudo systemctl status srt.service --no-pager sudo systemctl status srt.service --no-pager
sudo mkdir -p /var/www/html/hls/shree;
sudo mkdir -p /var/www/html/dash/shree;
sudo systemctl enable --now nginx.service sudo systemctl enable --now nginx.service
sudo systemctl status nginx.service --no-pager sudo systemctl status nginx.service --no-pager
sudo chmod -R 777 /var/www/html/* sudo chmod -R 777 /var/www/html/*