xnl-admin/app/routes/_index.tsx

59 lines
1.8 KiB
TypeScript
Raw Normal View History

2024-09-09 09:59:50 +02:00
import { Footer } from '~/components/footer';
import Header from '~/components/header';
import { PageContainer } from '~/components/page';
2024-09-06 09:44:02 +02:00
2024-09-09 10:18:04 +02:00
export const meta = () => {
return [
{
title: 'XNL - Home'
}
];
};
2024-09-06 09:44:02 +02:00
export default function Index() {
2024-09-06 12:28:50 +02:00
return (
2024-09-09 09:59:50 +02:00
<>
<div className="absolute top-0 -z-40 backdrop-blur-sm w-full min-h-screen isolate bg-black" />
<div className="absolute -z-30 min-h-full min-w-full overflow-hidden">
<video
className="min-w-full min-h-full w-auto h-auto absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]"
onLoad={() => {}}
autoPlay
muted
>
<source src="/bg.webm#t=4" type="video/webm" />
</video>
2024-09-06 12:28:50 +02:00
</div>
2024-09-09 09:59:50 +02:00
<div
style={{
2024-09-09 10:18:04 +02:00
background: '#ff660005'
2024-09-09 09:59:50 +02:00
}}
className="absolute top-0 -z-20 backdrop-blur-sm w-full min-h-screen isolate"
/>
<div
style={{
background: 'url("/grain.svg")',
opacity: 0.1
}}
className="absolute top-0 -z-10 backdrop-blur-sm w-full min-h-screen isolate"
/>
<Header />
<PageContainer>
<div
id="middle"
className="flex justify-center items-center w-full min-h-[75vh]"
>
<h1 className="text-7xl text-center">
Pushing the boundaries of what is achievable.
</h1>
</div>
</PageContainer>
<Footer />
</>
2024-09-06 12:28:50 +02:00
);
2024-09-06 09:44:02 +02:00
}