575 lines
22 KiB
HTML
575 lines
22 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en" dir="ltr" id="page-top">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
||
|
||
|
||
<meta property="og:title" content="Floating in a Sky Full of Pride: LGBTQ+ Booklet Artist Interview from MISI:Bawang | Articles">
|
||
|
||
<meta charset="utf-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<meta name="description" content="My submission for MISI:Bawang's booklet about LGBTQ+ Malaysians was accepted and published. Here is MISI:Bawang's interview with me regarding my work and my queer identity.">
|
||
<meta name="generator" content="Eleventy v2.0.1">
|
||
<meta property="og:type" content="website">
|
||
<meta property="og:url" content="https://leilukin.neocities.org/articles/lgbtq-booklet-interview-misi-bawang/">
|
||
<meta property="og:site_name" content="Leilukin's Hub">
|
||
<meta property="og:locale" content="en_MY">
|
||
<meta property="og:description" content="My submission for MISI:Bawang's booklet about LGBTQ+ Malaysians was accepted and published. Here is MISI:Bawang's interview with me regarding my work and my queer identity.">
|
||
<meta name="twitter:card" content="summary">
|
||
<meta name="twitter:url" content="https://leilukin.neocities.org/articles/lgbtq-booklet-interview-misi-bawang/">
|
||
<meta name="twitter:description" content="My submission for MISI:Bawang's booklet about LGBTQ+ Malaysians was accepted and published. Here is MISI:Bawang's interview with me regarding my work and my queer identity.">
|
||
<link rel="canonical" href="https://leilukin.neocities.org/articles/lgbtq-booklet-interview-misi-bawang/">
|
||
|
||
|
||
|
||
<link rel="stylesheet" href="/assets/css/main.css">
|
||
|
||
|
||
|
||
<link rel="stylesheet" href="/assets/fonts/noto-sans/noto-sans.css">
|
||
|
||
|
||
<link href="/assets/fonts/fontawesome/css/fontawesome.css" rel="stylesheet" />
|
||
<link href="/assets/fonts/fontawesome/css/brands.css" rel="stylesheet" />
|
||
<link href="/assets/fonts/fontawesome/css/solid.css" rel="stylesheet" />
|
||
|
||
|
||
|
||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
|
||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
|
||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
|
||
<link rel="manifest" href="/assets/favicon/site.webmanifest">
|
||
|
||
|
||
<title>
|
||
Floating in a Sky Full of Pride: LGBTQ+ Booklet Artist Interview from MISI:Bawang | Articles | Leilukin's Hub
|
||
</title>
|
||
</head>
|
||
<body>
|
||
<header class="hero">
|
||
<div class="hero__top-bar hidden"></div>
|
||
<div class="hero__img">
|
||
|
||
<img fetchpriority="high" src="/assets/leilukin/Leilukins-Hub-website-banner.png" alt="Banner of Leilukin's Hub">
|
||
|
||
</div>
|
||
</header>
|
||
|
||
<style>
|
||
.hero {
|
||
width: 100%;
|
||
background-color: var(--clr-hero-bg);
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
text-align: center;
|
||
}
|
||
|
||
.hero__top-bar {
|
||
background-color: var(--clr-navbar-bg);
|
||
width: 100%;
|
||
padding: 0.5em 0.7em;
|
||
}
|
||
|
||
.hero__img {
|
||
display: grid;
|
||
place-content: center;
|
||
}
|
||
|
||
.hero img {
|
||
object-fit: contain;
|
||
overflow: hidden;
|
||
max-height: 16rem;
|
||
|
||
filter: drop-shadow(0.1rem 0.1rem 0.2rem black);
|
||
|
||
}
|
||
</style>
|
||
|
||
<script defer>
|
||
const hero = document.querySelector(".hero");
|
||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||
const headerImgEl = document.querySelector(".hero__img");
|
||
|
||
|
||
const todayEvent = getTodayEvent();
|
||
|
||
if (todayEvent) {
|
||
heroTopBarEl.classList.remove('hidden');
|
||
heroTopBarEl.innerHTML = todayEvent.blurb;
|
||
|
||
if (todayEvent.class) {
|
||
headerImgEl.classList.add(todayEvent.class);
|
||
}
|
||
}
|
||
|
||
function getTodayEvent() {
|
||
const date = new Date();
|
||
const month = date.getMonth() + 1;
|
||
const day = date.getDate();
|
||
const year = date.getFullYear();
|
||
const weekOfMonth = Math.ceil(day / 7);
|
||
|
||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||
|
||
if (month === 3 && day === 1)
|
||
return {
|
||
blurb: `Today is <a href="https://www.unaids.org/en/zero-discrimination-day" target="_blank">Zero Discrimination Day</a>`,
|
||
class: "flag-progress-intersex",
|
||
};
|
||
else if (month === 3 && day === 8)
|
||
return {
|
||
blurb: `Today is <a href="https://www.internationalwomensday.com/" target="_blank">International Women's Day}</a>`,
|
||
class: "symbol-venus",
|
||
};
|
||
else if (month === 3 && day === 31)
|
||
return {
|
||
blurb: `Today is <a href="https://www.manygendersonevoice.org/tdov.html" target="_blank">Trans Day of Visibility</a>`,
|
||
class: "flag-trans",
|
||
};
|
||
else if (month === 4 && day === 6)
|
||
return {
|
||
blurb: `Today is <a href="https://internationalasexualityday.org/en" target="_blank">International Asexuality Day</a>`,
|
||
class: "flag-ace",
|
||
};
|
||
else if (month === 4 && day === 26)
|
||
return {
|
||
blurb: `Today is <a href="https://www.lesbianvisibilityweek.com" target="_blank">Lesbian Visibility Day</a>`,
|
||
class: "flag-lesbian",
|
||
};
|
||
else if (month === 4 && weekOfMonth === 4)
|
||
return {
|
||
blurb: `This week is <a href="https://www.lesbianvisibilityweek.com" target="_blank">Lesbian Visibility Week</a>`,
|
||
class: "flag-lesbian",
|
||
};
|
||
else if (month === 5 && day === 17)
|
||
return {
|
||
blurb: `Today is <a href="https://may17.org" target="_blank">International Day Against Homophobia, Biphobia and Transphobia</a>`,
|
||
class: "flag-progress",
|
||
};
|
||
else if (month === 5 && day === 19)
|
||
return {
|
||
blurb: `Today is <a href="https://www.believeoutloud.com/voices/article/agender-pride-day/" target="_blank">Agender Pride Day</a>`,
|
||
class: "flag-agender",
|
||
};
|
||
else if (month === 5 && day === 25)
|
||
return {
|
||
blurb: `Today is <a href="https://genderedintelligence.co.uk/panvisibilityday" target="_blank">Pansexual and Panromantic Awareness and Visibility Day</a>`,
|
||
class: "flag-pan",
|
||
};
|
||
else if (month === 6)
|
||
return {
|
||
blurb: `Happy <a href="https://www.loc.gov/lgbt-pride-month/about/" target="_blank">Pride Month</a>!`,
|
||
class: "flag-progress-intersex",
|
||
};
|
||
else if (month === 7 && day === 14)
|
||
return {
|
||
blurb: `Today is <a href="https://www.manygendersonevoice.org/non-binary-peoples-day.html" target="_blank">Non-Binary People's Day</a>`,
|
||
class: "flag-non-binary",
|
||
};
|
||
else if (month === 7 && day === 28)
|
||
return {
|
||
blurb: `Today is Leilukin's Birthday`
|
||
};
|
||
else if (month === 8 && day === 25)
|
||
return {
|
||
blurb: `Today is <a href="https://aromanticspectrumday.net/" target="_blank">Aromantic Spectrum Visibility Day</a>`,
|
||
class: "flag-aro",
|
||
};
|
||
else if (month === 9 && day === 11)
|
||
return {
|
||
blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
|
||
};
|
||
else if (month === 9 && day === 23)
|
||
return {
|
||
blurb: `Today is <a href="https://bivisibilityday.com/about" target="_blank">Bi Visibility Day</a>`,
|
||
class: "flag-bi",
|
||
};
|
||
else if (month === 10 && day === 8)
|
||
return {
|
||
blurb: `Today is <a href="https://www.lgbtiqhealth.org.au/international_lesbian_day2" target="_blank">International Lesbian Day</a>`,
|
||
class: "flag-lesbian",
|
||
};
|
||
else if (month === 10 && day === 11)
|
||
return {
|
||
blurb: `Today is <a href="https://www.hrc.org/resources/national-coming-out-day" target="_blank">National Coming Out Day</a>`,
|
||
class: "flag-rainbow",
|
||
};
|
||
else if (month === 10 && day === 17)
|
||
return {
|
||
blurb: `Today is the start of <a href="https://www.grlgbtqhealthcareconsortium.org/significantdates/genderfluid-visibility-week" target="_blank">Genderfluid Visibility Week</a>`,
|
||
class: "flag-genderfluid",
|
||
};
|
||
else if (month === 10 && day === 24)
|
||
return {
|
||
blurb: `Today is the start of <a href="https://www.grlgbtqhealthcareconsortium.org/significantdates/ace-week" target="_blank">Ace Week</a>`,
|
||
class: "flag-ace",
|
||
};
|
||
else if (month === 10 && day === 26)
|
||
return {
|
||
blurb: `Today is <a href="https://interactadvocates.org/intersex-awareness-day" target="_blank">Intersex Awareness Day</a>`,
|
||
class: "flag-intersex",
|
||
};
|
||
else if (month === 11 && day === 13)
|
||
return {
|
||
blurb: `Today is the start of <a href="https://glaad.org/transweek/" target="_blank">Transgender Awareness Week</a>`,
|
||
class: "flag-trans",
|
||
};
|
||
else
|
||
return null;
|
||
}
|
||
|
||
</script>
|
||
<nav class="navbar">
|
||
<div class="navbar__header">
|
||
<button class="navbar__toggle" aria-label="Navigation menu toggle">
|
||
<i class="fa-solid fa-bars"></i>
|
||
</button>
|
||
<h2 class="navbar__title">Navigation</h2>
|
||
</div>
|
||
<ul class="navbar__links">
|
||
|
||
|
||
|
||
<li>
|
||
<a href="/">Home</a>
|
||
</li>
|
||
<li>
|
||
<a href="/about/">About</a>
|
||
</li>
|
||
<li>
|
||
<a href="/now/">Now</a>
|
||
</li>
|
||
<li>
|
||
<a href="/blog/">Blog</a>
|
||
</li>
|
||
<li>
|
||
<a href="/articles/">Articles</a>
|
||
</li>
|
||
<li>
|
||
<a href="/projects/">Projects</a>
|
||
</li>
|
||
<li>
|
||
<a href="/shrines/">Shrines</a>
|
||
</li>
|
||
<li>
|
||
<a href="/links/">Links</a>
|
||
</li>
|
||
<li><a href="https://leilukin.123guestbook.com/">Guestbook</a></li>
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<style>
|
||
.navbar {
|
||
background: var(--clr-navbar-bg);
|
||
padding: 0.6em 1em;
|
||
width: 100%;
|
||
z-index: 999;
|
||
position: sticky;
|
||
top: 0;
|
||
}
|
||
|
||
.navbar__header {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.8em;
|
||
}
|
||
|
||
.navbar__toggle {
|
||
border: none;
|
||
padding: 0;
|
||
margin: 0;
|
||
font-size: 1.3rem;
|
||
background-color: inherit;
|
||
color: var(--clr-navbar-link);
|
||
}
|
||
|
||
.navbar__title {
|
||
font-size: 1.3rem;
|
||
color: var(--clr-navbar-link);
|
||
}
|
||
|
||
.navbar a {
|
||
color: var(--clr-navbar-link);
|
||
text-decoration: none;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.navbar a:hover {
|
||
color: var(--clr-link-hover);
|
||
}
|
||
|
||
.navbar a:focus {
|
||
outline-offset: 0.3em;
|
||
outline: 0.15em solid var(--clr-navbar-link);
|
||
}
|
||
|
||
.navbar__links {
|
||
list-style: none;
|
||
display: none;
|
||
gap: 1em;
|
||
padding: 0.5em 2em;
|
||
overflow: auto;
|
||
}
|
||
|
||
.navbar__links--show {
|
||
display: grid;
|
||
}
|
||
|
||
/* Screen sizes larger than mobile */
|
||
@media only screen and (min-width: 30rem) {}
|
||
|
||
/* Tablet screen size */
|
||
@media only screen and (min-width: 43.75rem) {
|
||
.navbar {
|
||
padding: 0 0.6em;
|
||
}
|
||
|
||
.navbar__header {
|
||
display: none;
|
||
}
|
||
|
||
.navbar__links {
|
||
display: flex;
|
||
justify-content: space-evenly;
|
||
gap: 0.5em;
|
||
flex-wrap: wrap;
|
||
padding: 0;
|
||
}
|
||
}
|
||
|
||
/* Desktop screen size */
|
||
@media only screen and (min-width: 60rem) {}
|
||
</style>
|
||
|
||
<script defer>
|
||
const navbarToggle = document.querySelector('.navbar__toggle');
|
||
const navbarLinks = document.querySelector(".navbar__links");
|
||
|
||
navbarToggle.addEventListener('click', () => {
|
||
navbarLinks.classList.toggle("navbar__links--show");
|
||
});
|
||
</script>
|
||
|
||
<main>
|
||
<header class="main__header">
|
||
|
||
<ul class="breadcrumbs">
|
||
|
||
<li>
|
||
<a href="/articles/">Articles</a>
|
||
</li>
|
||
</ul>
|
||
|
||
|
||
|
||
<h1>Floating in a Sky Full of Pride: LGBTQ+ Booklet Artist Interview from MISI:Bawang</h1>
|
||
<div class="article__info">
|
||
<p>Posted on 11 September 2022 by Leilukin
|
||
|
||
|
||
<p>Categories:
|
||
|
||
<a href="/categories/my-interviews">my interviews</a>
|
||
|
||
</p>
|
||
|
||
<p>🍿 3 min. read</p>
|
||
</div>
|
||
|
||
</header>
|
||
|
||
<div class="content__wrapper">
|
||
|
||
|
||
|
||
<article class="article">
|
||
<p class="center-text"><i>(This article is also available on <a href="https://leilukinart.tumblr.com/post/676165415142031360/misibawang-a-malaysian-digital-booklet-project" target="_blank">my art blog on Tumblr</a>)</i></p>
|
||
<p><a href="https://bawangqueerbooklet.msolidariti.org/">Floating in a Sky Full of Pride</a>, the LGBTQ+ booklet of <a href="https://misibawang.msolidariti.org/">MISI:Bawang</a>, a Malaysian digital booklet project, has been released on Valentine’s Day 2022. Since my submitted art piece, Life of a Bee with Pride, has been selected to be included in the booklet, I had received the honour of being interviewed by MISI:Bawang to share my personal experience with my LGBTQ+ identity, favourite queer art/media, and a ✨ special message to the Malaysian LGBTQ+ community. 🏳🌈</p>
|
||
<p><img src="/assets/images/articles/lgbtq-booklet-interview-misi-bawang/Bawang-Booklet-Interview-Leilukin-1.jpg" alt="First slide of MISI:Bawang's interview with me for their LGBTQ+ booklet"></p>
|
||
<p><img src="/assets/images/articles/lgbtq-booklet-interview-misi-bawang/Bawang-Booklet-Interview-Leilukin-2.jpg" alt="Second slide of MISI:Bawang's interview with me for their LGBTQ+ booklet"></p>
|
||
<p><img src="/assets/images/articles/lgbtq-booklet-interview-misi-bawang/Bawang-Booklet-Interview-Leilukin-3.jpg" alt="Third slide of MISI:Bawang's interview with me for their LGBTQ+ booklet"></p>
|
||
<p>MISI:Bawang has shared their interview with me and other Malaysian LGBTQ+ artists and authors who submitted their work to the booklet on Twitter and Instagram. Here are the <a href="https://twitter.com/misi_bawang/status/1470247663471763464">Twitter thread</a> and <a href="https://www.instagram.com/p/CXSlIbsJXsM/">Instagram post</a> that include my interview.</p>
|
||
<p>Text version of my interview below:</p>
|
||
<div class="heading-wrapper h2">
|
||
<h2 id="what-was-your-experience-discovering-your-lgbtq-identity"><strong>“What was your experience discovering your LGBTQ+ identity?”</strong></h2>
|
||
<a class="heading-anchor" href="#what-was-your-experience-discovering-your-lgbtq-identity" aria-labelledby="what-was-your-experience-discovering-your-lgbtq-identity"><span hidden>#</span></a></div>
|
||
<blockquote>
|
||
<p>The first clear signs of my attraction to women I was aware of started from my secondary school days. However, due to lack of knowledge and awareness of same-gender attraction and identities, I brushed it off as a teenage phase.</p>
|
||
<p>However, that changed as I started becoming active on Tumblr since I was 19. At first, I joined Tumblr to connect with people who share my interest in Star Wars and BioWare games. This led me to get to know LGBTQ+ from different parts of the world, which is especially helped by the fact that BioWare games are known for LGBTQ+ representation, therefore LGBTQ+ people are visible in BioWare player communities. This started my journey of questioning my sexuality and gender.</p>
|
||
<p>As I continue to stay on Tumblr, my engagement with LGBTQ+ people on Tumblr had gone beyond shared interest in entertainment media. Through Tumblr, I discovered many LGBTQ+ resources that helped me figure out my identity. As a result, at the age of 22, I eventually realised that I am a non-binary lesbian.</p>
|
||
</blockquote>
|
||
<div class="heading-wrapper h2">
|
||
<h2 id="are-there-any-lgbtq-related-art-books-films-etc-that-gives-you-comfort-inspiration-and-strength-if-so-tell-us-about-them"><strong>“Are there any LGBTQ+ related art (books, films, etc) that gives you comfort, inspiration, and strength? If so, tell us about them!”</strong></h2>
|
||
<a class="heading-anchor" href="#are-there-any-lgbtq-related-art-books-films-etc-that-gives-you-comfort-inspiration-and-strength-if-so-tell-us-about-them" aria-labelledby="are-there-any-lgbtq-related-art-books-films-etc-that-gives-you-comfort-inspiration-and-strength-if-so-tell-us-about-them"><span hidden>#</span></a></div>
|
||
<blockquote>
|
||
<p>A Summer’s End - Hong Kong 1986 is the LGBTQ+ art that gives me comfort, inspiration and strength the most. It is an indie visual novel developed by the Asian Canadian studio Oracle and Bone. The story is about a lesbian romance that takes place in Hong Kong in the year of 1986.</p>
|
||
<p>A Summer’s End is the LGBTQ+ art I relate to most because it strongly resonates with my identity as a Cantonese-speaking Chinese lesbian who has grown up with Hong Kong media. I relate to both the protagonists, Michelle and Sam, as their characters represent different parts of my life as a Chinese lesbian. I also relate to the story’s theme of hoping for the future of our homeland despite the political uncertainties.</p>
|
||
</blockquote>
|
||
<div class="heading-wrapper h2">
|
||
<h2 id="do-you-have-a-message-to-lgbtq-community-living-in-malaysia"><strong>“Do you have a message to LGBTQ+ community living in Malaysia?”</strong></h2>
|
||
<a class="heading-anchor" href="#do-you-have-a-message-to-lgbtq-community-living-in-malaysia" aria-labelledby="do-you-have-a-message-to-lgbtq-community-living-in-malaysia"><span hidden>#</span></a></div>
|
||
<blockquote>
|
||
<p>First and foremost, you are not alone. LGBTQ+ Malaysians have a community that continues to survive despite the hardship we have to face due to society’s bigotry and misunderstanding of LGBTQ+ people and identities.</p>
|
||
<p>I hope the LGBTQ+ community in Malaysia will continue to grow and thrive, and more LGBTQ+ Malaysians who are still questioning and feeling lonely could be reached out. Let us work towards a future where we could live freely.</p>
|
||
</blockquote>
|
||
|
||
</article>
|
||
|
||
|
||
|
||
<aside class="right-sidebar">
|
||
<nav class="content__nav sidebar--sticky">
|
||
<h2 class="content__nav--title">My Contents</h2>
|
||
<ul class="content__nav--links">
|
||
|
||
<li><a href="/archive/">Content Archive</a></li>
|
||
|
||
<li><a href="/categories/">Content Categories</a></li>
|
||
|
||
<li><a href="/articles/">Articles</a></li>
|
||
|
||
<li><a href="/blog/posts/">Blog Archive</a></li>
|
||
|
||
<li><a href="/blog/">Blog Home</a></li>
|
||
|
||
</ul>
|
||
</nav>
|
||
</aside>
|
||
|
||
<style>
|
||
.content__nav {
|
||
padding: 1.2em clamp(1em, 5%, 1.5em);
|
||
background-color: var(--clr-content-bg);
|
||
}
|
||
|
||
.content__nav--title {
|
||
font-size: 1.7rem;
|
||
}
|
||
</style>
|
||
|
||
|
||
|
||
</div>
|
||
|
||
<style>
|
||
.breadcrumbs {
|
||
list-style: none;
|
||
padding: 0;
|
||
margin: 0 0 0.7em 0;
|
||
display: flex;
|
||
gap: 0.5em;
|
||
flex-wrap: wrap;
|
||
justify-content: center;
|
||
}
|
||
|
||
.breadcrumbs li::after {
|
||
content: '➔';
|
||
padding-left: 0.3em;
|
||
}
|
||
</style>
|
||
</main>
|
||
<footer class="footer">
|
||
<p>Made with ♥ by Leilukin since <time>11 September 2022</time></p>
|
||
|
||
|
||
<ul class="footer__links">
|
||
<li><a
|
||
|
||
href="/sitemap/
|
||
">Site Map</a></li>
|
||
<li><a
|
||
|
||
href="/changelogs/"
|
||
>Changelogs</a></li>
|
||
<li><a href="/feed.xml">RSS</a></li>
|
||
</ul>
|
||
|
||
</footer>
|
||
|
||
<style>
|
||
.footer {
|
||
margin-top: auto;
|
||
background: var(--clr-main-footer-bg);
|
||
padding: 0.8rem;
|
||
text-align: center;
|
||
display: grid;
|
||
}
|
||
|
||
.footer p {
|
||
padding: 0;
|
||
}
|
||
|
||
.footer__links {
|
||
justify-self: center;
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
display: flex;
|
||
gap: 0.7em;
|
||
}
|
||
|
||
.footer__links li:not(:last-child)::after {
|
||
content: '|';
|
||
padding-left: 0.6em;
|
||
}
|
||
|
||
@media only screen and (min-width: 600px) {
|
||
.footer {
|
||
width: 100%;
|
||
}
|
||
}
|
||
</style>
|
||
<button class="top-btn hidden" aria-label="Scroll to top">
|
||
<i class="fa-solid fa-chevron-up"></i>
|
||
</button>
|
||
|
||
<style>
|
||
.top-btn {
|
||
position: fixed;
|
||
margin: 0;
|
||
padding: 0;
|
||
bottom: 0.5rem;
|
||
right: 0.5rem;
|
||
z-index: 999;
|
||
border: none;
|
||
background-color: var(--clr-top-btn-bg);
|
||
color: var(--clr-top-btn-txt);
|
||
border-radius: 50em;
|
||
width: 2rem;
|
||
aspect-ratio: 1 / 1;
|
||
}
|
||
|
||
.top-btn:focus {
|
||
outline: 0.25em solid var(--clr-top-btn-bg);
|
||
outline-offset: 0.15em;
|
||
}
|
||
</style>
|
||
|
||
<script defer>
|
||
const topButton = document.querySelector(".top-btn");
|
||
|
||
window.onscroll = () => {
|
||
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
|
||
topButton.classList.remove("hidden");
|
||
} else {
|
||
topButton.classList.add("hidden");
|
||
}
|
||
}
|
||
|
||
topButton.addEventListener('click', () => {
|
||
window.scrollTo({
|
||
top: 0,
|
||
left: 0,
|
||
behavior: "smooth",
|
||
});
|
||
});
|
||
</script>
|
||
</body>
|
||
</html> |