Skip to content

Commit

Permalink
feat(homepageHeader): Removed unneeded imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisraymond-uchicago committed Jan 27, 2025
1 parent 927205a commit 8cf98c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
1 change: 1 addition & 0 deletions src/lib/HealNav/HealFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Image from 'next/image';
import gen3Logo from '../../../public/images/gen3.png';
import ctdsLogo from '../../../public/images/ctds-logo.png';
import footerNihLogo from '../../../public/images/footer-nih-logo.png';

const HealFooter: React.FC = () => {
return (
<div
Expand Down
21 changes: 1 addition & 20 deletions src/pages/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import React from 'react';
import {
NavPageLayout,
NavPageLayoutProps,
getNavPageLayoutPropsFromConfig,
} from '@gen3/frontend';
import { GetServerSideProps } from 'next';
import Hero from '../lib/Home/Components/Hero/Hero';
import CarouselBanner from '../lib/Home/Components/CarouselBanner/CarouselBanner';
Expand All @@ -14,11 +9,7 @@ import QuoteSpotlight from '../lib/Home/Components/QuoteSpotlight/QuoteSpotlight
import HealHeader from '@/lib/HealNav/HealHeader';
import HealFooter from '@/lib/HealNav/HealFooter';

const HealLandingPage = ({ headerProps, footerProps }: NavPageLayoutProps) => {
// Included as placeholders for now.
headerProps;
footerProps;

const HealLandingPage = () => {
return (
<div className="w-full">
<HealHeader />
Expand All @@ -33,14 +24,4 @@ const HealLandingPage = ({ headerProps, footerProps }: NavPageLayoutProps) => {
);
};

export const getServerSideProps: GetServerSideProps<
NavPageLayoutProps
> = async () => {
return {
props: {
...(await getNavPageLayoutPropsFromConfig()),
},
};
};

export default HealLandingPage;

0 comments on commit 8cf98c9

Please sign in to comment.