Skip to content

Commit

Permalink
deploy: 5147a26
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Apr 10, 2024
1 parent 6d80440 commit 0a85c18
Show file tree
Hide file tree
Showing 34 changed files with 1,452 additions and 214 deletions.
50 changes: 44 additions & 6 deletions about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,51 @@

<link rel="stylesheet" href="/assets/css/style.css">


<script src="/assets/js/scroll.js" defer></script>

<title> About | Helen Chong | Front-End Web Developer</title>
</head>
<body>
<button class="top-btn hidden" aria-label="Scroll to top">
<img src="/assets/icons/top.svg" alt="">
</button>
<top-btn><button aria-label="Scroll to top" class="top-btn hidden">
<img src="/assets/icons/top.svg" alt>
</button>

<style>
.top-btn {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 999;
border: none;
background-color: var(--clr-top-btn);
border-radius: 50em;
padding: 0.5em;
}

.top-btn img {
width: 2rem;
}
</style>

<script>
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></top-btn>


<div class="content">
<header-main><header class="header">
<h1 class="header__title">
Expand Down Expand Up @@ -203,6 +239,7 @@ <h2 class="visually-hidden">Navigation Links:</h2>
});
</script></header-main>


<main class="main container">

<article class="bio prose">
Expand All @@ -227,6 +264,7 @@ <h3>My Certificates:</h3>
</article>
</main>
</div>

<footer class="footer container">
<nav class="socials">
<h2 class="visually-hidden">Social Links:</h2>
Expand Down
16 changes: 0 additions & 16 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,22 +161,6 @@ button:hover {
outline-offset: 0;
}

/* Scrool to Top Button */
.top-btn {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 999;
border: none;
background-color: var(--clr-top-btn);
border-radius: 50em;
padding: 0.5em;
}

.top-btn img {
width: 2rem;
}

/* Footer Style */

.footer {
Expand Down
50 changes: 44 additions & 6 deletions blog/categories/about-this-blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,51 @@

<link rel="stylesheet" href="/assets/css/style.css">


<script src="/assets/js/scroll.js" defer></script>

<title> Blog Post Category: &quot;about this blog&quot; | Helen Chong | Front-End Web Developer</title>
</head>
<body>
<button class="top-btn hidden" aria-label="Scroll to top">
<img src="/assets/icons/top.svg" alt="">
</button>
<top-btn><button aria-label="Scroll to top" class="top-btn hidden">
<img src="/assets/icons/top.svg" alt>
</button>

<style>
.top-btn {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 999;
border: none;
background-color: var(--clr-top-btn);
border-radius: 50em;
padding: 0.5em;
}

.top-btn img {
width: 2rem;
}
</style>

<script>
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></top-btn>


<div class="content">
<header-main><header class="header">
<h1 class="header__title">
Expand Down Expand Up @@ -203,6 +239,7 @@ <h2 class="visually-hidden">Navigation Links:</h2>
});
</script></header-main>


<main class="main container">

<nav class="blog__nav">
Expand Down Expand Up @@ -237,6 +274,7 @@ <h3>

</main>
</div>

<footer class="footer container">
<nav class="socials">
<h2 class="visually-hidden">Social Links:</h2>
Expand Down
50 changes: 44 additions & 6 deletions blog/categories/cassette-beasts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,51 @@

<link rel="stylesheet" href="/assets/css/style.css">


<script src="/assets/js/scroll.js" defer></script>

<title> Blog Post Category: &quot;cassette beasts&quot; | Helen Chong | Front-End Web Developer</title>
</head>
<body>
<button class="top-btn hidden" aria-label="Scroll to top">
<img src="/assets/icons/top.svg" alt="">
</button>
<top-btn><button aria-label="Scroll to top" class="top-btn hidden">
<img src="/assets/icons/top.svg" alt>
</button>

<style>
.top-btn {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 999;
border: none;
background-color: var(--clr-top-btn);
border-radius: 50em;
padding: 0.5em;
}

.top-btn img {
width: 2rem;
}
</style>

<script>
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></top-btn>


<div class="content">
<header-main><header class="header">
<h1 class="header__title">
Expand Down Expand Up @@ -203,6 +239,7 @@ <h2 class="visually-hidden">Navigation Links:</h2>
});
</script></header-main>


<main class="main container">

<nav class="blog__nav">
Expand Down Expand Up @@ -237,6 +274,7 @@ <h3>

</main>
</div>

<footer class="footer container">
<nav class="socials">
<h2 class="visually-hidden">Social Links:</h2>
Expand Down
50 changes: 44 additions & 6 deletions blog/categories/cbpickaxe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,51 @@

<link rel="stylesheet" href="/assets/css/style.css">


<script src="/assets/js/scroll.js" defer></script>

<title> Blog Post Category: &quot;cbpickaxe&quot; | Helen Chong | Front-End Web Developer</title>
</head>
<body>
<button class="top-btn hidden" aria-label="Scroll to top">
<img src="/assets/icons/top.svg" alt="">
</button>
<top-btn><button aria-label="Scroll to top" class="top-btn hidden">
<img src="/assets/icons/top.svg" alt>
</button>

<style>
.top-btn {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 999;
border: none;
background-color: var(--clr-top-btn);
border-radius: 50em;
padding: 0.5em;
}

.top-btn img {
width: 2rem;
}
</style>

<script>
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></top-btn>


<div class="content">
<header-main><header class="header">
<h1 class="header__title">
Expand Down Expand Up @@ -203,6 +239,7 @@ <h2 class="visually-hidden">Navigation Links:</h2>
});
</script></header-main>


<main class="main container">

<nav class="blog__nav">
Expand Down Expand Up @@ -237,6 +274,7 @@ <h3>

</main>
</div>

<footer class="footer container">
<nav class="socials">
<h2 class="visually-hidden">Social Links:</h2>
Expand Down
50 changes: 44 additions & 6 deletions blog/categories/chingu/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,51 @@

<link rel="stylesheet" href="/assets/css/style.css">


<script src="/assets/js/scroll.js" defer></script>

<title> Blog Post Category: &quot;chingu&quot; | Helen Chong | Front-End Web Developer</title>
</head>
<body>
<button class="top-btn hidden" aria-label="Scroll to top">
<img src="/assets/icons/top.svg" alt="">
</button>
<top-btn><button aria-label="Scroll to top" class="top-btn hidden">
<img src="/assets/icons/top.svg" alt>
</button>

<style>
.top-btn {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 999;
border: none;
background-color: var(--clr-top-btn);
border-radius: 50em;
padding: 0.5em;
}

.top-btn img {
width: 2rem;
}
</style>

<script>
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></top-btn>


<div class="content">
<header-main><header class="header">
<h1 class="header__title">
Expand Down Expand Up @@ -203,6 +239,7 @@ <h2 class="visually-hidden">Navigation Links:</h2>
});
</script></header-main>


<main class="main container">

<nav class="blog__nav">
Expand Down Expand Up @@ -247,6 +284,7 @@ <h3>

</main>
</div>

<footer class="footer container">
<nav class="socials">
<h2 class="visually-hidden">Social Links:</h2>
Expand Down
Loading

0 comments on commit 0a85c18

Please sign in to comment.