ok banget

This commit is contained in:
zadit
2024-10-30 03:32:48 +07:00
parent 1ecc6db645
commit 5a2b9b2f86
18 changed files with 244 additions and 130 deletions

View File

@@ -79,7 +79,6 @@ const WelcomePageEditor = ({ cafeId, welcomePageConfig }) => {
>
<h2>Edit Welcome Page</h2>
<div style={{ display: "flex", flexDirection: "column" }}>
<input type="file" accept="image/*" onChange={handleImageChange} />
<textarea
value={welcomingText}
onChange={handleTextChange}
@@ -120,7 +119,7 @@ const WelcomePageEditor = ({ cafeId, welcomePageConfig }) => {
</button>
</div>
<div
style={{ width: "100%", height: "100%", position: "relative", flex: 1 }}
style={{ width: "100%", height: "100%", position: "relative", flex: 1, borderRadius: '15px' }}
>
<WelcomePage
image={image}
@@ -129,6 +128,7 @@ const WelcomePageEditor = ({ cafeId, welcomePageConfig }) => {
textColor={textColor}
onGetStarted={() => setIsFullscreen(false)}
isFullscreen={isFullscreen}
onImageChange={handleImageChange}
/>
<div style={{ position: "absolute", bottom: 0, right: 0 }}>
<svg