Skip to content

Commit ad58134

Browse files
committed
Tweaks
1 parent 6ece365 commit ad58134

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

src/components/footer.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
<span>About Pedro, the curriculum</span>
1818
</a>
1919
<a href="/topo-da-mente">
20-
<span>Topo da Mente, my notebook</span>
20+
<span>Topo da Mente</span>
2121
</a>
22-
<a href="https://www.are.na/p-m-c-f">
22+
<!-- <a href="https://www.are.na/p-m-c-f">
2323
<span>Are.na, a collection</span>
2424
</a>
2525
<a rel="me" href="https://mastodon.social/@freenandes">
2626
<span>Mastodon</span>
27-
</a>
27+
</a> -->
2828
<a href="https://github.com/freenandes">
2929
<span>GitHub</span>
3030
</a>

src/layouts/PMCF.astro

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -600,18 +600,18 @@ textareas.forEach(textarea => {
600600

601601
// Back button after transitions
602602

603-
const goBack = () => {
604-
history.back();
605-
};
606-
const setButton = () => {
607-
const backLink: HTMLElement | null = document.getElementById('backLink');
608-
if (backLink) {
609-
backLink.removeEventListener('click', goBack);
610-
backLink.addEventListener('click', goBack);
611-
}
612-
};
613-
setButton();
614-
document.addEventListener('DOMContentLoaded', setButton);
603+
// const goBack = () => {
604+
// history.back();
605+
// };
606+
// const setButton = () => {
607+
// const backLink: HTMLElement | null = document.getElementById('backLink');
608+
// if (backLink) {
609+
// backLink.removeEventListener('click', goBack);
610+
// backLink.addEventListener('click', goBack);
611+
// }
612+
// };
613+
// setButton();
614+
// document.addEventListener('DOMContentLoaded', setButton);
615615

616616
// Intersection with the viewport
617617

src/pages/experience/[...slug].astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ const {Content} = await entry.render();
2424
<div class="grided post">
2525
<header class="top init">
2626
<nav class="hyperlinks">
27-
<a id="backLink">
28-
<span>Back</span>
27+
<a id="backLink" href="/">
28+
<span>Index</span>
2929
</a>
3030
<hr>
3131
</nav>

0 commit comments

Comments
 (0)