v1.0
This commit is contained in:
parent
5a184b7212
commit
32d970208e
150
assets/css/custom.css
Normal file
150
assets/css/custom.css
Normal file
@ -0,0 +1,150 @@
|
|||||||
|
/* MyMech Custom Styles */
|
||||||
|
:root {
|
||||||
|
--navy-blue: #001f3f;
|
||||||
|
--navy-blue-darker: #001428;
|
||||||
|
--golden-yellow: #FFD700;
|
||||||
|
--golden-yellow-dark: #F0C400;
|
||||||
|
--off-white: #EFEFEF;
|
||||||
|
--card-bg: #002a54;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: var(--navy-blue);
|
||||||
|
color: var(--off-white);
|
||||||
|
font-family: 'Poppins', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-dark .navbar-brand {
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.golden-text {
|
||||||
|
background: -webkit-linear-gradient(45deg, var(--golden-yellow), var(--golden-yellow-dark));
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-brand .golden-text {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero {
|
||||||
|
position: relative;
|
||||||
|
padding: 10rem 0;
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background: rgba(0, 20, 40, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero .container {
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero h1 {
|
||||||
|
font-size: 3.5rem;
|
||||||
|
font-weight: 700;
|
||||||
|
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero p {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-golden {
|
||||||
|
background: linear-gradient(45deg, var(--golden-yellow), var(--golden-yellow-dark));
|
||||||
|
border: none;
|
||||||
|
color: var(--navy-blue-darker);
|
||||||
|
font-weight: 600;
|
||||||
|
padding: 0.75rem 1.5rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-golden:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-outline-golden {
|
||||||
|
border: 2px solid var(--golden-yellow);
|
||||||
|
color: var(--golden-yellow);
|
||||||
|
font-weight: 600;
|
||||||
|
padding: 0.75rem 1.5rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
transition: background-color 0.2s ease, color 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-outline-golden:hover {
|
||||||
|
background-color: var(--golden-yellow);
|
||||||
|
color: var(--navy-blue-darker);
|
||||||
|
}
|
||||||
|
|
||||||
|
.join-us-section {
|
||||||
|
padding: 5rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.join-us-section h2 {
|
||||||
|
font-weight: 700;
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.role-card {
|
||||||
|
background-color: var(--card-bg);
|
||||||
|
border: 1px solid #003b73;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 2rem;
|
||||||
|
text-align: center;
|
||||||
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.role-card:hover {
|
||||||
|
transform: translateY(-10px);
|
||||||
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.role-card img {
|
||||||
|
width: 100%;
|
||||||
|
height: 200px;
|
||||||
|
object-fit: cover;
|
||||||
|
border-radius: 8px;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.role-card h3 {
|
||||||
|
color: var(--golden-yellow);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
background-color: var(--navy-blue-darker);
|
||||||
|
padding: 2rem 0;
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer a {
|
||||||
|
color: #ccc;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer a:hover {
|
||||||
|
color: var(--golden-yellow);
|
||||||
|
}
|
||||||
5
assets/js/main.js
Normal file
5
assets/js/main.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
// Custom JavaScript for MyMech
|
||||||
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
|
// Future interactivity can be added here.
|
||||||
|
console.log("MyMech JS loaded");
|
||||||
|
});
|
||||||
224
index.php
224
index.php
@ -1,131 +1,115 @@
|
|||||||
<?php
|
<!DOCTYPE html>
|
||||||
declare(strict_types=1);
|
|
||||||
@ini_set('display_errors', '1');
|
|
||||||
@error_reporting(E_ALL);
|
|
||||||
@date_default_timezone_set('UTC');
|
|
||||||
|
|
||||||
$phpVersion = PHP_VERSION;
|
|
||||||
$now = date('Y-m-d H:i:s');
|
|
||||||
?>
|
|
||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>New Style</title>
|
<title>MyMech - Your Trusted Auto Care Partner</title>
|
||||||
|
<meta name="description" content="Find reliable mechanics and genuine spare parts instantly. Get back on the road faster with MyMech.">
|
||||||
|
|
||||||
|
<!-- Bootstrap 5 CDN -->
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Google Fonts (Poppins) -->
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
<style>
|
|
||||||
:root {
|
<!-- Custom CSS -->
|
||||||
--bg-color-start: #6a11cb;
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
||||||
--bg-color-end: #2575fc;
|
|
||||||
--text-color: #ffffff;
|
<!-- Open Graph Meta Tags -->
|
||||||
--card-bg-color: rgba(255, 255, 255, 0.01);
|
<meta property="og:title" content="MyMech - Your Trusted Auto Care Partner">
|
||||||
--card-border-color: rgba(255, 255, 255, 0.1);
|
<meta property="og:description" content="Find reliable mechanics and genuine spare parts instantly.">
|
||||||
}
|
<meta property="og:image" content="https://picsum.photos/seed/mymechanic-og/1200/630">
|
||||||
body {
|
<meta property="og:url" content=""> <!-- Add your final URL here -->
|
||||||
margin: 0;
|
<meta property="og:type" content="website">
|
||||||
font-family: 'Inter', sans-serif;
|
|
||||||
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
|
||||||
color: var(--text-color);
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
min-height: 100vh;
|
|
||||||
text-align: center;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
body::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
|
|
||||||
animation: bg-pan 20s linear infinite;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
@keyframes bg-pan {
|
|
||||||
0% { background-position: 0% 0%; }
|
|
||||||
100% { background-position: 100% 100%; }
|
|
||||||
}
|
|
||||||
main {
|
|
||||||
padding: 2rem;
|
|
||||||
}
|
|
||||||
.card {
|
|
||||||
background: var(--card-bg-color);
|
|
||||||
border: 1px solid var(--card-border-color);
|
|
||||||
border-radius: 16px;
|
|
||||||
padding: 2rem;
|
|
||||||
backdrop-filter: blur(20px);
|
|
||||||
-webkit-backdrop-filter: blur(20px);
|
|
||||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
.loader {
|
|
||||||
margin: 1.25rem auto 1.25rem;
|
|
||||||
width: 48px;
|
|
||||||
height: 48px;
|
|
||||||
border: 3px solid rgba(255, 255, 255, 0.25);
|
|
||||||
border-top-color: #fff;
|
|
||||||
border-radius: 50%;
|
|
||||||
animation: spin 1s linear infinite;
|
|
||||||
}
|
|
||||||
@keyframes spin {
|
|
||||||
from { transform: rotate(0deg); }
|
|
||||||
to { transform: rotate(360deg); }
|
|
||||||
}
|
|
||||||
.hint {
|
|
||||||
opacity: 0.9;
|
|
||||||
}
|
|
||||||
.sr-only {
|
|
||||||
position: absolute;
|
|
||||||
width: 1px; height: 1px;
|
|
||||||
padding: 0; margin: -1px;
|
|
||||||
overflow: hidden;
|
|
||||||
clip: rect(0, 0, 0, 0);
|
|
||||||
white-space: nowrap; border: 0;
|
|
||||||
}
|
|
||||||
h1 {
|
|
||||||
font-size: 3rem;
|
|
||||||
font-weight: 700;
|
|
||||||
margin: 0 0 1rem;
|
|
||||||
letter-spacing: -1px;
|
|
||||||
}
|
|
||||||
p {
|
|
||||||
margin: 0.5rem 0;
|
|
||||||
font-size: 1.1rem;
|
|
||||||
}
|
|
||||||
code {
|
|
||||||
background: rgba(0,0,0,0.2);
|
|
||||||
padding: 2px 6px;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
||||||
}
|
|
||||||
footer {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 1rem;
|
|
||||||
font-size: 0.8rem;
|
|
||||||
opacity: 0.7;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
|
||||||
<div class="card">
|
<!-- Navbar -->
|
||||||
<h1>Analyzing your requirements and generating your website…</h1>
|
<nav class="navbar navbar-expand-lg navbar-dark bg-transparent position-absolute top-0 start-0 w-100" style="z-index: 10;">
|
||||||
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
<div class="container">
|
||||||
<span class="sr-only">Loading…</span>
|
<a class="navbar-brand" href="#"><span class="golden-text">MyMech</span></a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<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 btn btn-outline-golden px-3" href="#">Login</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWiZZy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
|
|
||||||
<p class="hint">This page will update automatically as the plan is implemented.</p>
|
|
||||||
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</nav>
|
||||||
<footer>
|
|
||||||
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
<!-- Hero Section -->
|
||||||
|
<header class="hero" style="background-image: url('https://picsum.photos/seed/mymechanic-hero/1600/900');">
|
||||||
|
<div class="container">
|
||||||
|
<h1 class="display-3">Your Trusted Mechanic, <span class="golden-text">Just a Click Away.</span></h1>
|
||||||
|
<p class="lead">Find reliable mechanics and genuine spare parts instantly. Get back on the road faster.</p>
|
||||||
|
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
|
||||||
|
<a href="#" class="btn btn-golden btn-lg px-4 gap-3">Find a Mechanic</a>
|
||||||
|
<a href="#" class="btn btn-outline-light btn-lg px-4">Find Spare Parts</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<!-- Join Us Section -->
|
||||||
|
<section class="join-us-section text-center">
|
||||||
|
<div class="container">
|
||||||
|
<h2 class="golden-text">Join the MyMech Community</h2>
|
||||||
|
<div class="row g-4">
|
||||||
|
<!-- For Drivers -->
|
||||||
|
<div class="col-lg-4 col-md-6">
|
||||||
|
<div class="role-card">
|
||||||
|
<div>
|
||||||
|
<img src="https://picsum.photos/seed/mymechanic-driver/800/600" alt="A person using a smartphone to find directions.">
|
||||||
|
<h3>For Drivers</h3>
|
||||||
|
<p>Get fast, reliable help from trusted mechanics near you. Search for specific services and parts to get exactly what you need.</p>
|
||||||
|
</div>
|
||||||
|
<a href="#" class="btn btn-golden mt-3">Sign Up as a Driver</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- For Mechanics -->
|
||||||
|
<div class="col-lg-4 col-md-6">
|
||||||
|
<div class="role-card">
|
||||||
|
<div>
|
||||||
|
<img src="https://picsum.photos/seed/mymechanic-pro/800/600" alt="A professional mechanic working on a car engine.">
|
||||||
|
<h3>For Mechanics</h3>
|
||||||
|
<p>Grow your business by connecting with car owners in your area. List your services and showcase your expertise.</p>
|
||||||
|
</div>
|
||||||
|
<a href="#" class="btn btn-golden mt-3">Register Your Garage</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- For Shops -->
|
||||||
|
<div class="col-lg-4 col-md-6">
|
||||||
|
<div class="role-card">
|
||||||
|
<div>
|
||||||
|
<img src="https://picsum.photos/seed/mymechanic-shop/800/600" alt="A well-organized auto spare parts shop.">
|
||||||
|
<h3>For Part Shops</h3>
|
||||||
|
<p>List your inventory and reach a larger audience. Help drivers find the genuine parts they need quickly and easily.</p>
|
||||||
|
</div>
|
||||||
|
<a href="#" class="btn btn-golden mt-3">List Your Parts</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Footer -->
|
||||||
|
<footer class="footer text-center">
|
||||||
|
<div class="container">
|
||||||
|
<p>© <?php echo date("Y"); ?> MyMech. All Rights Reserved.</p>
|
||||||
|
<p>
|
||||||
|
<a href="#">Privacy Policy</a> | <a href="#">Terms of Service</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<!-- Bootstrap 5 JS Bundle -->
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<!-- Custom JS -->
|
||||||
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user