mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
lint
This commit is contained in:
parent
64d3bc7d9f
commit
8868d9e79e
@ -1,4 +1,4 @@
|
|||||||
import { DeployStatus } from "../DeployChatButton";
|
import { DeployStatus } from '~/components/header/DeployChat/DeployChatButton';
|
||||||
|
|
||||||
interface DeployChatModalProps {
|
interface DeployChatModalProps {
|
||||||
isModalOpen: boolean;
|
isModalOpen: boolean;
|
||||||
@ -19,7 +19,6 @@ const DeployChatModal = ({
|
|||||||
error,
|
error,
|
||||||
handleDeploy,
|
handleDeploy,
|
||||||
}: DeployChatModalProps) => {
|
}: DeployChatModalProps) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isModalOpen && (
|
{isModalOpen && (
|
||||||
|
@ -5,7 +5,7 @@ interface FeedbackModalProps {
|
|||||||
formData: any;
|
formData: any;
|
||||||
setFormData: (formData: any) => void;
|
setFormData: (formData: any) => void;
|
||||||
handleSubmitFeedback: () => void;
|
handleSubmitFeedback: () => void;
|
||||||
};
|
}
|
||||||
|
|
||||||
const FeedbackModal = ({
|
const FeedbackModal = ({
|
||||||
isModalOpen,
|
isModalOpen,
|
||||||
@ -31,9 +31,13 @@ const FeedbackModal = ({
|
|||||||
<div className="bg-bolt-elements-background-depth-1 rounded-lg p-8 max-w-2xl w-full z-50 border border-bolt-elements-borderColor">
|
<div className="bg-bolt-elements-background-depth-1 rounded-lg p-8 max-w-2xl w-full z-50 border border-bolt-elements-borderColor">
|
||||||
{submitted ? (
|
{submitted ? (
|
||||||
<>
|
<>
|
||||||
<h2 className="text-2xl font-bold mb-6 text-bolt-elements-textPrimary text-center">Feedback Submitted</h2>
|
<h2 className="text-2xl font-bold mb-6 text-bolt-elements-textPrimary text-center">
|
||||||
|
Feedback Submitted
|
||||||
|
</h2>
|
||||||
<div className="text-center">
|
<div className="text-center">
|
||||||
<p className="text-bolt-elements-textSecondary mb-6">Thank you for your feedback! We appreciate your input.</p>
|
<p className="text-bolt-elements-textSecondary mb-6">
|
||||||
|
Thank you for your feedback! We appreciate your input.
|
||||||
|
</p>
|
||||||
<div className="flex justify-center gap-2">
|
<div className="flex justify-center gap-2">
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@ -48,13 +52,17 @@ const FeedbackModal = ({
|
|||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<h2 className="text-2xl font-bold mb-6 text-bolt-elements-textPrimary text-center">Share Your Feedback</h2>
|
<h2 className="text-2xl font-bold mb-6 text-bolt-elements-textPrimary text-center">
|
||||||
|
Share Your Feedback
|
||||||
|
</h2>
|
||||||
<div className="text-center mb-6 text-bolt-elements-textSecondary">
|
<div className="text-center mb-6 text-bolt-elements-textSecondary">
|
||||||
Let us know how Nut is doing or report any issues you've encountered.
|
Let us know how Nut is doing or report any issues you've encountered.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mb-6">
|
<div className="mb-6">
|
||||||
<label className="block mb-2 text-sm font-medium text-bolt-elements-textPrimary">Your Feedback:</label>
|
<label className="block mb-2 text-sm font-medium text-bolt-elements-textPrimary">
|
||||||
|
Your Feedback:
|
||||||
|
</label>
|
||||||
<textarea
|
<textarea
|
||||||
name="description"
|
name="description"
|
||||||
className="w-full p-3 border rounded-lg bg-bolt-elements-background-depth-2 text-bolt-elements-textPrimary border-bolt-elements-borderColor focus:ring-2 focus:ring-green-500 focus:border-transparent min-h-[120px]"
|
className="w-full p-3 border rounded-lg bg-bolt-elements-background-depth-2 text-bolt-elements-textPrimary border-bolt-elements-borderColor focus:ring-2 focus:ring-green-500 focus:border-transparent min-h-[120px]"
|
||||||
|
Loading…
Reference in New Issue
Block a user