Skip to content

Commit

Permalink
ui changes
Browse files Browse the repository at this point in the history
  • Loading branch information
devsisingh committed Mar 26, 2024
1 parent 1b09745 commit 42eed66
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 54 deletions.
42 changes: 15 additions & 27 deletions components/Myvpncard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,36 +331,24 @@ const MyVpnCard: React.FC<ReviewCardProps> = ({

{loading && (
<div
style={{
position: "absolute",
top: 700,
left: 0,
width: "100%",
height: "100%",
}}
>
<div
style={{
display: "flex",
justifyContent: "center",
alignItems: "center",
zIndex: 9999,
}}
>
<div
style={{
border: "8px solid #f3f3f3",
borderTop: "8px solid #3498db",
borderRadius: "50%",
width: "50px",
height: "50px",
animation: "spin 1s linear infinite",
}}
>
{/* <Loader/> */}
style={{ backgroundColor: "#222944E5" }}
className='flex overflow-y-auto overflow-x-hidden fixed inset-0 z-50 justify-center items-center w-full max-h-full'
id='popupmodal'
>
<div className='relative p-4 lg:w-1/5 w-full max-w-2xl max-h-full'>
<div className='relative rounded-lg shadow'>
<div className='flex justify-center gap-4'>
<img
className='w-12 animate-spin duration-[3000] h-12'
src='/Loadingsotreus.png'
alt='Loading icon'
/>

<span className='text-white mt-2'>Loading...</span>
</div>
</div>
</div>
</div>
)}
</div>
);
Expand Down
42 changes: 15 additions & 27 deletions components/MyvpncardDedicated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,36 +203,24 @@ const MyVpnCardDedicated: React.FC<ReviewCardProps> = ({
</div>
{loading && (
<div
style={{
position: "absolute",
top: 700,
left: 0,
width: "100%",
height: "100%",
}}
>
<div
style={{
display: "flex",
justifyContent: "center",
alignItems: "center",
zIndex: 9999,
}}
>
<div
style={{
border: "8px solid #f3f3f3",
borderTop: "8px solid #3498db",
borderRadius: "50%",
width: "50px",
height: "50px",
animation: "spin 1s linear infinite",
}}
>
{/* <Loader/> */}
style={{ backgroundColor: "#222944E5" }}
className='flex overflow-y-auto overflow-x-hidden fixed inset-0 z-50 justify-center items-center w-full max-h-full'
id='popupmodal'
>
<div className='relative p-4 lg:w-1/5 w-full max-w-2xl max-h-full'>
<div className='relative rounded-lg shadow'>
<div className='flex justify-center gap-4'>
<img
className='w-12 animate-spin duration-[3000] h-12'
src='/Loadingsotreus.png'
alt='Loading icon'
/>

<span className='text-white mt-2'>Loading...</span>
</div>
</div>
</div>
</div>
)}

{delvpn && (
Expand Down
Binary file added public/Loadingsotreus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 42eed66

Please sign in to comment.