my-website/resources/views/contact.blade.php

35 lines
827 B
PHP

@extends('layout')
@section('title')
@parent
:: Contact
@endsection
@section('heading', 'Contact Page')
@section('content')
<form onsubmit="alert(1)">
@csrf
<label for="name">Name:*<label>
<input type="text" id="name" name="name" /><br>
<label for="email">Email:*<label>
<input type="email" id="email" name="email" placeholder="person@gmail.com" /><br>
<label for="subject">Subject:<label>
<input type="text" id="subject" name="subject" /><br>
<label for="message">Message:*</label>
<textarea id="message" name="message"></textarea><br>
<button type="submit">Send Message</button>
</form>
<p class="text-xl bg-zinc-800 text-zinc-200">
Some kind of test text just to showcase tailwindcss
</p>
@endsection