add youtube embedded

This commit is contained in:
Annie Huang committed 2024-02-29 15:23:07 +08:00
1 parent 00e421861f
commit 9146c433b3
1 file changed
+43 -27
+43 -27
View File
@@ -27,8 +27,8 @@ const scrollToSection = (sectionId) => {
} }
</script> </script>
<template> <template>
<div class="w-screen h-screen bg-bg"> <div class="w-screen h-screen bg-scroll bg-bg">
<DynamicBackground class="absolute inset-0 bg-cover bg-center z-0" /> <DynamicBackground class="overflow-auto w-full h-full" />
<div <div
class="h-screen w-screen absolute top-0 left-0 flex flex-wrap justify-center content-center" class="h-screen w-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
> >
@@ -36,7 +36,7 @@ const scrollToSection = (sectionId) => {
<div class="h-[6vh] w-full"> <div class="h-[6vh] w-full">
<div <div
id="header" id="header"
class="bg-bg-secondary content-center h-full w-full p-1" class="bg-bg-secondary content-center h-full w-full p-1 items-center"
> >
<div class="h-full flex items-center justify-center mx-3"> <div class="h-full flex items-center justify-center mx-3">
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
@@ -99,9 +99,14 @@ const scrollToSection = (sectionId) => {
</div> </div>
</div> </div>
<div class="w-fit h-[94vh] m-3"> <div class="w-fit h-[94vh] m-3 justify-center px-10">
<h1 class="text-text-primary text-5xl mb-5">Linux Odyssey</h1> <h1
<div class="max-h-300 overflow-auto w-[90vh]"> class="text-text-primary mb-5 font-extrabold font-mono"
style="font-size: 16vh"
>
Linux Odyssey
</h1>
<div class="overflow-y-auto w-70% flex flex-col">
<section id="info" class="text-text mb-5"> <section id="info" class="text-text mb-5">
Contrary to popular belief, Lorem Ipsum is not simply random text. Contrary to popular belief, Lorem Ipsum is not simply random text.
It has roots in a piece of classical Latin literature from 45 BC, It has roots in a piece of classical Latin literature from 45 BC,
@@ -153,28 +158,39 @@ const scrollToSection = (sectionId) => {
generated Lorem Ipsum is therefore always free from repetition, generated Lorem Ipsum is therefore always free from repetition,
injected humour, or non-characteristic words etc. injected humour, or non-characteristic words etc.
</section> </section>
<section id="contact" class="text-text mb-5"> <div class="justify-self-center w-fit">
It is a long established fact that a reader will be distracted by <iframe
the readable content of a page when looking at its layout. The point width="560"
of using Lorem Ipsum is that it has a more-or-less normal height="315"
distribution of letters, as opposed to using 'Content here, content src="https://www.youtube.com/embed/XzvfmUf1QP8?si=QxnKJMNjsm27fGGF"
here', making it look like readable English. Many desktop publishing title="YouTube video player"
packages and web page editors now use Lorem Ipsum as their default frameborder="0"
model text, and a search for 'lorem ipsum' will uncover many web allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
sites still in their infancy. Various versions have evolved over the allowfullscreen
years, sometimes by accident, sometimes on purpose (injected humour ></iframe>
and the like).//It is a long established fact that a reader will be </div>
distracted by the readable content of a page when looking at its
layout. The point of using Lorem Ipsum is that it has a more-or-less
normal distribution of letters, as opposed to using 'Content here,
content here', making it look like readable English. Many desktop
publishing packages and web page editors now use Lorem Ipsum as
their default model text, and a search for 'lorem ipsum' will
uncover many web sites still in their infancy. Various versions have
evolved over the years, sometimes by accident, sometimes on purpose
(injected humour and the like).
</section>
</div> </div>
<section id="contact" class="text-text mb-5">
It is a long established fact that a reader will be distracted by the
readable content of a page when looking at its layout. The point of
using Lorem Ipsum is that it has a more-or-less normal distribution of
letters, as opposed to using 'Content here, content here', making it
look like readable English. Many desktop publishing packages and web
page editors now use Lorem Ipsum as their default model text, and a
search for 'lorem ipsum' will uncover many web sites still in their
infancy. Various versions have evolved over the years, sometimes by
accident, sometimes on purpose (injected humour and the like).//It is
a long established fact that a reader will be distracted by the
readable content of a page when looking at its layout. The point of
using Lorem Ipsum is that it has a more-or-less normal distribution of
letters, as opposed to using 'Content here, content here', making it
look like readable English. Many desktop publishing packages and web
page editors now use Lorem Ipsum as their default model text, and a
search for 'lorem ipsum' will uncover many web sites still in their
infancy. Various versions have evolved over the years, sometimes by
accident, sometimes on purpose (injected humour and the like).
</section>
</div> </div>
</div> </div>
</div> </div>