Skip to content

Commit

Permalink
hide credits on mobile, exchange logo, add event hint
Browse files Browse the repository at this point in the history
  • Loading branch information
joergreichert committed Mar 28, 2024
1 parent 8e7cadf commit 1034937
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Binary file modified public/images/leipzig-giesst-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/components/Credits/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { FC } from 'react';
import styled from 'styled-components';
import "react-responsive-carousel/lib/styles/carousel.min.css";
import { Carousel } from 'react-responsive-carousel';
import { isMobile } from 'react-device-detect';

const logoCitylab = '/images/citylab-logo.svg';
const logoCodeForLeipzig = '/images/cfg-leipzig-logo.svg';
Expand Down Expand Up @@ -87,6 +88,9 @@ const DigiPreisLogo = styled.img`
`;

const Credits: FC = () => {
if (isMobile) {
return <div />
}
return (
<CreditsContainer>
<Carousel showThumbs={false} autoPlay={true} interval={6000}
Expand Down
6 changes: 6 additions & 0 deletions src/components/Overlay/OverlayTop/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,15 @@ const OverlayTop: FC = () => {
<Wrapper>
<OverlayTitle size='xxl' title={title} />
<img style={{ height: 160 }} src='images/leipzig-giesst-logo.png' />
{!isMobile && (<div style={{ width: '60%', fontSize: '16pt', fontStyle: 'bold', color: 'blue' }}>
Kommt zum Gießauftakt am 28.04.24 in Lindenau. <br/>Details dazu folgen!
</div>)}
</Wrapper>
<OverlayTitle size='xxl' title={subline} />
{isMobile && <OverlayTitle size='medium' title={disclaimer} />}
{isMobile && (<div style={{ paddingLeft: '40px', paddingBottom: '20px', width: '60%', fontSize: '16pt', fontStyle: 'bold', color: 'blue' }}>
Kommt zum Gießauftakt am 28.04.24 in Lindenau. <br/>Details dazu folgen!
</div>)}
{/* the beow is here for local testing */}
{/* {true && <OverlayTitle size='medium' content={disclaimer} />} */}
<OverlayDescription content={description} />
Expand Down

0 comments on commit 1034937

Please sign in to comment.