Compare commits
No commits in common. "ai-dev" and "master" have entirely different histories.
@ -1,107 +0,0 @@
|
|||||||
/* University Assistant - Custom Styles */
|
|
||||||
|
|
||||||
:root {
|
|
||||||
--primary: #4A90E2;
|
|
||||||
--secondary: #F5A623;
|
|
||||||
--background: #F8F9FA;
|
|
||||||
--surface: #FFFFFF;
|
|
||||||
--text-color: #333333;
|
|
||||||
--gradient: linear-gradient(135deg, #4A90E2 0%, #50E3C2 100%);
|
|
||||||
--border-radius: 0.5rem;
|
|
||||||
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: 'Poppins', sans-serif;
|
|
||||||
background-color: var(--background);
|
|
||||||
color: var(--text-color);
|
|
||||||
line-height: 1.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar {
|
|
||||||
background-color: var(--surface);
|
|
||||||
box-shadow: var(--shadow);
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-brand {
|
|
||||||
font-weight: 700;
|
|
||||||
color: var(--primary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-link {
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero {
|
|
||||||
color: white;
|
|
||||||
padding: 12rem 0;
|
|
||||||
text-align: center;
|
|
||||||
background-image: var(--gradient);
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-bg {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
object-fit: cover;
|
|
||||||
opacity: 0.2;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero .container {
|
|
||||||
position: relative;
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero h1 {
|
|
||||||
font-size: 3.5rem;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
|
||||||
padding: 6rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-title {
|
|
||||||
text-align: center;
|
|
||||||
margin-bottom: 4rem;
|
|
||||||
font-size: 2.5rem;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
border: none;
|
|
||||||
border-radius: var(--border-radius);
|
|
||||||
box-shadow: var(--shadow);
|
|
||||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card:hover {
|
|
||||||
transform: translateY(-5px);
|
|
||||||
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-img-top {
|
|
||||||
border-top-left-radius: var(--border-radius);
|
|
||||||
border-top-right-radius: var(--border-radius);
|
|
||||||
}
|
|
||||||
|
|
||||||
.facility-icon {
|
|
||||||
width: 64px;
|
|
||||||
height: 64px;
|
|
||||||
color: var(--primary);
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer {
|
|
||||||
background-color: #343A40;
|
|
||||||
color: white;
|
|
||||||
padding: 3rem 0;
|
|
||||||
}
|
|
||||||
@ -1,40 +0,0 @@
|
|||||||
// University Assistant - Main JS
|
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', function () {
|
|
||||||
// Smooth scrolling for anchor links
|
|
||||||
document.querySelectorAll('a.nav-link[href^="#"]').forEach(anchor => {
|
|
||||||
anchor.addEventListener('click', function (e) {
|
|
||||||
e.preventDefault();
|
|
||||||
const targetId = this.getAttribute('href');
|
|
||||||
const targetElement = document.querySelector(targetId);
|
|
||||||
if (targetElement) {
|
|
||||||
targetElement.scrollIntoView({
|
|
||||||
behavior: 'smooth'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// Activate feather icons
|
|
||||||
feather.replace();
|
|
||||||
|
|
||||||
// Simple fade-in animation for sections on scroll
|
|
||||||
const sections = document.querySelectorAll('.section');
|
|
||||||
const observer = new IntersectionObserver(entries => {
|
|
||||||
entries.forEach(entry => {
|
|
||||||
if (entry.isIntersecting) {
|
|
||||||
entry.target.style.opacity = 1;
|
|
||||||
entry.target.style.transform = 'translateY(0)';
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}, {
|
|
||||||
threshold: 0.1
|
|
||||||
});
|
|
||||||
|
|
||||||
sections.forEach(section => {
|
|
||||||
section.style.opacity = 0;
|
|
||||||
section.style.transform = 'translateY(20px)';
|
|
||||||
section.style.transition = 'opacity 0.6s ease-out, transform 0.6s ease-out';
|
|
||||||
observer.observe(section);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
277
index.php
277
index.php
@ -1,158 +1,131 @@
|
|||||||
<!DOCTYPE html>
|
<?php
|
||||||
|
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.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>University Assistant - Welcome</title>
|
<title>New Style</title>
|
||||||
<meta name="description" content="Your university journey starts here. Explore specializations, facilities, and more.">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<!-- Open Graph / Facebook -->
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
|
||||||
<meta property="og:type" content="website">
|
<style>
|
||||||
<meta property="og:url" content="https://your-domain.com/">
|
:root {
|
||||||
<meta property="og:title" content="University Assistant - Welcome">
|
--bg-color-start: #6a11cb;
|
||||||
<meta property="og:description" content="Your university journey starts here. Explore specializations, facilities, and more.">
|
--bg-color-end: #2575fc;
|
||||||
<meta property="og:image" content="https://picsum.photos/seed/university-hero/1200/630">
|
--text-color: #ffffff;
|
||||||
|
--card-bg-color: rgba(255, 255, 255, 0.01);
|
||||||
<!-- Twitter -->
|
--card-border-color: rgba(255, 255, 255, 0.1);
|
||||||
<meta property="twitter:card" content="summary_large_image">
|
}
|
||||||
<meta property="twitter:url" content="https://your-domain.com/">
|
body {
|
||||||
<meta property="twitter:title" content="University Assistant - Welcome">
|
margin: 0;
|
||||||
<meta property="twitter:description" content="Your university journey starts here. Explore specializations, facilities, and more.">
|
font-family: 'Inter', sans-serif;
|
||||||
<meta property="twitter:image" content="https://picsum.photos/seed/university-hero/1200/630">
|
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
||||||
|
color: var(--text-color);
|
||||||
<!-- Fonts -->
|
display: flex;
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
justify-content: center;
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
align-items: center;
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
|
min-height: 100vh;
|
||||||
|
text-align: center;
|
||||||
<!-- Bootstrap CSS -->
|
overflow: hidden;
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
position: relative;
|
||||||
|
}
|
||||||
<!-- Custom CSS -->
|
body::before {
|
||||||
<link rel="stylesheet" href="assets/css/custom.css">
|
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>
|
||||||
<!-- Header -->
|
<div class="card">
|
||||||
<nav class="navbar navbar-expand-lg navbar-light fixed-top">
|
<h1>Analyzing your requirements and generating your website…</h1>
|
||||||
<div class="container">
|
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
||||||
<a class="navbar-brand" href="#">
|
<span class="sr-only">Loading…</span>
|
||||||
<i data-feather="book-open" class="me-2"></i>
|
</div>
|
||||||
University Assistant
|
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWiZZy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
|
||||||
</a>
|
<p class="hint">This page will update automatically as the plan is implemented.</p>
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
||||||
<span class="navbar-toggler-icon"></span>
|
</div>
|
||||||
</button>
|
</main>
|
||||||
<div class="collapse navbar-collapse" id="navbarNav">
|
<footer>
|
||||||
<ul class="navbar-nav ms-auto">
|
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
||||||
<li class="nav-item"><a class="nav-link" href="#home">Home</a></li>
|
</footer>
|
||||||
<li class="nav-item"><a class="nav-link" href="#about">About</a></li>
|
|
||||||
<li class="nav-item"><a class="nav-link" href="#specializations">Specializations</a></li>
|
|
||||||
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<!-- Hero Section -->
|
|
||||||
<header id="home" class="hero">
|
|
||||||
<img src="https://picsum.photos/seed/university-hero/1600/900" class="hero-bg" alt="A modern university campus building under a clear blue sky.">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="display-3">Your University Journey Starts Here</h1>
|
|
||||||
<p class="lead">Discover a world of knowledge, opportunity, and growth.</p>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- Main Content -->
|
|
||||||
<main>
|
|
||||||
<!-- About Section -->
|
|
||||||
<section id="about" class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h2 class="section-title">About Our University</h2>
|
|
||||||
<div class="row align-items-center">
|
|
||||||
<div class="col-lg-6 mb-4 mb-lg-0">
|
|
||||||
<img src="https://picsum.photos/seed/university-students/800/600" class="img-fluid rounded shadow" alt="A diverse group of students collaborating on a project.">
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<h3>Fostering Excellence Since 1980</h3>
|
|
||||||
<p>We are a leading institution dedicated to providing quality education and fostering innovation. Our mission is to empower students with the knowledge and skills to excel in their chosen fields and make a positive impact on the world.</p>
|
|
||||||
<p>With a diverse student body, world-class faculty, and state-of-the-art facilities, we offer a vibrant and supportive learning environment.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Specializations Section -->
|
|
||||||
<section id="specializations" class="section bg-light">
|
|
||||||
<div class="container">
|
|
||||||
<h2 class="section-title">Our Specializations</h2>
|
|
||||||
<div class="row">
|
|
||||||
<?php
|
|
||||||
$specializations = [
|
|
||||||
['name' => 'Computer Science', 'icon' => 'cpu'],
|
|
||||||
['name' => 'Medicine', 'icon' => 'activity'],
|
|
||||||
['name' => 'Business & Management', 'icon' => 'briefcase'],
|
|
||||||
['name' => 'Arts & Humanities', 'icon' => 'pen-tool'],
|
|
||||||
['name' => 'Engineering', 'icon' => 'settings'],
|
|
||||||
['name' => 'Environmental Science', 'icon' => 'wind'],
|
|
||||||
];
|
|
||||||
foreach ($specializations as $spec):
|
|
||||||
?>
|
|
||||||
<div class="col-md-6 col-lg-4 mb-4">
|
|
||||||
<div class="card h-100 text-center">
|
|
||||||
<div class="card-body">
|
|
||||||
<i data-feather="<?= htmlspecialchars($spec['icon']) ?>" class="facility-icon"></i>
|
|
||||||
<h5 class="card-title"><?= htmlspecialchars($spec['name']) ?></h5>
|
|
||||||
<p class="card-text">Explore the frontiers of knowledge and innovation in <?= strtolower(htmlspecialchars($spec['name'])) ?>.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Facilities Section -->
|
|
||||||
<section id="facilities" class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h2 class="section-title">World-Class Facilities</h2>
|
|
||||||
<div class="row align-items-center">
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<h3>The Central Library</h3>
|
|
||||||
<p>Our library is more than just a collection of books. It's a hub for research, collaboration, and quiet study, with access to millions of digital and print resources.</p>
|
|
||||||
<h3>Advanced Research Labs</h3>
|
|
||||||
<p>Equipped with the latest technology to support groundbreaking research across all disciplines.</p>
|
|
||||||
<h3>Sports & Recreation</h3>
|
|
||||||
<p>Stay active and healthy with our comprehensive sports complex, including a swimming pool, gym, and outdoor fields.</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<img src="https://picsum.photos/seed/university-library/800/600" class="img-fluid rounded shadow" alt="A vast and modern university library with rows of books.">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Contact Section -->
|
|
||||||
<section id="contact" class="section bg-light">
|
|
||||||
<div class="container text-center">
|
|
||||||
<h2 class="section-title">Get In Touch</h2>
|
|
||||||
<p class="lead mb-4">Have questions? We're here to help. A full contact form will be available soon.</p>
|
|
||||||
<a href="mailto:info@university.com" class="btn btn-primary btn-lg">Email Us</a>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<!-- Footer -->
|
|
||||||
<footer class="footer">
|
|
||||||
<div class="container text-center">
|
|
||||||
<p>© <?php echo date("Y"); ?> University Assistant. All Rights Reserved.</p>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap JS Bundle -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
||||||
<!-- Feather Icons -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
|
||||||
<!-- Custom JS -->
|
|
||||||
<script src="assets/js/main.js"></script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user