-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b674c6c
commit 54feed3
Showing
6 changed files
with
80 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<title> | ||
@yield('title', 'Scholarspace|contact us page') | ||
</title> | ||
|
||
<!-- Fonts --> | ||
<link rel="preconnect" href="https://fonts.bunny.net"> | ||
<link href="https://fonts.bunny.net/css?family=figtree:400,600&display=swap" rel="stylesheet"/> | ||
@vite(['resources/css/app.css', 'resources/js/app.js']) | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> | ||
|
||
</head> | ||
<body class="font-sans antialiased"> | ||
@include('layouts.navigation.logged-out') | ||
<div class="bg-gray-50 h-[90vh]"> | ||
<div class="container mx-auto py-12 px-4 sm:px-6 lg:px-8"> | ||
<div class="flex px-1 sm:px-4 lg:px-8 flex-col md:flex-row items-center justify-between"> | ||
<h1 class="text-4xl font-bold text-black/90 leading-snug"> | ||
Contact Us | ||
</h1> | ||
<form method="POST" action="{{ route('contact.submit') }}"> | ||
@csrf | ||
<div> | ||
<label for="name">Name</label> | ||
<x-text-input :name="'name'" :required="true"/> | ||
</div> | ||
<div> | ||
<label for="email">Email</label> | ||
<x-text-input :name="'email'" :required="true"/> | ||
</div> | ||
<div> | ||
<label for="message">Message</label> | ||
<textarea name="message" id="message" cols="30" rows="6" class="w-full textarea bg-white border border-gray-300 rounded-lg shadow-sm"></textarea> | ||
</div> | ||
<div class="mt-4"> | ||
<button class="custom-btn w-full" type="submit">Submit</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<nav class="bg-gray-100"> | ||
<div class="container mx-auto px-4 sm:px-6 lg:px-8 py-4"> | ||
<div class="flex justify-between items-center"> | ||
<a href="#" class="text-2xl font-bold text-black/90">Scholarspace</a> | ||
<div class="hidden md:flex items-center space-x-4"> | ||
<a href="#" class="text-black/50 hover:text-black">How It Works</a> | ||
<a href="#" class="text-black/50 hover:text-black">Services</a> | ||
<a href="#" class="text-black/50 hover:text-black">About Us</a> | ||
<a href="{{ route('contact') }}" | ||
class="text-black/50 hover:text-black">Contact</a> | ||
<a href="{{ route('login') }}" | ||
class="bg-blue-500 text-white/90 hover:bg-blue-600 font-semibold py-2 px-4 rounded-md">Login</a> | ||
<a href="{{ route('register') }}" | ||
class="bg-green-500 text-black/90 hover:bg-green-600 font-semibold py-2 px-4 rounded-md">Register</a> | ||
</div> | ||
<div class="md:hidden"> | ||
<button> | ||
<i class="fas fa-bars"></i> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters