Deploy from Lumerel
This commit is contained in:
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.git
|
||||||
|
Dockerfile
|
||||||
|
.dockerignore
|
||||||
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
FROM webdevops/php-nginx:8.3-alpine
|
||||||
|
ENV WEB_DOCUMENT_ROOT=/app/public
|
||||||
|
ARG CACHE_BUST=1771109278
|
||||||
|
COPY . /app
|
||||||
|
RUN echo "index index.php index.html index.htm;" > /opt/docker/etc/nginx/vhost.common.d/01-index.conf \
|
||||||
|
&& echo "add_header Cache-Control 'no-cache, no-store, must-revalidate';" > /opt/docker/etc/nginx/vhost.common.d/02-no-cache.conf \
|
||||||
|
&& chown -R application:application /app
|
||||||
29
public/css/custom.css
Normal file
29
public/css/custom.css
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
body {
|
||||||
|
background-color: #f4f6f9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-section {
|
||||||
|
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
|
||||||
|
color: white;
|
||||||
|
padding: 100px 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-card {
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-card:hover {
|
||||||
|
transform: translateY(-10px);
|
||||||
|
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.social-icons a {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
transition: color 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.social-icons a:hover {
|
||||||
|
color: #6a11cb !important;
|
||||||
|
}
|
||||||
19
public/includes/footer.php
Normal file
19
public/includes/footer.php
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<!-- Bootstrap 5 JS Bundle with Popper -->
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
|
<footer class="bg-dark text-white text-center py-4 mt-5">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<p>© <?php echo date('Y'); ?> Todd Low Media. All Rights Reserved.</p>
|
||||||
|
<div class="social-icons">
|
||||||
|
<a href="https://linkedin.com/in/toddlow" target="_blank" class="text-white mx-2"><i class="fab fa-linkedin"></i></a>
|
||||||
|
<a href="https://github.com/toddlow" target="_blank" class="text-white mx-2"><i class="fab fa-github"></i></a>
|
||||||
|
<a href="mailto:toddlowmedia@gmail.com" class="text-white mx-2"><i class="fas fa-envelope"></i></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
41
public/includes/header.php
Normal file
41
public/includes/header.php
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>Todd Low Media - Web Design & Development Services</title>
|
||||||
|
|
||||||
|
<!-- Bootstrap 5 CSS -->
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Custom CSS -->
|
||||||
|
<link href="/css/custom.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Font Awesome for icons -->
|
||||||
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="/">Todd Low Media</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarNav">
|
||||||
|
<ul class="navbar-nav ms-auto">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="/">Home</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="/services">Services</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="/portfolio">Portfolio</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="/contact">Contact</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
43
public/index.php
Normal file
43
public/index.php
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<?php include 'includes/header.php'; ?>
|
||||||
|
|
||||||
|
<div class="hero-section">
|
||||||
|
<div class="container">
|
||||||
|
<h1 class="display-4">Todd Low Media</h1>
|
||||||
|
<p class="lead">Crafting Digital Experiences That Inspire</p>
|
||||||
|
<a href="/contact" class="btn btn-light mt-3">Get Started</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="container mt-5">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card service-card">
|
||||||
|
<div class="card-body text-center">
|
||||||
|
<i class="fas fa-code fa-3x mb-3 text-primary"></i>
|
||||||
|
<h4 class="card-title">Web Development</h4>
|
||||||
|
<p class="card-text">Custom web solutions using modern technologies like PHP, Laravel, React, and Vue.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card service-card">
|
||||||
|
<div class="card-body text-center">
|
||||||
|
<i class="fas fa-mobile-alt fa-3x mb-3 text-primary"></i>
|
||||||
|
<h4 class="card-title">Responsive Design</h4>
|
||||||
|
<p class="card-text">Mobile-first, responsive websites that look great on all devices and screen sizes.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card service-card">
|
||||||
|
<div class="card-body text-center">
|
||||||
|
<i class="fas fa-rocket fa-3x mb-3 text-primary"></i>
|
||||||
|
<h4 class="card-title">Performance Optimization</h4>
|
||||||
|
<p class="card-text">Fast, efficient websites optimized for speed and search engine performance.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php include 'includes/footer.php'; ?>
|
||||||
Reference in New Issue
Block a user