uwu rawr :3
This commit is contained in:
@@ -138,14 +138,12 @@ export default function StorefrontPage() {
|
||||
fetchStorefront();
|
||||
}, []);
|
||||
|
||||
// ✅ Handle Form Input Changes
|
||||
const handleInputChange = (
|
||||
e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>
|
||||
) => {
|
||||
setStorefront({ ...storefront, [e.target.name]: e.target.value });
|
||||
};
|
||||
|
||||
// ✅ Save Storefront Changes
|
||||
const saveStorefront = async () => {
|
||||
try {
|
||||
setSaving(true);
|
||||
@@ -161,7 +159,6 @@ export default function StorefrontPage() {
|
||||
return (
|
||||
<Layout>
|
||||
<div className="max-w-4xl mx-auto p-6 space-y-6">
|
||||
{/* PGP Key Section */}
|
||||
<div className="bg-white dark:bg-[#0F0F12] rounded-xl shadow-lg p-6 border dark:border-zinc-700">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Key className="h-6 w-6 text-purple-600 dark:text-purple-400" />
|
||||
@@ -177,7 +174,6 @@ export default function StorefrontPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Telegram Section */}
|
||||
<div className="bg-white dark:bg-[#0F0F12] rounded-xl shadow-lg p-6 border dark:border-zinc-700">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<MessageSquare className="h-6 w-6 text-emerald-600 dark:text-emerald-400" />
|
||||
@@ -193,7 +189,6 @@ export default function StorefrontPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Welcome Message Section */}
|
||||
<div className="bg-white dark:bg-[#0F0F12] rounded-xl shadow-lg p-6 border dark:border-zinc-700">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<MessageSquare className="h-6 w-6 text-blue-600 dark:text-blue-400" />
|
||||
@@ -209,7 +204,6 @@ export default function StorefrontPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Shipping Locations Section */}
|
||||
<div className="bg-white dark:bg-[#0F0F12] rounded-xl shadow-lg p-6 border dark:border-zinc-700">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Globe className="h-6 w-6 text-blue-600 dark:text-blue-400" />
|
||||
@@ -282,7 +276,6 @@ export default function StorefrontPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Cryptocurrency Wallets Section */}
|
||||
<div className="bg-white dark:bg-[#0F0F12] rounded-xl shadow-lg p-6 border dark:border-zinc-700">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Wallet className="h-6 w-6 text-yellow-600 dark:text-yellow-400" />
|
||||
@@ -356,7 +349,6 @@ export default function StorefrontPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Action Buttons */}
|
||||
<div className="flex justify-between">
|
||||
<Button
|
||||
onClick={() => setBroadcastOpen(true)}
|
||||
|
||||
Reference in New Issue
Block a user