-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from simonyiszk/59-app-tile
59 app tile
- Loading branch information
Showing
5 changed files
with
172 additions
and
7 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,31 @@ | ||
import { MobilAppData } from '@/models/models'; | ||
|
||
import { Tile } from './tile'; | ||
|
||
type Props = { | ||
data: MobilAppData; | ||
}; | ||
|
||
export function MobilAppTile({ data: { description } }: Props) { | ||
export function MobilAppTile({ data }: Props) { | ||
return ( | ||
<div className='tile sm:col-span-3 p-10'> | ||
<h1>Konferenciapp</h1> | ||
<p>{description}</p> | ||
</div> | ||
<Tile className='sm:col-span-6 md:col-span-3'> | ||
<Tile.Body> | ||
<h2 className='text-3xl sm:text-[34px]'>KonferenciApp</h2> | ||
<div className='flex flex-col gap-4 lg:gap-0 lg:flex-row w-full justify-between mt-4 items-center'> | ||
<img src='img/app-screens.png' className='object-cover rounded-3xl h-[300px] mr-3' alt='App screens' /> | ||
<p className='text-stone-200 text-[20px] whitespace-pre-line w-full h-full items-center'> | ||
Töltsd le a mobil appot, hogy élőben követhesd a konferencia eseményeit és kérdezhess az előadóktól! | ||
</p> | ||
</div> | ||
<div className='w-full flex lg:flex-row flex-col justify-center lg:gap-10 gap-4 items-center mt-4'> | ||
<a href={data.androidUrl} className='h-fit'> | ||
<img className='h-[57px] min-w-[190]' src='img/google-play-badge-hu.png' alt='Play Store' /> | ||
</a> | ||
<a href={data.iosUrl}> | ||
<img className='h-[60px] min-w-[180]' src='img/apple-store-hu-black.svg' alt='Apple Store' /> | ||
</a> | ||
</div> | ||
</Tile.Body> | ||
</Tile> | ||
); | ||
} |