Skip to content

Commit

Permalink
added youtube intro
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-vaibhav committed Oct 17, 2023
1 parent 07f91a8 commit 9632962
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/assets/home-page/intro/annotation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 11 additions & 7 deletions src/components/home/intro.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
// import Youtube from "svelte-youtube-embed";
// import Annotation from "@assets/home-page/intro/annotation.svg";
import Youtube from "svelte-youtube-embed";
import annotation from "@assets/home-page/intro/annotation.svg";
</script>

<div class="container relative my-20">
Expand All @@ -12,9 +12,11 @@
class="h-10 w-10 lg:h-20 lg:w-20 mr-4 rounded-full"
alt="sudo-vaibhav"
/>
<!-- <div class="hidden lg:relative w-10 mt-10 left-[-150px]">
<img src={Annotation.src} alt="learn backroad in just 3 minutes" />
</div> -->
<div
class="hidden xl:block relative w-10 mt-10 xl:left-[-150px] xl:top-[50px]"
>
<img src={annotation.src} alt="learn backroad in just 3 minutes" />
</div>
</div>
<div class="text-justify">
<span class="font-medium">Hi, I'm Vaibhav, creator of Backroad 👋</span>
Expand All @@ -33,7 +35,9 @@
</p>
</div>
</div>
<div class="flex-col flex lg:flex-row items-center justify-center gap-3">
<div
class="flex-col flex lg:flex-row items-center justify-center my-10 gap-3"
>
<a
class="btn btn-primary w-full lg:w-auto"
target="_blank"
Expand All @@ -46,5 +50,5 @@
>See Examples</a
>
</div>
<!-- <Youtube id="dQw4w9WgXcQ" /> -->
<Youtube id="WzQvRl0Cv60" />
</div>

0 comments on commit 9632962

Please sign in to comment.