Skip to content

Commit

Permalink
hero images
Browse files Browse the repository at this point in the history
  • Loading branch information
lassejaco committed Jan 2, 2024
1 parent efb5a88 commit b873357
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified devcon/src/assets/images/pages/hero-bgs/about-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion devcon/src/pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import About1 from 'assets/images/carousel/about/about-1.jpg'
import About2 from 'assets/images/carousel/about/about-2.jpg'
import About3 from 'assets/images/carousel/about/about-3.jpg'
import About4 from 'assets/images/carousel/about/about-4.jpg'
import HeroBackground from 'assets/images/pages/hero-bgs/about-bg (3).png'
import HeroBackground from 'assets/images/pages/hero-bgs/about-bg.png'

export default pageHOC(function AboutPage(props: any) {
const pageContext = usePageContext()
Expand Down
3 changes: 2 additions & 1 deletion devcon/src/pages/news/[page].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import ChevronLeft from 'assets/icons/chevron_left.svg'
import ChevronRight from 'assets/icons/chevron_right.svg'
import css from './news.module.scss'
import { Link } from 'components/common/link'
import HeroBackground from 'assets/images/pages/hero-bgs/news-bg.png'

const limit = 10

Expand All @@ -39,7 +40,7 @@ export default pageHOC(function NewsTemplate(props: any) {

return (
<Page theme={themes['news']}>
<PageHero />
<PageHero heroBackground={HeroBackground} />

<div className="section">
<NewsOverview newsItems={props.news} />
Expand Down
2 changes: 1 addition & 1 deletion devcon/src/pages/past-events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import Prague from 'assets/images/editions/Prague.png'
import Osaka from 'assets/images/editions/Osaka.png'
import Bogota from 'assets/images/editions/Bogota.png'
import { useTranslations } from 'next-intl'
import HeroBackground from 'assets/images/pages/hero-bgs/about-bg (3).png'
import HeroBackground from 'assets/images/pages/hero-bgs/about-bg.png'

function getEditionImage(edition: number) {
if (edition === 0) return Berlin
Expand Down

0 comments on commit b873357

Please sign in to comment.