Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove blog related files and update footer in text #29

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed app/public/banner.png
Binary file not shown.
39 changes: 23 additions & 16 deletions app/src/client/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,7 @@ export default function App({ children }: { children: ReactNode }) {
<div className='relative flex flex-col min-h-screen justify-between'>
{shouldDisplayAppNavBar && <AppNavBar />}
{children}
<div>
<Footer />
<div className='flex items-center h-20 bg-airt-footer-copyrights'>
<p className='text-center w-full text-sm text-airt-font-base opacity-50'>
© 2024 airt. All rights reserved.
</p>
</div>
</div>
<FooterWrapper />
</div>
)}
</>
Expand All @@ -147,17 +140,31 @@ export default function App({ children }: { children: ReactNode }) {
))
)}
</div>
<div>
<Footer />
<div className='flex items-center h-20 bg-airt-footer-copyrights'>
<p className='text-center w-full text-sm text-airt-font-base opacity-50'>
© 2024 airt. All rights reserved.
</p>
</div>
</div>
<FooterWrapper />
</div>
)}
</div>
</>
);
}

const FooterWrapper: React.FC = () => {
return (
<div>
<Footer />
<div className='flex items-center h-20 bg-airt-footer-copyrights'>
<p className='text-center w-full text-sm text-airt-font-base opacity-50'>
© 2024{' '}
<a
href='https://airt.ai'
className='text-sm leading-6 text-airt-font-base underline dark:text-white'
target='_blank'
>
airt
</a>
. All rights reserved.
</p>
</div>
</div>
);
};
6 changes: 3 additions & 3 deletions app/src/client/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import FooterMascot from '../static/robot-footer.svg';

export default function Footer() {
return (
<div className='bg-airt-primary px-6 lg:px-8 dark:bg-boxdark-2 pb-24 mt-30 sm:mt-40'>
<div className='bg-airt-primary px-6 lg:px-8 dark:bg-boxdark-2 pb-15 mt-30 sm:mt-40'>
<section className='relative'>
<div className='flex items-center justify-center'>
<img className='absolute -top-17 left-1/2 transform -translate-x-1/2 h-auto w-28' src={FooterMascot} />
Expand All @@ -30,13 +30,13 @@ export default function Footer() {
</ul>
</div> */}
<div>
<h3 className='text-sm font-bold leading-6 text-airt-font-base dark:text-white'>Company</h3>
{/* <h3 className='text-sm font-bold leading-6 text-airt-font-base dark:text-white'>Company</h3> */}
<ul role='list' className='mt-6 space-y-4'>
{footerNavigation.company.map((item) => (
<li key={item.name}>
<a
href={item.href}
className='text-sm leading-6 text-airt-font-base hover:text-airt-font-base dark:text-white'
className='text-sm leading-6 text-airt-font-base hover:underline dark:text-white'
target={`${item.name === 'airt' ? '_blank' : '_self'}`}
>
{item.name}
Expand Down
3 changes: 1 addition & 2 deletions app/src/client/landing-page/contentSections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ export const footerNavigation = {
// { name: 'Blog', href: BLOG_URL },
// ],
company: [
{ name: 'airt', href: 'https://airt.ai/' },
{ name: 'Privacy', href: '/privacy' },
{ name: 'Privacy Policy', href: '/privacy' },
{ name: 'Terms of Service', href: '/toc' },
],
};
24 changes: 0 additions & 24 deletions blog/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions blog/.vscode/extensions.json

This file was deleted.

11 changes: 0 additions & 11 deletions blog/.vscode/launch.json

This file was deleted.

53 changes: 0 additions & 53 deletions blog/README.md

This file was deleted.

89 changes: 0 additions & 89 deletions blog/astro.config.mjs

This file was deleted.

Loading
Loading