upgrade changes
This commit is contained in:
@@ -18,7 +18,7 @@ import Button from "./ui/button.astro";
|
||||
type="text"
|
||||
placeholder="Full Name"
|
||||
required
|
||||
class="w-full px-4 py-3 border-2 placeholder:text-gray-800 rounded-md outline-none focus:ring-4 border-gray-300 focus:border-gray-600 ring-gray-100"
|
||||
class="w-full px-4 py-3 border-2 placeholder:text-gray-800 rounded-md outline-hidden focus:ring-4 border-gray-300 focus:border-gray-600 ring-gray-100"
|
||||
name="name"
|
||||
/>
|
||||
<div class="empty-feedback invalid-feedback text-red-400 text-sm mt-1">
|
||||
@@ -32,7 +32,7 @@ import Button from "./ui/button.astro";
|
||||
placeholder="Email Address"
|
||||
name="email"
|
||||
required
|
||||
class="w-full px-4 py-3 border-2 placeholder:text-gray-800 rounded-md outline-none focus:ring-4 border-gray-300 focus:border-gray-600 ring-gray-100"
|
||||
class="w-full px-4 py-3 border-2 placeholder:text-gray-800 rounded-md outline-hidden focus:ring-4 border-gray-300 focus:border-gray-600 ring-gray-100"
|
||||
/>
|
||||
<div class="empty-feedback text-red-400 text-sm mt-1">
|
||||
Please provide your email address.
|
||||
@@ -46,7 +46,7 @@ import Button from "./ui/button.astro";
|
||||
name="message"
|
||||
required
|
||||
placeholder="Your Message"
|
||||
class="w-full px-4 py-3 border-2 placeholder:text-gray-800 rounded-md outline-none h-36 focus:ring-4 border-gray-300 focus:border-gray-600 ring-gray-100"
|
||||
class="w-full px-4 py-3 border-2 placeholder:text-gray-800 rounded-md outline-hidden h-36 focus:ring-4 border-gray-300 focus:border-gray-600 ring-gray-100"
|
||||
></textarea>
|
||||
<div class="empty-feedback invalid-feedback text-red-400 text-sm mt-1">
|
||||
Please enter your message.
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
const { class: className } = Astro.props;
|
||||
---
|
||||
|
||||
<div class:list={["max-w-screen-xl mx-auto px-5", className]}>
|
||||
<div class:list={["max-w-(--breakpoint-xl) mx-auto px-5", className]}>
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
@@ -30,7 +30,7 @@ const { title, lastItem, children } = Astro.props;
|
||||
: "lg:left-0 origin-top-left",
|
||||
]}>
|
||||
<div
|
||||
class="px-3 lg:py-2 lg:bg-white lg:rounded-md lg:shadow lg:border flex flex-col">
|
||||
class="px-3 lg:py-2 lg:bg-white lg:rounded-md lg:shadow-sm lg:border flex flex-col">
|
||||
{
|
||||
children.map((item) => (
|
||||
<a
|
||||
|
||||
@@ -30,7 +30,7 @@ const styles = {
|
||||
<button
|
||||
{...rest}
|
||||
class:list={[
|
||||
"rounded text-center transition focus-visible:ring-2 ring-offset-2 ring-gray-200",
|
||||
"rounded-sm text-center transition focus-visible:ring-2 ring-offset-2 ring-gray-200",
|
||||
block && "w-full",
|
||||
sizes[size],
|
||||
styles[style],
|
||||
|
||||
@@ -34,7 +34,7 @@ const styles = {
|
||||
href={href}
|
||||
{...rest}
|
||||
class:list={[
|
||||
"rounded text-center transition focus-visible:ring-2 ring-offset-2 ring-gray-200",
|
||||
"rounded-sm text-center transition focus-visible:ring-2 ring-offset-2 ring-gray-200",
|
||||
block && "w-full",
|
||||
sizes[size],
|
||||
styles[style],
|
||||
|
||||
Reference in New Issue
Block a user