feat: minor ui improvements

This commit is contained in:
neoapps-dev
2026-09-01 18:31:45 +03:00
parent 8d42cac897
commit 1311a55932
+2 -2
View File
@@ -152,7 +152,7 @@ const HomeView = memo(function HomeView() {
className="relative w-full max-w-[540px] flex flex-col space-y-3 outline-none" className="relative w-full max-w-[540px] flex flex-col space-y-3 outline-none"
> >
{buttonsVal.map((btn, i) => ( {buttonsVal.map((btn, i) => (
<div key={i} className="relative w-full group"> <div key={i} className="relative w-full group flex justify-center">
<button <button
onMouseEnter={() => onMouseEnter={() =>
isFocusedSection && !btn.disabled && setMenuFocus(i) isFocusedSection && !btn.disabled && setMenuFocus(i)
@@ -165,7 +165,7 @@ const HomeView = memo(function HomeView() {
} }
}} }}
disabled={btn.disabled} disabled={btn.disabled}
className={`w-full h-12 flex items-center justify-between px-6 text-xl mc-text-shadow transition-colors outline-none border-none ${btn.disabled ? "text-gray-400 cursor-not-allowed" : menuFocus === i ? (btn.isDanger ? "text-red-400" : "text-[#FFFF55]") : btn.isDanger ? "text-red-500" : "text-white"}`} className={`w-[90%] h-11 flex items-center justify-between px-6 text-xl mc-text-shadow transition-colors outline-none border-none ${btn.disabled ? "text-gray-400 cursor-not-allowed" : menuFocus === i ? (btn.isDanger ? "text-red-400" : "text-[#FFFF55]") : btn.isDanger ? "text-red-500" : "text-white"}`}
style={{ style={{
backgroundImage: btn.disabled backgroundImage: btn.disabled
? "url('/images/Button_Background.png')" ? "url('/images/Button_Background.png')"