alpha
Login
or
Join now
atpota.to
/
cred.blue
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
update nav bar with new icons
author
damedotblog
date
1 year ago
(Feb 15, 2025, 10:23 PM -0500)
commit
009c314a
009c314a0d845ed000954d5a2afab6a4311950cc
parent
a19e5765
a19e5765d2029100370702ae94690c9b946f9332
+134
-32
15 changed files
Expand all
Collapse all
Unified
Split
public
icons
fa-bluesky.svg
fa-github.svg
fa-heart.svg
fa-moon.svg
fa-quote-right.svg
fa-reply.svg
fa-retweet.svg
fa-sun.svg
icons-sprite.svg
src
App.css
components
CompareScores
CompareScores.css
Navbar
Navbar.css
Navbar.js
ScoreResult.css
SearchBar
SearchBar.js
+1
public/icons/fa-bluesky.svg
Reviewed
···
1
1
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"/></svg>
+1
public/icons/fa-github.svg
Reviewed
···
1
1
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
+1
public/icons/fa-heart.svg
Reviewed
···
1
1
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"/></svg>
+1
public/icons/fa-moon.svg
Reviewed
···
1
1
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"/></svg>
+1
public/icons/fa-quote-right.svg
Reviewed
···
1
1
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M448 296c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 32 0 32 0 72zm-256 0c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 32 0 32 0 72z"/></svg>
+1
public/icons/fa-reply.svg
Reviewed
···
1
1
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M205 34.8c11.5 5.1 19 16.6 19 29.2l0 64 112 0c97.2 0 176 78.8 176 176c0 113.3-81.5 163.9-100.2 174.1c-2.5 1.4-5.3 1.9-8.1 1.9c-10.9 0-19.7-8.9-19.7-19.7c0-7.5 4.3-14.4 9.8-19.5c9.4-8.8 22.2-26.4 22.2-56.7c0-53-43-96-96-96l-96 0 0 64c0 12.6-7.4 24.1-19 29.2s-25 3-34.4-5.4l-160-144C3.9 225.7 0 217.1 0 208s3.9-17.7 10.6-23.8l160-144c9.4-8.5 22.9-10.6 34.4-5.4z"/></svg>
+1
public/icons/fa-retweet.svg
Reviewed
···
1
1
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M272 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-112 0c-17.7 0-32-14.3-32-32l0-128 32 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-64-64c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l32 0 0 128c0 53 43 96 96 96l112 0zM304 96c-17.7 0-32 14.3-32 32s14.3 32 32 32l112 0c17.7 0 32 14.3 32 32l0 128-32 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8l-32 0 0-128c0-53-43-96-96-96L304 96z"/></svg>
+1
public/icons/fa-sun.svg
Reviewed
···
1
1
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"/></svg>
+41
public/icons/icons-sprite.svg
Reviewed
···
1
1
+
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
2
2
+
<!-- Bluesky Icon -->
3
3
+
<symbol id="icon-bluesky" viewBox="0 0 512 512">
4
4
+
<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"/>
5
5
+
</symbol>
6
6
+
7
7
+
<!-- GitHub Icon -->
8
8
+
<symbol id="icon-github" viewBox="0 0 496 512">
9
9
+
<path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8z"/>
10
10
+
</symbol>
11
11
+
12
12
+
<!-- Moon Icon -->
13
13
+
<symbol id="icon-moon" viewBox="0 0 384 512">
14
14
+
<path d="M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"/>
15
15
+
</symbol>
16
16
+
17
17
+
<!-- Sun Icon -->
18
18
+
<symbol id="icon-sun" viewBox="0 0 512 512">
19
19
+
<path d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"/>
20
20
+
</symbol>
21
21
+
22
22
+
<!-- Reply Icon -->
23
23
+
<symbol id="icon-reply" viewBox="0 0 448 512">
24
24
+
<path d="M205 34.8c11.5 5.1 19 16.6 19 29.2l0 64 112 0c97.2 0 176 78.8 176 176c0 113.3-81.5 163.9-100.2 174.1c-2.5 1.4-5.3 1.9-8.1 1.9c-10.9 0-19.7-8.9-19.7-19.7c0-7.5 4.3-14.4 9.8-19.5c9.4-8.8 22.2-26.4 22.2-56.7c0-53-43-96-96-96l-96 0 0 64c0 12.6-7.4 24.1-19 29.2s-25 3-34.4-5.4l-160-144C3.9 225.7 0 217.1 0 208s3.9-17.7 10.6-23.8l160-144c9.4-8.5 22.9-10.6 34.4-5.4z"/>
25
25
+
</symbol>
26
26
+
27
27
+
<!-- Heart Icon -->
28
28
+
<symbol id="icon-heart" viewBox="0 0 512 512">
29
29
+
<path d="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"/>
30
30
+
</symbol>
31
31
+
32
32
+
<!-- Quote Right Icon -->
33
33
+
<symbol id="icon-quote-right" viewBox="0 0 448 512">
34
34
+
<path d="M448 296c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 32 0 32 0 72zm-256 0c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 32 0 32 0 72z"/>
35
35
+
</symbol>
36
36
+
37
37
+
<!-- Retweet Icon -->
38
38
+
<symbol id="icon-retweet" viewBox="0 0 512 512">
39
39
+
<path d="M272 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-112 0c-17.7 0-32-14.3-32-32l0-128 32 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-64-64c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l32 0 0 128c0 53 43 96 96 96l112 0zM304 96c-17.7 0-32 14.3-32 32s14.3 32 32 32l112 0c17.7 0 32 14.3 32 32l0 128-32 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8l-32 0 0-128c0-53-43-96-96-96L304 96z"/>
40
40
+
</symbol>
41
41
+
</svg>
-4
src/App.css
Reviewed
···
241
241
border-color: var(--button-bg);
242
242
}
243
243
244
244
-
.dark-mode button:hover {
245
245
-
background-color: #1a75d2;
246
246
-
}
247
247
-
248
244
.dark-mode .error {
249
245
color: #ff6b6b;
250
246
}
+1
src/components/CompareScores/CompareScores.css
Reviewed
···
309
309
flex-direction: column;
310
310
gap: 15px;
311
311
margin: 10px auto;
312
312
+
max-width: 500px;
312
313
}
313
314
314
315
.comparison-summary p {
+42
src/components/Navbar/Navbar.css
Reviewed
···
257
257
color: #f5f5f5;
258
258
}
259
259
260
260
+
/* Icon styles */
261
261
+
.nav-icon {
262
262
+
display: inline-flex;
263
263
+
align-items: center;
264
264
+
justify-content: center;
265
265
+
padding: 0.5rem;
266
266
+
color: var(--text-color);
267
267
+
transition: color 0.2s ease;
268
268
+
}
269
269
+
270
270
+
.nav-icon:hover {
271
271
+
color: var(--primary-color);
272
272
+
}
273
273
+
274
274
+
.icon {
275
275
+
width: 1.25rem;
276
276
+
height: 1.25rem;
277
277
+
}
278
278
+
279
279
+
/* Theme toggle button styles */
280
280
+
.theme-toggle-button {
281
281
+
display: inline-flex;
282
282
+
align-items: center;
283
283
+
justify-content: center;
284
284
+
padding: 0.5rem;
285
285
+
background: none;
286
286
+
border: none;
287
287
+
cursor: pointer;
288
288
+
color: var(--text-color);
289
289
+
transition: color 0.2s ease;
290
290
+
}
291
291
+
292
292
+
.theme-toggle-button:hover {
293
293
+
color: var(--primary-color);
294
294
+
}
295
295
+
296
296
+
/* Navbar actions container */
297
297
+
.navbar-actions {
298
298
+
display: flex;
299
299
+
align-items: center;
300
300
+
gap: 0.5rem;
301
301
+
}
+41
-19
src/components/Navbar/Navbar.js
Reviewed
···
1
1
import React, { useContext } from 'react';
2
2
-
import './Navbar.css';
3
2
import { Link, useNavigate } from 'react-router-dom';
4
3
import { AuthContext } from '../../AuthContext';
5
4
import { ThemeContext } from '../../contexts/ThemeContext';
6
6
-
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
7
7
-
import { faSun, faMoon } from '@fortawesome/free-solid-svg-icons';
5
5
+
import './Navbar.css';
8
6
9
7
const Navbar = () => {
10
8
const { isAuthenticated, handleLogout, loading } = useContext(AuthContext);
···
51
49
</div>
52
50
<nav className="navbar-links">
53
51
<ul>
54
54
-
<li>
55
55
-
<Link to="/">score</Link>
56
56
-
</li>
57
57
-
<li>
58
58
-
<Link to="/compare">compare</Link>
59
59
-
</li>
60
60
-
<li>
61
61
-
<Link to="/alt-text">alt text</Link>
62
62
-
</li>
63
63
-
<li>
64
64
-
<Link to="/about">about</Link>
65
65
-
</li>
66
66
-
{/* Add more links as needed */}
52
52
+
<li><Link to="/">score</Link></li>
53
53
+
<li><Link to="/compare">compare</Link></li>
54
54
+
<li><Link to="/alt-text">alt text</Link></li>
55
55
+
<li><Link to="/about">about</Link></li>
67
56
</ul>
68
57
</nav>
69
58
</div>
70
59
<div className="navbar-actions">
71
71
-
<button className="theme-toggle-button" onClick={toggleDarkMode} aria-label="Toggle dark mode">
72
72
-
<FontAwesomeIcon icon={isDarkMode ? faSun : faMoon} />
60
60
+
{/* Social Links */}
61
61
+
<a
62
62
+
href="https://bsky.app/profile/cred.blue"
63
63
+
target="_blank"
64
64
+
rel="noopener noreferrer"
65
65
+
className="nav-icon"
66
66
+
aria-label="Bluesky Profile"
67
67
+
>
68
68
+
<svg className="icon" fill="currentColor">
69
69
+
<use href="/icons/icons-sprite.svg#icon-bluesky" />
70
70
+
</svg>
71
71
+
</a>
72
72
+
<a
73
73
+
href="https://github.com/damedotblog"
74
74
+
target="_blank"
75
75
+
rel="noopener noreferrer"
76
76
+
className="nav-icon"
77
77
+
aria-label="GitHub Profile"
78
78
+
>
79
79
+
<svg className="icon" fill="currentColor">
80
80
+
<use href="/icons/icons-sprite.svg#icon-github" />
81
81
+
</svg>
82
82
+
</a>
83
83
+
84
84
+
{/* Theme Toggle */}
85
85
+
<button
86
86
+
className="theme-toggle-button"
87
87
+
onClick={toggleDarkMode}
88
88
+
aria-label="Toggle dark mode"
89
89
+
>
90
90
+
<svg className="icon" fill="currentColor">
91
91
+
<use href={`/icons/icons-sprite.svg#icon-${isDarkMode ? 'sun' : 'moon'}`} />
92
92
+
</svg>
73
93
</button>
94
94
+
95
95
+
{/* Auth Button */}
74
96
<div className="navbar-auth-button">
75
97
<button
76
98
className={`auth-button ${isAuthenticated ? 'logout-button' : 'login-button'}`}
···
86
108
);
87
109
};
88
110
89
89
-
export default Navbar;
111
111
+
export default Navbar;
-8
src/components/ScoreResult.css
Reviewed
···
3
3
width: 70%;
4
4
max-width: 800px; /* Optional: cap the width for larger screens */
5
5
margin: 20px auto; /* Center horizontally and add vertical spacing */
6
6
-
display: flex;
7
7
-
flex-direction: column;
8
8
-
align-items: center;
9
6
width: 100%;
10
7
}
11
8
···
383
380
384
381
.bar-label {
385
382
width: 100px;
386
386
-
}
387
387
-
388
388
-
.score-toggle-controls {
389
389
-
flex-direction: column;
390
390
-
align-items: flex-start;
391
383
}
392
384
}
393
385
+1
-1
src/components/SearchBar/SearchBar.js
Reviewed
···
169
169
</div>
170
170
)}
171
171
</div>
172
172
-
<button type="submit" className={isDarkMode ? 'dark-mode' : ''}>Search</button>
172
172
+
<button type="submit" className={isDarkMode ? 'dark-mode' : ''}>Get Score</button>
173
173
</form>
174
174
<div
175
175
role="status"