fix(ts): refactor codebase for capacitor setup

This commit is contained in:
shafin-r
2025-07-28 20:22:04 +06:00
parent e091a78bdb
commit 0bca09f8ef
31 changed files with 458 additions and 384 deletions

View File

@ -1,6 +1,10 @@
import React from "react";
import React, { ReactNode } from "react";
const BackgroundWrapper = ({ children }) => {
interface BackgroundWrapperProps {
children: ReactNode;
}
const BackgroundWrapper = ({ children }: BackgroundWrapperProps) => {
return (
<div
className="min-h-screen bg-cover bg-center bg-no-repeat relative"
@ -10,9 +14,7 @@ const BackgroundWrapper = ({ children }) => {
>
<div
className="min-h-screen"
style={{
backgroundColor: "rgba(0, 0, 0, 0)", // Optional overlay - adjust opacity as needed
}}
style={{ backgroundColor: "rgba(0, 0, 0, 0)" }}
>
{children}
</div>