forked from evilfactorylabs/evilfactorylabs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Fariz Rizaldy
committed
Jan 14, 2020
1 parent
810c93e
commit c2567c1
Showing
1 changed file
with
79 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<script> | ||
import { fade } from 'svelte/transition' | ||
import Hero from '../components/Hero' | ||
import Typewriter from '../components/Typewriter' | ||
import Transition from '../components/Transition' | ||
import Container from '../components/Container' | ||
</script> | ||
|
||
<style> | ||
.o-video { | ||
position: absolute; | ||
min-width: 100%; | ||
min-height: 100%; | ||
left: 0; | ||
top: 0; | ||
} | ||
.o-backdrop { | ||
position: fixed; | ||
left: 0; | ||
bottom: 0; | ||
background: rgba(0, 0, 0, 0.8); | ||
width: 100%; | ||
} | ||
.o-footer { | ||
position: fixed; | ||
bottom: 0; | ||
right: 0; | ||
width: 100%; | ||
font-weight: bold; | ||
text-align: center; | ||
text-transform: uppercase; | ||
padding: 2rem; | ||
padding-bottom: 3rem; | ||
} | ||
@media screen and (min-width: 60em) { | ||
.o-footer { | ||
text-align: right; | ||
padding-right: 5rem; | ||
} | ||
} | ||
</style> | ||
|
||
<svelte:head> | ||
<title>evilfactorylabs.org - Beranda</title> | ||
</svelte:head> | ||
|
||
<Transition> | ||
<video autoplay muted loop class="o-video"> | ||
<source src="/bg.mp4" type="video/mp4" /> | ||
</video> | ||
|
||
<div class="o-backdrop"> | ||
<Container> | ||
<Hero> | ||
<Typewriter cursor={false} interval={65}> | ||
<h2 class="o-cta__title o-cta__title--is-primary u-mb-sm"> | ||
We have principles in empowering community. You in? | ||
</h2> | ||
</Typewriter> | ||
<a | ||
class="o-cta__action" | ||
href="/kiprah" | ||
in:fade={{ duration: 666, delay: 3800 }}> | ||
If you wanna know how, click here. | ||
</a> | ||
</Hero> | ||
</Container> | ||
|
||
<div class="o-footer"> | ||
<a class="u-td-none" href="mailto:[email protected]"> | ||
[email protected] | ||
</a> | ||
</div> | ||
</div> | ||
</Transition> |