Skip to content

Commit

Permalink
Merge pull request #20 from Sanket-Ugale/main
Browse files Browse the repository at this point in the history
Contact form updated
  • Loading branch information
Nisarg155 authored Oct 15, 2023
2 parents e04a67a + c0b6909 commit bbd73b5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions components/contact_form/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<title>Contact Form</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-200">
<div class="container mx-auto">
<body class="bg-gray-200 flex items-center justify-center h-screen">
<div class="container mx-auto ">
<div class="max-w-md mx-auto bg-white p-5 rounded shadow-md">
<h2 class="text-2xl font-semibold mb-5 ">Contact Form</h2>
<form>
Expand All @@ -27,9 +27,8 @@ <h2 class="text-2xl font-semibold mb-5 ">Contact Form</h2>
<label for="message" class="block text-gray-700 text-sm font-bold mb-2">Message</label>
<textarea id="message" name="message" class="w-full py-2 px-3 border border-gray-300 rounded" rows="4" placeholder="Your message here" required></textarea>
</div>
<button type="submit" class="bg-blue-500 text-white py-2 px-4 rounded hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300">Submit</button>
</form>
<button type="submit" class="bg-blue-500 text-white py-2 px-4 rounded hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300 w-full sm:w-auto">Submit</button> </form>
</div>
</div>
</body>
</html>
</html>

0 comments on commit bbd73b5

Please sign in to comment.