Skip to content

Commit 997d30e

Browse files
committed
Change some links and remove target attribute
1 parent 24cb861 commit 997d30e

3 files changed

Lines changed: 8 additions & 22 deletions

File tree

src/components/page/footer.astro

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
<footer class="small-text">
22
<p>
3-
<a href="https://github.com/mcecode/mce.codes" target="_blank"
4-
>Made by mcecode</a
5-
>.
3+
<a href="https://github.com/mcecode/mce.codes">Made by mcecode</a>.
64
</p>
75
<p>
8-
Content licensed under <a
9-
href="https://creativecommons.org/licenses/by-sa/4.0"
10-
target="_blank">CC BY-SA 4.0</a
11-
>
12-
Code licensed under <a
13-
href="https://www.gnu.org/licenses/gpl-3.0.html"
14-
target="_blank">GPLv3</a
15-
>.
6+
<a href="https://github.com/mcecode/mce.codes/blob/main/LICENSE"
7+
>Content licensed under CC BY-SA 4.0. Code licensed under GPLv3.</a>
168
</p>
179
<p>
1810
Thoughts are my own and does not reflect that of my employer or anyone else.

src/components/projects/item-card.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if ((image.width / image.height).toFixed(2) !== "1.78") {
1919
<li>
2020
<Picture {...image} />
2121
<h2>{title}</h2>
22-
<a href={link} target="_blank">{link}</a>
22+
<a href={link}>{link}</a>
2323
<p>{description}</p>
2424
</li>
2525

src/content/writings/every-way-to-create-a-metronome-in-javascript.mdx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,7 @@ Great! Now we have our metronome. There's a problem though, even if the timer do
115115

116116
We were able to account for timer drift, but now we got jittering.
117117

118-
<a
119-
href="https://knowyourmeme.com/photos/1388290-womp-womp-slang"
120-
target="_blank"
121-
>
118+
<a href="https://knowyourmeme.com/photos/1388290-womp-womp-slang">
122119
<Picture
123120
alt="Michael Scott from The Office; Womp womp meme"
124121
{...wompWompJpg}
@@ -229,10 +226,7 @@ Thus, unless the timer fires extremely late or the BPM set is set impossibly hig
229226

230227
All that said, there you have it, we're done, no more jittering this time because we used the precise clock that comes with `AudioContext`.
231228

232-
<a
233-
href="https://tenor.com/view/dazed-and-confused-matthew-mc-conaughey-gif-3977028"
234-
target="_blank"
235-
>
229+
<a href="https://tenor.com/view/dazed-and-confused-matthew-mc-conaughey-gif-3977028">
236230
<Picture
237231
alt="David Wooderson from Dazed and Confused; Alright, alright, alright meme"
238232
{...alrightAlrightAlrightGif}
@@ -307,7 +301,7 @@ I think this solution is easier to reason with than the lookahead timer approach
307301

308302
Nice, we got an alternative to the lookahead timer approach... this might be a nice point to end on, but...
309303

310-
<a href="https://knowyourmeme.com/photos/2546187-pepe-silvia" target="_blank">
304+
<a href="https://knowyourmeme.com/photos/2546187-pepe-silvia">
311305
<Picture
312306
alt="Charlie Kelly from It's Always Sunny In Philadelphia; Pepe Silvia meme"
313307
{...pepeSilvaJpg}
@@ -369,7 +363,7 @@ playButton.onclick = async () => {
369363

370364
That's it, we're done. This approach is the most robust of all that we've tried and has the least possibility of jittering since we don't have to deal with any latencies from the main thread. The only time that something could go wrong is if there's a problem with the setup or if the Web Audio API itself has a bug.
371365

372-
<a href="https://tenor.com/view/ok-all-nice-gif-22927671" target="_blank">
366+
<a href="https://tenor.com/view/ok-all-nice-gif-22927671">
373367
<Picture
374368
alt="Brent Rambo from Apple's 1990s promotional video; Kid giving thumbs up meme"
375369
{...kidGivingThumbsUpGif}

0 commit comments

Comments
 (0)