-
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.
- Loading branch information
sett
committed
Jan 16, 2024
1 parent
8a7dc35
commit d55a3fc
Showing
5 changed files
with
89 additions
and
0 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.
Binary file not shown.
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,9 @@ | ||
'use client'; | ||
|
||
import EternalAi from '@/modules/eternal-ai'; | ||
|
||
export default function EternalAiPage() { | ||
return ( | ||
<EternalAi /> | ||
); | ||
} |
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,10 @@ | ||
import s from './styles.module.scss'; | ||
import Image from 'next/image'; | ||
|
||
export default function EternalAi() { | ||
|
||
return <div className={s.eternalAi}> | ||
<video className={s.eternalAi_video} playsInline loop autoPlay muted src={'landing/loop-videos.webm'} /> | ||
<Image loading={'eager'} src={'landing/images/eternail.svg'} width={485} height={213} alt={'eternail'} /> | ||
</div>; | ||
} |
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,26 @@ | ||
.eternalAi { | ||
display: flex; | ||
height: 100vh; | ||
align-items: center; | ||
justify-content: center; | ||
padding: 32px; | ||
|
||
video { | ||
mix-blend-mode: luminosity; | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
top: 0; | ||
left: 0; | ||
} | ||
|
||
img { | ||
aspect-ratio: 485/213; | ||
max-width: 100%; | ||
max-height: 100%; | ||
object-fit: contain; | ||
position: relative; | ||
z-index: 2; | ||
} | ||
} |