chore: bootstrap initial HLL Vietnam project structure
This commit is contained in:
209
frontend/assets/css/styles.css
Normal file
209
frontend/assets/css/styles.css
Normal file
@@ -0,0 +1,209 @@
|
||||
:root {
|
||||
--bg: #0f120d;
|
||||
--bg-elevated: rgba(27, 33, 24, 0.92);
|
||||
--panel: rgba(21, 26, 19, 0.94);
|
||||
--border: rgba(159, 168, 141, 0.24);
|
||||
--text: #e7e0cf;
|
||||
--muted: #a9ad9a;
|
||||
--accent: #8ea062;
|
||||
--accent-strong: #b7c97d;
|
||||
--shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
|
||||
--max-width: 1120px;
|
||||
--font-main: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
font-family: var(--font-main);
|
||||
color: var(--text);
|
||||
background:
|
||||
linear-gradient(rgba(9, 11, 8, 0.68), rgba(9, 11, 8, 0.92)),
|
||||
radial-gradient(circle at top, rgba(84, 96, 59, 0.22), transparent 36%),
|
||||
linear-gradient(135deg, #161c14 0%, #0c100b 100%);
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.page-shell {
|
||||
width: min(100%, var(--max-width));
|
||||
margin: 0 auto;
|
||||
padding: 32px 20px 56px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 24px;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(23, 29, 19, 0.86), rgba(13, 16, 12, 0.95)),
|
||||
repeating-linear-gradient(
|
||||
90deg,
|
||||
rgba(255, 255, 255, 0.015) 0,
|
||||
rgba(255, 255, 255, 0.015) 1px,
|
||||
transparent 1px,
|
||||
transparent 24px
|
||||
);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.hero__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(142, 160, 98, 0.14), transparent 28%),
|
||||
linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero__content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 56px 28px;
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
text-align: center;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.logo-frame {
|
||||
width: min(240px, 72vw);
|
||||
aspect-ratio: 1 / 1;
|
||||
padding: 16px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border: 1px dashed rgba(183, 201, 125, 0.45);
|
||||
border-radius: 18px;
|
||||
background: rgba(12, 16, 10, 0.58);
|
||||
}
|
||||
|
||||
.logo-frame__image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0;
|
||||
font-size: 0.8rem;
|
||||
letter-spacing: 0.22em;
|
||||
text-transform: uppercase;
|
||||
color: var(--accent-strong);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
margin: 0;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
max-width: 12ch;
|
||||
font-size: clamp(2.2rem, 5vw, 4.6rem);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: clamp(1.5rem, 2.8vw, 2.2rem);
|
||||
}
|
||||
|
||||
.hero__text {
|
||||
max-width: 640px;
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.discord-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 52px;
|
||||
padding: 0 24px;
|
||||
border: 1px solid rgba(183, 201, 125, 0.45);
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, #8ea062 0%, #6e7f48 100%);
|
||||
color: #11150f;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
transition:
|
||||
transform 160ms ease,
|
||||
box-shadow 160ms ease,
|
||||
filter 160ms ease;
|
||||
box-shadow: 0 12px 30px rgba(110, 127, 72, 0.35);
|
||||
}
|
||||
|
||||
.discord-button:hover,
|
||||
.discord-button:focus-visible {
|
||||
transform: translateY(-1px);
|
||||
filter: brightness(1.04);
|
||||
box-shadow: 0 18px 36px rgba(110, 127, 72, 0.45);
|
||||
}
|
||||
|
||||
.content {
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.panel {
|
||||
padding: 28px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 24px;
|
||||
background: var(--panel);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.panel__header {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.video-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(159, 168, 141, 0.18);
|
||||
border-radius: 18px;
|
||||
background: #0a0c09;
|
||||
aspect-ratio: 16 / 9;
|
||||
}
|
||||
|
||||
.video-wrapper iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.page-shell {
|
||||
padding: 18px 14px 40px;
|
||||
}
|
||||
|
||||
.hero__content,
|
||||
.panel {
|
||||
padding: 22px 16px;
|
||||
}
|
||||
|
||||
.hero__text {
|
||||
font-size: 0.98rem;
|
||||
}
|
||||
|
||||
.discord-button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
1
frontend/assets/img/.gitkeep
Normal file
1
frontend/assets/img/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
4
frontend/assets/js/main.js
Normal file
4
frontend/assets/js/main.js
Normal file
@@ -0,0 +1,4 @@
|
||||
// Inicializacion minima de la landing de HLL Vietnam.
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
console.info("HLL Vietnam frontend ready");
|
||||
});
|
||||
64
frontend/index.html
Normal file
64
frontend/index.html
Normal file
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="es">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Comunidad hispana de HLL Vietnam. Accede al Discord oficial y descubre el trailer del proyecto."
|
||||
/>
|
||||
<title>Comunidad Hispana - HLL Vietnam</title>
|
||||
<link rel="stylesheet" href="./assets/css/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-shell">
|
||||
<header class="hero">
|
||||
<div class="hero__overlay"></div>
|
||||
<div class="hero__content">
|
||||
<div class="logo-frame">
|
||||
<img
|
||||
src="./assets/img/logo.png"
|
||||
alt="Logo de HLL Vietnam"
|
||||
class="logo-frame__image"
|
||||
/>
|
||||
</div>
|
||||
<p class="eyebrow">Comunidad táctica hispana</p>
|
||||
<h1>Comunidad Hispana - HLL Vietnam</h1>
|
||||
<p class="hero__text">
|
||||
Punto de encuentro para jugadores, escuadras y comunidad alrededor
|
||||
del futuro universo HLL Vietnam.
|
||||
</p>
|
||||
<a
|
||||
class="discord-button"
|
||||
href="https://discord.com/invite/PedEqZ2Xsa"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
Unirse al Discord
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="content">
|
||||
<section class="panel">
|
||||
<div class="panel__header">
|
||||
<p class="eyebrow">Trailer</p>
|
||||
<h2>Primer vistazo a HLL Vietnam</h2>
|
||||
</div>
|
||||
<div class="video-wrapper">
|
||||
<iframe
|
||||
src="https://www.youtube.com/embed/JzYzYNVWZ_A"
|
||||
title="Trailer HLL Vietnam"
|
||||
loading="lazy"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
referrerpolicy="strict-origin-when-cross-origin"
|
||||
allowfullscreen
|
||||
></iframe>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<script src="./assets/js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user