publicando
This commit is contained in:
parent
7cb8520216
commit
2cd40b8934
11
.dockerignore
Normal file
11
.dockerignore
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Ignore node_modules, we'll install them in the container
|
||||||
|
node_modules
|
||||||
|
# Ignore build output, it will be generated in the container
|
||||||
|
build
|
||||||
|
# Ignore Docker files
|
||||||
|
Dockerfile
|
||||||
|
docker-compose.yml
|
||||||
|
# Ignore git folder
|
||||||
|
.git
|
||||||
|
# Ignore svelte kit files
|
||||||
|
.svelte-kit
|
||||||
40
Dockerfile
Normal file
40
Dockerfile
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# Use a Bun base image for the build stage
|
||||||
|
FROM oven/bun:1-alpine AS builder
|
||||||
|
|
||||||
|
# Set the working directory
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Copy package files and install dependencies
|
||||||
|
COPY package.json ./
|
||||||
|
COPY bun.lock ./
|
||||||
|
RUN bun install
|
||||||
|
|
||||||
|
# Copy the rest of the application source code
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Build the SvelteKit application
|
||||||
|
RUN bun run build
|
||||||
|
|
||||||
|
# Use a smaller Bun image for the production stage
|
||||||
|
FROM oven/bun:1-alpine
|
||||||
|
|
||||||
|
# Set the working directory
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Set the port for the SvelteKit server
|
||||||
|
ENV PORT=5173
|
||||||
|
|
||||||
|
# Copy the built application from the builder stage
|
||||||
|
COPY --from=builder /app/build ./build
|
||||||
|
COPY --from=builder /app/package.json ./package.json
|
||||||
|
COPY --from=builder /app/bun.lock ./bun.lock
|
||||||
|
|
||||||
|
# Install production dependencies
|
||||||
|
RUN bun install --production
|
||||||
|
|
||||||
|
# Expose the port the app will run on
|
||||||
|
EXPOSE 5173
|
||||||
|
|
||||||
|
# The command to start the server
|
||||||
|
# The entry point is typically build/index.js for the node adapter
|
||||||
|
CMD ["bun", "build/index.js"]
|
||||||
6
docker-compose.yml
Normal file
6
docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
services:
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "5173:5173"
|
||||||
|
container_name: eits-web
|
||||||
@ -1,4 +1,4 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
// Landing Page
|
// Landing Page
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -11,6 +11,10 @@
|
|||||||
<!-- margin-bottom: 1rem; -->
|
<!-- margin-bottom: 1rem; -->
|
||||||
|
|
||||||
<section class="hero">
|
<section class="hero">
|
||||||
|
<video autoplay loop muted playsinline class="hero-video">
|
||||||
|
<source src="/videos/factory.mp4" type="video/mp4">
|
||||||
|
Your browser does not support the video tag.
|
||||||
|
</video>
|
||||||
<div class="container hero-content">
|
<div class="container hero-content">
|
||||||
<h1>Soluciones Integrales de Ingeniería y Tecnología</h1>
|
<h1>Soluciones Integrales de Ingeniería y Tecnología</h1>
|
||||||
<span class="eits">
|
<span class="eits">
|
||||||
@ -20,8 +24,8 @@
|
|||||||
<span class="first-letter">S</span>olutions</span>
|
<span class="first-letter">S</span>olutions</span>
|
||||||
<p style="margin-top: 15px">Impulsamos el crecimiento sostenible de la industria con automatización y tecnología avanzada</p>
|
<p style="margin-top: 15px">Impulsamos el crecimiento sostenible de la industria con automatización y tecnología avanzada</p>
|
||||||
<div class="hero-btns">
|
<div class="hero-btns">
|
||||||
<a href="/contact" class="btn btn-primary">Contáctanos</a>
|
<a href="/contacto" class="btn btn-primary">Contáctanos</a>
|
||||||
<a href="/services" class="btn btn-outline">Nuestros Servicios</a>
|
<a href="/servicios" class="btn btn-outline">Nuestros Servicios</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@ -48,7 +52,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="center-btn">
|
<div class="center-btn">
|
||||||
<a href="/services" class="btn btn-outline">Ver todos los servicios</a>
|
<a href="/servicios" class="btn btn-outline">Ver todos los servicios</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@ -75,9 +79,39 @@
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.hero {
|
.hero {
|
||||||
background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
|
position: relative;
|
||||||
padding: 6rem 0;
|
padding: 8rem 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
overflow: hidden;
|
||||||
|
color: var(--color-white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background: rgba(0, 0, 0, 0.5);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-video {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
min-width: 100%;
|
||||||
|
min-height: 100%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-content {
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero h1 {
|
.hero h1 {
|
||||||
@ -86,15 +120,16 @@
|
|||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
color: var(--color-white);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero p {
|
.hero p {
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
color: var(--color-text-light);
|
|
||||||
margin-bottom: 2.5rem;
|
margin-bottom: 2.5rem;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
color: #e0e0e0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-btns {
|
.hero-btns {
|
||||||
@ -143,6 +178,13 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.feature {
|
||||||
|
text-align: center;
|
||||||
|
padding: 1.5rem;
|
||||||
|
border: 1px solid #eee;
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
}
|
||||||
|
|
||||||
.feature h3 {
|
.feature h3 {
|
||||||
color: var(--color-secondary);
|
color: var(--color-secondary);
|
||||||
}
|
}
|
||||||
@ -150,13 +192,13 @@
|
|||||||
.eits {
|
.eits {
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
color: black;
|
|
||||||
margin-bottom: 100px;
|
margin-bottom: 100px;
|
||||||
|
color: var(--color-white);
|
||||||
}
|
}
|
||||||
|
|
||||||
.first-letter {
|
.first-letter {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
color: black;
|
color: var(--color-white);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
BIN
static/videos/factory.mp4
Normal file
BIN
static/videos/factory.mp4
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user