Skip to content

Commit

Permalink
Merge pull request #39 from Teknologforeningen/remove_footer_images
Browse files Browse the repository at this point in the history
Comment out footer images on homepage temporarily
  • Loading branch information
backjonas authored Sep 5, 2023
2 parents 473dbcf + 7a4ede7 commit c7ba6ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { GetStaticProps, NextPage } from 'next'
import Image from 'next/image'
// import Image from 'next/image'
import { fetchNews } from '@lib/api/news'
import { fetchHomepage } from '@lib/api/homepage'
import Column from '@components/Column'
Expand All @@ -12,7 +12,7 @@ import { NewsType } from '@models/news'
import MainBanner, { BannerImage } from '@components/Banner'
import TFInfo from '@components/TFInfo'
import News from '@components/news'
import Row from '@components/Row'
// import Row from '@components/Row'
import Footer from '@components/footer'

export interface HomePage {
Expand Down Expand Up @@ -51,7 +51,7 @@ const Home: NextPage<HomeProps> = ({
<News news={news.slice(0, 5)} />
<Calendar />
</Item>
<Row className="relative w-full overflow-hidden">
{/* <Row className="relative w-full overflow-hidden">
<div className="h-[500px] w-0 md:w-1/2">
<Image
src={`/images/banner/0.jpg`}
Expand All @@ -68,7 +68,7 @@ const Home: NextPage<HomeProps> = ({
style={{ objectFit: 'cover' }}
/>
</div>
</Row>
</Row> */}
<Item backgroundColor="white">
<TFInfo />
</Item>
Expand Down

0 comments on commit c7ba6ac

Please sign in to comment.