diff --git a/components/content/carousel/index.tsx b/components/content/carousel/index.tsx index f7a60ef..5ab85c1 100755 --- a/components/content/carousel/index.tsx +++ b/components/content/carousel/index.tsx @@ -4,6 +4,7 @@ import { StaticImport } from "next/dist/shared/lib/get-img-props"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faChevronCircleLeft, faChevronCircleRight } from "@fortawesome/free-solid-svg-icons"; import IframeResizer from "iframe-resizer-react"; +import Link from "next/link"; interface ContentCarouselProps { data: Array<{ @@ -28,19 +29,19 @@ const ContentCarousel = ({
{portfolioData.title}
{portfolioData.heroImgSrc &&
}
{portfolioData.description}
- {portfolioData.prototypeIframeURL &&
- { + {/* {} + />} */} + + {portfolioData.title} +
} {(currentPageIdx < pageLength - 1) && setCurrentPageIdx(currentPageIdx + 1)}>} diff --git a/components/content/index.tsx b/components/content/index.tsx index 16e44df..969a06b 100755 --- a/components/content/index.tsx +++ b/components/content/index.tsx @@ -4,10 +4,11 @@ import { StaticImport } from "next/dist/shared/lib/get-img-props"; interface ContentProps { title: string, - heroImgSrc: string | StaticImport, + heroImgSrc: string | StaticImport | null, description?: string, innerChildren?: ReactNode } + const Content = ({ title = '', heroImgSrc = '', @@ -17,7 +18,7 @@ const Content = ({ return (
{title}
- {heroImgSrc &&
} + {heroImgSrc &&
}
{description}
{innerChildren}
diff --git a/components/footer.tsx b/components/footer.tsx new file mode 100644 index 0000000..8e7d1cd --- /dev/null +++ b/components/footer.tsx @@ -0,0 +1,8 @@ +import React from "react"; +export default function Footer({}) { + return ( +
+ +
+ ); +}; \ No newline at end of file diff --git a/components/layout.tsx b/components/layout.tsx index 70d0a7f..21c7d25 100644 --- a/components/layout.tsx +++ b/components/layout.tsx @@ -1,13 +1,15 @@ -// import Navbar from './navbar' -// import Footer from './footer' +import Navbar from './navbar' +import Footer from './footer' import React from 'react' export default function Layout({ children }) { return ( - <> - {/* */} -
{children}
- {/*