1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
backup-websites-2023-12-13/sites/terraform-skoleni.cz/components/Hero.tsx
Vojtech Mares 7b5d149ecc
feat: final commit
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
2023-12-13 18:20:21 +01:00

34 lines
1.1 KiB
TypeScript

import Image from 'next/image';
import clsx from 'clsx';
import { Container } from './Container';
import terraformLogo from '../images/terraform.svg';
export function Hero() {
return (
<>
<div className="bg-black pt-16 pb-16">
<Container className="flex flex-col justify-center md:flex-row md:justify-around md:items-end">
<Image
src={terraformLogo}
width="1500"
height="1500"
alt=""
priority
className={clsx(
"h-32 w-32",
terraformLogo.src.endsWith(".svg") ? "invert" : "rounded-full"
)}
/>
<div className="self-center">
<h1 className="text-center font-display text-5xl font-medium tracking-tight text-white sm:text-7xl leading-10">
Terraform školení
</h1>
<p className="mt-6 max-w-xl text-xl tracking-tight text-slate-100">
Školí: Vojtěch Mareš - DevOps konzultant, lektor a mentor
</p>
</div>
</Container>
</div>
</>
);
}