Files
Landing-Page/src/pages/index.astro
2023-02-14 10:58:14 +00:00

203 lines
6.5 KiB
Plaintext

---
import Layout from '~/layouts/PageLayout.astro';
import Header from '~/components/widgets/Header.astro';
import Hero2 from '~/components/widgets/Hero2.astro';
import Steps2 from '~/components/widgets/Steps2.astro';
import Content from '~/components/widgets/Content.astro';
import CallToAction from '~/components/widgets/CallToAction.astro';
import { getPermalink, getBlogPermalink, getAsset } from '~/utils/permalinks';
import { headerData } from '~/data';
const meta = {
title: 'Landing page',
};
---
<Layout {meta}>
<Fragment slot="header">
<Header
{...headerData}
actions={[
// {
// type: "ghost",
// text: 'Login',
// href: '#',
// },
// {
// type: "primary",
// text: 'Sign Up',
// href: '#',
// },
]}
isSticky
/>
</Fragment>
<!-- Hero2 Widget ******************* -->
<Hero2
callToAction={{ text: 'Source Code', href: 'https://github.com/Xplane11-WebRTC' }}
image={{ src: import('~/assets/images/wallapaper-737-runway.png'), alt: 'Xplane Hero Image' }}
>
<Fragment slot="title">
Xplane <br />
<span class="text-accent dark:text-white highlight"> Web</span>RTC
</Fragment>
<Fragment slot="subtitle">
<span class="hidden sm:inline">
<span class="font-semibold">The Xplane WebRTC</span> project takes inspiration from Google Stadia for a streaming based solution for playing video games. But our plan is to build one specifically for flight simulators. </span
>
<span class="block mb-1 sm:hidden font-bold text-blue-600"></span>The entire project is Open source.
</Fragment>
</Hero2>
<!-- Content Widget **************** -->
<Content
isReversed
items={[
{
title: 'Open',
description:
'We plan to be fully transparent and keep our source code fully open source.',
},
{
title: 'p2p',
description:
'Our entire infrastructure will be designed to run on a p2p network.',
},
{
title: 'Trimming Fat',
description:
'We are actively researching on building a custom trimmed down kernel for better performance.',
},
]}
image={{
src: import('~/assets/images/mainimage.png'),
alt: 'Colorful Image',
}}
>
<Fragment slot="content">
<h3 class="text-2xl font-bold tracking-tight dark:text-white sm:text-3xl mb-2">Objectives</h3>
The main aim is to allow players from anywhere even with a potato machine experience playing
flight simulators.
</Fragment>
</Content>
<!-- Content Widget **************** -->
<!-- <Content
items={[
{
title: 'Per ei quaeque sensibus',
description:
'Ex usu illum iudico molestie. Pro ne agam facete mediocritatem, ridens labore facete mea ei. Pro id apeirian dignissim.',
},
{
title: 'Cu imperdiet posidonium sed',
description:
'Amet utinam aliquando ut mea, malis admodum ocurreret nec et, elit tibique cu nec. Nec ex maluisset inciderint, ex quis.',
},
{
title: 'Nulla omittam sadipscing mel ne',
description:
'At sed possim oporteat probatus, justo graece ne nec, minim commodo legimus ut vix. Ut eos iudico quando soleat, nam modus.',
},
]}
image={{
src: import('~/assets/images/caos.jpg'),
alt: 'Colorful Image',
}}
>
<Fragment slot="content">
<h3 class="text-2xl font-bold tracking-tight dark:text-white sm:text-3xl mb-2">Ad vix debet docendi</h3>
Ne dicta praesent ocurreret has, diam theophrastus at pro. Eos etiam regione ut, persius eripuit quo id. Sit te euismod
tacimates.
</Fragment>
</Content> -->
<!-- Content Widget **************** -->
<!-- <Content
isReversed
items={[
{
title: 'Per ei quaeque sensibus',
description:
'Ex usu illum iudico molestie. Pro ne agam facete mediocritatem, ridens labore facete mea ei. Pro id apeirian dignissim.',
},
{
title: 'Cu imperdiet posidonium sed',
description:
'Amet utinam aliquando ut mea, malis admodum ocurreret nec et, elit tibique cu nec. Nec ex maluisset inciderint, ex quis.',
},
{
title: 'Nulla omittam sadipscing mel ne',
description:
'At sed possim oporteat probatus, justo graece ne nec, minim commodo legimus ut vix. Ut eos iudico quando soleat, nam modus.',
},
]}
image={{
src: import('~/assets/images/caos.jpg'),
alt: 'Colorful Image',
}}
>
<Fragment slot="content">
<h3 class="text-2xl font-bold tracking-tight dark:text-white sm:text-3xl mb-2">Ad vix debet docendi</h3>
Ne dicta praesent ocurreret has, diam theophrastus at pro. Eos etiam regione ut, persius eripuit quo id. Sit te euismod
tacimates.
</Fragment>
</Content> -->
<!-- Steps2 Widget ****************** -->
<!-- <Steps2
title="Sed ac magna sit amet risus tristique interdum, at vel velit in hac habitasse platea dictumst."
subtitle="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis lobortis, mi risus tempus nulla, sed porttitor est nibh at nulla. Praesent placerat enim ut ex tincidunt vehicula. Fusce sit amet dui tellus."
callToAction={{
text: 'Get template',
href: 'https://github.com/onwidget/astrowind',
icon: 'tabler:download',
}}
items={[
{
title: 'Responsive Elements',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis lobortis, mi risus tempus nulla.',
},
{
title: 'Flexible Team',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis lobortis, mi risus tempus nulla.',
},
{
title: 'Ecologic Software',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis lobortis, mi risus tempus nulla.',
},
]}
/> -->
<!-- CallToAction Widget *********** -->
<CallToAction
callToAction={{
text: 'View projects',
href: getPermalink('/project/'),
}}
>
<Fragment slot="title">
Sub + <br class="block sm:hidden" /><span class="sm:whitespace-nowrap"> projects</span>
</Fragment>
<Fragment slot="subtitle">
We have own style when it comes to bringing things together <br class="hidden md:inline" />Yes we
are reinventing the wheel!
</Fragment>
</CallToAction>
</Layout>