deje la embarra

This commit is contained in:
2026-01-13 18:09:52 -03:00
parent 6530856cf2
commit af47133ac7
11 changed files with 1911 additions and 221 deletions

5
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,5 @@
{
"python-envs.defaultEnvManager": "ms-python.python:conda",
"python-envs.defaultPackageManager": "ms-python.python:conda",
"python-envs.pythonProjects": []
}

View File

@@ -2,10 +2,19 @@
import { defineConfig } from 'astro/config';
import node from '@astrojs/node';
import tailwind from '@astrojs/tailwind';
import tailwindcss from '@tailwindcss/vite';
// https://astro.build/config
export default defineConfig({
integrations: [tailwind()],
adapter: node({
mode: 'standalone'
})
}),
vite: {
plugins: [tailwindcss()]
}
});

1606
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,6 +10,13 @@
},
"dependencies": {
"@astrojs/node": "^9.5.1",
"@tailwindcss/vite": "^4.1.18",
"astro": "^5.16.7"
},
"devDependencies": {
"@astrojs/tailwind": "^6.0.2",
"autoprefixer": "^10.4.23",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.19"
}
}

6
postcss.config.cjs Normal file
View File

@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

View File

@@ -0,0 +1,159 @@
---
// src/components/RenacerLanding.astro
const pilares = [
{
titulo: "Sustentabilidad y Tierra",
descripcion: "Desde nuestro invernadero 'Germinando Sueños' hasta el Jardín Ecológico. Cultivamos mizuna, mantenemos aves y enseñamos a la comunidad a reconectar con la naturaleza.",
icono: "🌱",
color: "bg-green-100 text-green-700"
},
{
titulo: "Solidaridad Activa",
descripcion: "Apoyo directo a familias con nuestro Comedor Solidario, entrega de canastas y el Ropero Infantil 'Kid Boutique'. Vestir y alimentar es también dar dignidad.",
icono: "🤝",
color: "bg-orange-100 text-orange-700"
},
{
titulo: "Inclusión y TEA",
descripcion: "Construyendo 'Mi Lugar Seguro'. Trabajamos en salas de autismo, perfiles sensoriales y políticas de discapacidad para un Quillota más inclusivo.",
icono: "🧩",
color: "bg-blue-100 text-blue-700"
}
];
const proyectos = [
{
nombre: "Germinando Sueños",
bajada: "Reactivación de Invernadero",
detalle: "Un espacio educativo y productivo donde la comunidad aprende sobre cultivos, control orgánico de plagas y alimentación saludable.",
estado: "En curso"
},
{
nombre: "Mi Rincón Seguro",
bajada: "Salas de Contención TEA",
detalle: "Proyecto en alianza con SECPLAN para habilitar espacios adaptados sensorialmente para niños y niñas del espectro autista.",
estado: "En planificación"
},
{
nombre: "Ropero Solidario",
bajada: "Campaña de Invierno y Escolar",
detalle: "Recolección, lavado y reparación de prendas para darles una segunda vida y apoyar a familias monoparentales.",
estado: "Activo"
}
];
---
<nav class="bg-white shadow-sm sticky top-0 z-50">
<div class="max-w-6xl mx-auto px-4 py-4 flex justify-between items-center">
<div class="text-2xl font-bold text-green-700 tracking-tight">
Renacer<span class="text-slate-400">.</span>
</div>
<div class="hidden md:flex space-x-8 text-sm font-medium text-slate-600">
<a href="#nosotros" class="hover:text-green-600 transition">Nosotros</a>
<a href="#pilares" class="hover:text-green-600 transition">Qué Hacemos</a>
<a href="#proyectos" class="hover:text-green-600 transition">Proyectos</a>
<a href="#contacto" class="hover:text-green-600 transition">Contacto</a>
</div>
<button class="bg-green-600 text-white px-5 py-2 rounded-full text-sm font-semibold hover:bg-green-700 transition shadow-lg shadow-green-600/20">
Ser Voluntario
</button>
</div>
</nav>
<header class="relative bg-gradient-to-br from-green-50 to-emerald-100 pt-20 pb-32 overflow-hidden">
<div class="max-w-6xl mx-auto px-4 relative z-10 text-center">
<span class="inline-block py-1 px-3 rounded-full bg-white border border-green-200 text-green-700 text-xs font-bold tracking-wider mb-6">
📍 QUILLOTA, CHILE
</span>
<h1 class="text-5xl md:text-7xl font-bold text-slate-800 mb-6 leading-tight">
Sembrando esperanza, <br/>
<span class="text-transparent bg-clip-text bg-gradient-to-r from-green-600 to-emerald-500">cosechando comunidad.</span>
</h1>
<p class="text-xl text-slate-600 mb-10 max-w-2xl mx-auto leading-relaxed">
En Renacer trabajamos la tierra y el corazón. Desde la huerta comunitaria hasta el apoyo a la neurodivergencia, creamos redes de apoyo real.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<a href="#contacto" class="px-8 py-4 bg-slate-900 text-white rounded-xl font-semibold hover:bg-slate-800 transition">
Contáctanos
</a>
<a href="#proyectos" class="px-8 py-4 bg-white text-slate-700 border border-slate-200 rounded-xl font-semibold hover:bg-slate-50 transition">
Ver Proyectos
</a>
</div>
</div>
</header>
<section id="pilares" class="py-20 bg-white">
<div class="max-w-6xl mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-slate-800 mb-4">Nuestras áreas de acción</h2>
<p class="text-slate-500 max-w-2xl mx-auto">
No somos solo una oficina. Somos un espacio activo donde se cocina, se cultiva, se repara y se acoge.
</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
{pilares.map((pilar) => (
<div class="p-8 rounded-2xl bg-slate-50 border border-slate-100 hover:shadow-xl transition duration-300 group">
<div class={`w-14 h-14 rounded-xl flex items-center justify-center text-2xl mb-6 ${pilar.color} group-hover:scale-110 transition duration-300`}>
{pilar.icono}
</div>
<h3 class="text-xl font-bold text-slate-800 mb-3">{pilar.titulo}</h3>
<p class="text-slate-600 leading-relaxed text-sm">{pilar.descripcion}</p>
</div>
))}
</div>
</div>
</section>
<section id="proyectos" class="py-20 bg-slate-900 text-white relative overflow-hidden">
<div class="max-w-6xl mx-auto px-4 relative z-10">
<div class="flex flex-col md:flex-row justify-between items-end mb-12">
<div>
<h2 class="text-3xl md:text-4xl font-bold mb-4">Proyectos en Movimiento</h2>
<p class="text-slate-400">Iniciativas vivas que transforman nuestro entorno.</p>
</div>
</div>
<div class="grid md:grid-cols-3 gap-6">
{proyectos.map((proy) => (
<article class="bg-slate-800 rounded-xl p-6 hover:bg-slate-750 border border-slate-700 transition group">
<div class="flex justify-between items-start mb-4">
<span class="text-xs font-bold px-2 py-1 rounded bg-slate-700 text-green-400 uppercase tracking-wide">
{proy.estado}
</span>
</div>
<h3 class="text-xl font-bold mb-1 group-hover:text-green-400 transition">{proy.nombre}</h3>
<p class="text-sm text-slate-400 font-medium mb-4">{proy.bajada}</p>
<p class="text-sm text-slate-300 leading-relaxed border-t border-slate-700 pt-4">
{proy.detalle}
</p>
</article>
))}
</div>
</div>
</section>
<footer id="contacto" class="bg-white border-t border-slate-100 pt-16 pb-8">
<div class="max-w-6xl mx-auto px-4">
<div class="grid md:grid-cols-4 gap-12 mb-12">
<div class="col-span-1 md:col-span-2">
<span class="text-2xl font-bold text-slate-800 block mb-4">Renacer.</span>
<p class="text-slate-500 leading-relaxed max-w-sm">
Organización comunitaria dedicada al desarrollo social, ecológico e inclusivo en la comuna de Quillota.
</p>
</div>
<div>
<h4 class="font-bold text-slate-800 mb-4">Contacto</h4>
<ul class="space-y-2 text-sm text-slate-600">
<li>📍 Sector Altos de Serrano, Quillota</li>
<li>✉️ contacto@renacer-quillota.cl</li>
</ul>
</div>
</div>
<div class="border-t border-slate-100 pt-8 text-center text-sm text-slate-400">
<p>&copy; 2026 Centro Renacer.</p>
</div>
</div>
</footer>

View File

@@ -1,210 +1,30 @@
---
import astroLogo from '../assets/astro.svg';
import background from '../assets/background.svg';
interface Props {
title: string;
}
const { title } = Astro.props;
---
<div id="container">
<img id="background" src={background.src} alt="" fetchpriority="high" />
<main>
<section id="hero">
<a href="https://astro.build"
><img src={astroLogo.src} width="115" height="48" alt="Astro Homepage" /></a
>
<h1>
To get started, open the <code><pre>src/pages</pre></code> directory in your project.
</h1>
<section id="links">
<a class="button" href="https://docs.astro.build">Read our docs</a>
<a href="https://astro.build/chat"
>Join our Discord <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36"
><path
fill="currentColor"
d="M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83 97.68 97.68 0 0 0-29.11 0A72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.25 8.09C2.79 32.65-1.71 56.6.54 80.21a105.73 105.73 0 0 0 32.17 16.15 77.7 77.7 0 0 0 6.89-11.11 68.42 68.42 0 0 1-10.85-5.18c.91-.66 1.8-1.34 2.66-2a75.57 75.57 0 0 0 64.32 0c.87.71 1.76 1.39 2.66 2a68.68 68.68 0 0 1-10.87 5.19 77 77 0 0 0 6.89 11.1 105.25 105.25 0 0 0 32.19-16.14c2.64-27.38-4.51-51.11-18.9-72.15ZM42.45 65.69C36.18 65.69 31 60 31 53s5-12.74 11.43-12.74S54 46 53.89 53s-5.05 12.69-11.44 12.69Zm42.24 0C78.41 65.69 73.25 60 73.25 53s5-12.74 11.44-12.74S96.23 46 96.12 53s-5.04 12.69-11.43 12.69Z"
></path></svg
>
</a>
</section>
</section>
</main>
<!doctype html>
<html lang="es" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Centro Renacer Quillota - Solidaridad, Ecología e Inclusión" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>{title}</title>
</head>
<body class="bg-slate-50 text-slate-800">
<slot />
</body>
</html>
<a href="https://astro.build/blog/astro-5/" id="news" class="box">
<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"
><path
d="M24.667 12c1.333 1.414 2 3.192 2 5.334 0 4.62-4.934 5.7-7.334 12C18.444 28.567 18 27.456 18 26c0-4.642 6.667-7.053 6.667-14Zm-5.334-5.333c1.6 1.65 2.4 3.43 2.4 5.333 0 6.602-8.06 7.59-6.4 17.334C13.111 27.787 12 25.564 12 22.666c0-4.434 7.333-8 7.333-16Zm-6-5.333C15.111 3.555 16 5.556 16 7.333c0 8.333-11.333 10.962-5.333 22-3.488-.774-6-4-6-8 0-8.667 8.666-10 8.666-20Z"
fill="#111827"></path></svg
>
<h2>What's New in Astro 5.0?</h2>
<p>
From content layers to server islands, click to learn more about the new features and
improvements in Astro 5.0
</p>
</a>
</div>
<style>
#background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
filter: blur(100px);
<style is:global>
/* Importamos una fuente bonita */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');
body {
font-family: 'Outfit', sans-serif;
}
#container {
font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
height: 100%;
}
main {
height: 100%;
display: flex;
justify-content: center;
}
#hero {
display: flex;
align-items: start;
flex-direction: column;
justify-content: center;
padding: 16px;
}
h1 {
font-size: 22px;
margin-top: 0.25em;
}
#links {
display: flex;
gap: 16px;
}
#links a {
display: flex;
align-items: center;
padding: 10px 12px;
color: #111827;
text-decoration: none;
transition: color 0.2s;
}
#links a:hover {
color: rgb(78, 80, 86);
}
#links a svg {
height: 1em;
margin-left: 8px;
}
#links a.button {
color: white;
background: linear-gradient(83.21deg, #3245ff 0%, #bc52ee 100%);
box-shadow:
inset 0 0 0 1px rgba(255, 255, 255, 0.12),
inset 0 -2px 0 rgba(0, 0, 0, 0.24);
border-radius: 10px;
}
#links a.button:hover {
color: rgb(230, 230, 230);
box-shadow: none;
}
pre {
font-family:
ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono',
monospace;
font-weight: normal;
background: linear-gradient(14deg, #d83333 0%, #f041ff 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin: 0;
}
h2 {
margin: 0 0 1em;
font-weight: normal;
color: #111827;
font-size: 20px;
}
p {
color: #4b5563;
font-size: 16px;
line-height: 24px;
letter-spacing: -0.006em;
margin: 0;
}
code {
display: inline-block;
background:
linear-gradient(66.77deg, #f3cddd 0%, #f5cee7 100%) padding-box,
linear-gradient(155deg, #d83333 0%, #f041ff 18%, #f5cee7 45%) border-box;
border-radius: 8px;
border: 1px solid transparent;
padding: 6px 8px;
}
.box {
padding: 16px;
background: rgba(255, 255, 255, 1);
border-radius: 16px;
border: 1px solid white;
}
#news {
position: absolute;
bottom: 16px;
right: 16px;
max-width: 300px;
text-decoration: none;
transition: background 0.2s;
backdrop-filter: blur(50px);
}
#news:hover {
background: rgba(255, 255, 255, 0.55);
}
@media screen and (max-height: 368px) {
#news {
display: none;
}
}
@media screen and (max-width: 768px) {
#container {
display: flex;
flex-direction: column;
}
#hero {
display: block;
padding-top: 10%;
}
#links {
flex-wrap: wrap;
}
#links a.button {
padding: 14px 18px;
}
#news {
right: 16px;
left: 16px;
bottom: 2.5rem;
max-width: 100%;
}
h1 {
line-height: 1.5;
}
}
</style>
</style>

View File

@@ -1,22 +1,97 @@
---
import '../styles/global.css';
interface Props {
title: string;
}
const { title } = Astro.props;
---
<!doctype html>
<html lang="en">
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>Astro Basics</title>
<title>{title}</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap" rel="stylesheet" />
</head>
<body>
<body class="bg-gradient-to-br from-slate-50 via-white to-emerald-50 font-sans">
<slot />
</body>
</html>
<style>
html,
body {
margin: 0;
width: 100%;
height: 100%;
:root {
--primary: #16a34a;
--primary-dark: #15803d;
--accent: #84cc16;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-40px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
@keyframes blob {
0%, 100% {
transform: translate(0, 0) scale(1);
}
33% {
transform: translate(30px, -50px) scale(1.1);
}
66% {
transform: translate(-20px, 20px) scale(0.9);
}
}
.animate-fadeInUp {
animation: fadeInUp 0.6s ease-out;
}
.animate-slideInLeft {
animation: slideInLeft 0.6s ease-out;
}
.animate-float {
animation: float 3s ease-in-out infinite;
}
.animate-blob {
animation: blob 7s infinite;
}
.animation-delay-2000 {
animation-delay: 2s;
}
</style>

View File

@@ -1,11 +1,8 @@
---
import Welcome from '../components/Welcome.astro';
import Layout from '../layouts/Layout.astro';
// Welcome to Astro! Wondering what to do next? Check out the Astro documentation at https://docs.astro.build
// Don't want to use any of this? Delete everything in this file, the `assets`, `components`, and `layouts` directories, and start fresh.
import RenacerLanding from '../components/RenacerLanding.astro';
---
<Layout>
<Welcome />
<Layout title="Centro Renacer | Quillota">
<RenacerLanding />
</Layout>

0
src/styles/global.css Normal file
View File

8
tailwind.config.mjs Normal file
View File

@@ -0,0 +1,8 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {},
},
plugins: [],
}