style: footer tweaking
This commit is contained in:
@@ -2,6 +2,22 @@
|
|||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overscroll-behavior: none;
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
#root,
|
||||||
|
#__next {
|
||||||
|
overflow-x: hidden;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
:root {
|
:root {
|
||||||
--background: 0 0% 100%;
|
--background: 0 0% 100%;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ const Privacy = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const body = (
|
const body = (
|
||||||
<div className='privacy-content my-2 max-h-[60vh] space-y-1 overflow-auto'>
|
<div className='privacy-content my-2 max-h-[50vh] space-y-1 overflow-auto'>
|
||||||
<p className='leading-relaxed'>
|
<p className='leading-relaxed'>
|
||||||
This Privacy Policy describes Our policies and procedures on the
|
This Privacy Policy describes Our policies and procedures on the
|
||||||
collection, use and disclosure of Your information when You use the
|
collection, use and disclosure of Your information when You use the
|
||||||
|
|||||||
@@ -12,26 +12,34 @@ export const Footer = () => {
|
|||||||
|
|
||||||
if (pathname === '/unsubscribe') {
|
if (pathname === '/unsubscribe') {
|
||||||
return (
|
return (
|
||||||
<div className='flex justify-center space-x-4'>
|
<div className='flex flex-col justify-center space-x-4'>
|
||||||
<CustomLink path='/' text='Subscribe' />
|
<CustomLink path='/' text='Subscribe' />
|
||||||
|
<div className='mt-2 text-xs text-gray-600'>
|
||||||
|
<Link
|
||||||
|
className='font-medium text-indigo-600 hover:text-indigo-500'
|
||||||
|
href='/privacy'
|
||||||
|
>
|
||||||
|
Privacy Policy
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pathname === '/privacy') {
|
if (pathname === '/privacy') {
|
||||||
return (
|
return (
|
||||||
<div className='relative flex w-full items-center'>
|
<div className='w-full'>
|
||||||
<div className='flex w-full justify-center'>
|
<div className='relative flex flex-col items-center justify-center space-y-4 sm:flex-row sm:space-x-8 sm:space-y-0'>
|
||||||
<div className='inline-flex'>
|
<div>
|
||||||
<CustomLink path='/' text='Subscribe' />
|
<CustomLink path='/' text='Subscribe' />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div>
|
||||||
<div className='absolute right-0'>
|
<CustomLink
|
||||||
<CustomLink
|
path='/unsubscribe'
|
||||||
path='/unsubscribe'
|
text='Unsubscribe'
|
||||||
text='Unsubscribe'
|
className='rounded bg-gray-50 px-3 py-1.5 text-sm text-gray-500 transition-colors duration-200 hover:bg-gray-100'
|
||||||
className='rounded bg-gray-50 px-3 py-1.5 text-sm text-gray-500 transition-colors duration-200 hover:bg-gray-100'
|
/>
|
||||||
/>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user