Add project files.
This commit is contained in:
8
TWA-App/Views/Home/Index.cshtml
Normal file
8
TWA-App/Views/Home/Index.cshtml
Normal file
@ -0,0 +1,8 @@
|
||||
@{
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
<h1 class="display-4">Welcome</h1>
|
||||
<p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
|
||||
</div>
|
||||
6
TWA-App/Views/Home/Privacy.cshtml
Normal file
6
TWA-App/Views/Home/Privacy.cshtml
Normal file
@ -0,0 +1,6 @@
|
||||
@{
|
||||
ViewData["Title"] = "Privacy Policy";
|
||||
}
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
|
||||
<p>Use this page to detail your site's privacy policy.</p>
|
||||
25
TWA-App/Views/Shared/Error.cshtml
Normal file
25
TWA-App/Views/Shared/Error.cshtml
Normal file
@ -0,0 +1,25 @@
|
||||
@model ErrorViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Error";
|
||||
}
|
||||
|
||||
<h1 class="text-danger">Error.</h1>
|
||||
<h2 class="text-danger">An error occurred while processing your request.</h2>
|
||||
|
||||
@if (Model.ShowRequestId)
|
||||
{
|
||||
<p>
|
||||
<strong>Request ID:</strong> <code>@Model.RequestId</code>
|
||||
</p>
|
||||
}
|
||||
|
||||
<h3>Development Mode</h3>
|
||||
<p>
|
||||
Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.
|
||||
</p>
|
||||
<p>
|
||||
<strong>The Development environment shouldn't be enabled for deployed applications.</strong>
|
||||
It can result in displaying sensitive information from exceptions to end users.
|
||||
For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
|
||||
and restarting the app.
|
||||
</p>
|
||||
130
TWA-App/Views/Shared/_Layout.cshtml
Normal file
130
TWA-App/Views/Shared/_Layout.cshtml
Normal file
@ -0,0 +1,130 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Aviationaly - Aviation & Flight School</title>
|
||||
<link rel="stylesheet" href="~/css/atg-lib/atg-core.css">
|
||||
</head>
|
||||
<body class="bg-white">
|
||||
<!-- Header -->
|
||||
<header class="p-3 bg-white">
|
||||
<div class="con">
|
||||
<div class="r j-c-between a-i-center">
|
||||
<div class="c-6">
|
||||
<img src="aviationkit/wp-content/uploads/sites/106/2022/09/aviationaly-logo-1.png" alt="Logo" style="height:50px">
|
||||
</div>
|
||||
<nav class="c-6 d-f j-c-end gap-3">
|
||||
<a href="#">Home</a>
|
||||
<a href="#">Courses</a>
|
||||
<a href="#">About</a>
|
||||
<a href="#">Contact</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section class="pt-5 pb-5">
|
||||
<div class="con">
|
||||
<div class="r j-c-center">
|
||||
<div class="c-12 c-m-10 text-center">
|
||||
<h1 class="mb-3">Welcome to Aviationaly</h1>
|
||||
<p class="mb-4">Start your aviation journey with professional instructors and top-notch facilities.</p>
|
||||
<button class="p-2 bg-white">Get Started</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Features Section -->
|
||||
<section class="pt-5 pb-5 bg-white">
|
||||
<div class="con">
|
||||
<div class="r gap-3">
|
||||
<div class="c-12 c-s-6 c-m-4 text-center">
|
||||
<h3 class="mb-2">Modern Fleet</h3>
|
||||
<p>Train with the latest aircraft models and technologies.</p>
|
||||
</div>
|
||||
<div class="c-12 c-s-6 c-m-4 text-center">
|
||||
<h3 class="mb-2">Certified Instructors</h3>
|
||||
<p>Learn from aviation experts with years of experience.</p>
|
||||
</div>
|
||||
<div class="c-12 c-s-6 c-m-4 text-center">
|
||||
<h3 class="mb-2">Flexible Scheduling</h3>
|
||||
<p>Choose courses that fit your lifestyle and availability.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Courses Section -->
|
||||
<section class="pt-5 pb-5">
|
||||
<div class="con">
|
||||
<div class="r j-c-center">
|
||||
<div class="c-12 text-center">
|
||||
<h2 class="mb-3">Our Programs</h2>
|
||||
</div>
|
||||
<div class="r gap-3">
|
||||
<div class="c-12 c-s-6 c-m-4 text-center">
|
||||
<h4 class="mb-1">Private Pilot License</h4>
|
||||
<p>Learn the fundamentals of flying and become a licensed pilot.</p>
|
||||
</div>
|
||||
<div class="c-12 c-s-6 c-m-4 text-center">
|
||||
<h4 class="mb-1">Commercial Pilot License</h4>
|
||||
<p>Advance your skills and prepare for a professional aviation career.</p>
|
||||
</div>
|
||||
<div class="c-12 c-s-6 c-m-4 text-center">
|
||||
<h4 class="mb-1">Flight Instructor Course</h4>
|
||||
<p>Teach others how to fly and build flight hours simultaneously.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Testimonials Section -->
|
||||
<section class="pt-5 pb-5 bg-white">
|
||||
<div class="con">
|
||||
<div class="r j-c-center">
|
||||
<div class="c-12 text-center">
|
||||
<h2 class="mb-3">What Students Say</h2>
|
||||
</div>
|
||||
<div class="r gap-3">
|
||||
<div class="c-12 c-s-6 c-m-6">
|
||||
<p class="mb-1">"Great instructors and hands-on training. I got my PPL in no time!"</p>
|
||||
<strong>- Alex T.</strong>
|
||||
</div>
|
||||
<div class="c-12 c-s-6 c-m-6">
|
||||
<p class="mb-1">"Modern facilities and friendly staff. Highly recommended!"</p>
|
||||
<strong>- Maria L.</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Contact Section -->
|
||||
<section class="pt-5 pb-5">
|
||||
<div class="con">
|
||||
<div class="r j-c-center">
|
||||
<div class="c-12 c-s-10 c-m-6">
|
||||
<h2 class="mb-3 text-center">Contact Us</h2>
|
||||
<form class="d-f f-c gap-2">
|
||||
<input type="text" placeholder="Name" class="p-2">
|
||||
<input type="email" placeholder="Email" class="p-2">
|
||||
<textarea rows="4" placeholder="Message" class="p-2"></textarea>
|
||||
<button class="p-2 bg-white">Send Message</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@RenderBody()
|
||||
<!-- Footer -->
|
||||
<footer class="p-3 bg-white text-center">
|
||||
<div class="con">
|
||||
<p class="m-0">© 2025 Aviationaly. All rights reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
48
TWA-App/Views/Shared/_Layout.cshtml.css
Normal file
48
TWA-App/Views/Shared/_Layout.cshtml.css
Normal file
@ -0,0 +1,48 @@
|
||||
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
|
||||
for details on configuring this project to bundle and minify static web assets. */
|
||||
|
||||
a.navbar-brand {
|
||||
white-space: normal;
|
||||
text-align: center;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0077cc;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.border-top {
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
.border-bottom {
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.box-shadow {
|
||||
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
|
||||
}
|
||||
|
||||
button.accept-policy {
|
||||
font-size: 1rem;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
line-height: 60px;
|
||||
}
|
||||
2
TWA-App/Views/Shared/_ValidationScriptsPartial.cshtml
Normal file
2
TWA-App/Views/Shared/_ValidationScriptsPartial.cshtml
Normal file
@ -0,0 +1,2 @@
|
||||
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
|
||||
<script src="~/lib/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.min.js"></script>
|
||||
3
TWA-App/Views/_ViewImports.cshtml
Normal file
3
TWA-App/Views/_ViewImports.cshtml
Normal file
@ -0,0 +1,3 @@
|
||||
@using TWA_App
|
||||
@using TWA_App.Models
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
3
TWA-App/Views/_ViewStart.cshtml
Normal file
3
TWA-App/Views/_ViewStart.cshtml
Normal file
@ -0,0 +1,3 @@
|
||||
@{
|
||||
Layout = "_Layout";
|
||||
}
|
||||
Reference in New Issue
Block a user