Skip to content

Commit

Permalink
replace the video with a better one
Browse files Browse the repository at this point in the history
  • Loading branch information
Hetari committed Sep 1, 2024
1 parent 500e252 commit 88fabd2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Binary file added src/assets/videos/contact.mp4
Binary file not shown.
2 changes: 1 addition & 1 deletion src/assets/videos/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import earthLottie from './earth.json';
import contact from './contact.webp';
import contact from './contact.mp4';

export { earthLottie, contact };
14 changes: 11 additions & 3 deletions src/components/sections/Contact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@
class="relative min-h-svh w-full select-none overflow-y-clip p-[4vh]"
>
<div
class="flex-center relative h-[92vh] w-full flex-col rounded-lg bg-black bg-cover bg-bottom bg-no-repeat uppercase"
:style="'background-image: url(' + contact + ') !important; '"
class="flex-center relative h-[92vh] w-full flex-col rounded-lg bg-black uppercase"
>
<div class="flex-center flex-col gap-y-10">
<video
class="absolute bottom-0 left-0 h-full w-full rounded-lg object-cover object-bottom"
:src="contact"
autoplay
muted
loop
playsinline
></video>
<!-- :style="'background-image: url(' + contact + ') !important; '" -->
<div class="flex-center z-10 flex-col gap-y-10">
<p class="heading-4 text-center font-mono text-flax-smoke-300">
(Need an unfair advantage?)
</p>
Expand Down

0 comments on commit 88fabd2

Please sign in to comment.