Skip to content

Commit a559327

Browse files
fix: correct formatting of RSS feed links in header and footer
1 parent 4092041 commit a559327

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

src/components/Footer.astro

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,10 @@ const today = new Date();
2424
<path fill="currentColor" d="M32 6C17.641 6 6 17.641 6 32c0 12.277 8.512 22.56 19.955 25.286-.592-.141-1.179-.299-1.755-.479V50.85c0 0-.975.325-2.275.325-3.637 0-5.148-3.245-5.525-4.875-.229-.993-.827-1.934-1.469-2.509-.767-.684-1.126-.686-1.131-.92-.01-.491.658-.471.975-.471 1.625 0 2.857 1.729 3.429 2.623 1.417 2.207 2.938 2.577 3.721 2.577.975 0 1.817-.146 2.397-.426.268-1.888 1.108-3.57 2.478-4.774-6.097-1.219-10.4-4.716-10.4-10.4 0-2.928 1.175-5.619 3.133-7.792C19.333 23.641 19 22.494 19 20.625c0-1.235.086-2.751.65-4.225 0 0 3.708.026 7.205 3.338C28.469 19.268 30.196 19 32 19s3.531.268 5.145.738c3.497-3.312 7.205-3.338 7.205-3.338.567 1.474.65 2.99.65 4.225 0 2.015-.268 3.19-.432 3.697C46.466 26.475 47.6 29.124 47.6 32c0 5.684-4.303 9.181-10.4 10.4 1.628 1.43 2.6 3.513 2.6 5.85v8.557c-.576.181-1.162.338-1.755.479C49.488 54.56 58 44.277 58 32 58 17.641 46.359 6 32 6zM33.813 57.93C33.214 57.972 32.61 58 32 58 32.61 58 33.213 57.971 33.813 57.93zM37.786 57.346c-1.164.265-2.357.451-3.575.554C35.429 57.797 36.622 57.61 37.786 57.346zM32 58c-.61 0-1.214-.028-1.813-.07C30.787 57.971 31.39 58 32 58zM29.788 57.9c-1.217-.103-2.411-.289-3.574-.554C27.378 57.61 28.571 57.797 29.788 57.9z"></path>
2525
</svg>
2626
</a>
27-
<a href="https://nicholasdbrady.github.io/cookbook/rss.xml"target="_blank" rel="noopener noreferrer" aria-label="RSS Feed" >
27+
<a href="https://nicholasdbrady.github.io/cookbook/rss.xml" target="_blank" rel="noopener noreferrer" aria-label="RSS Feed" >
2828
<span class="sr-only">RSS Feed</span>
29-
<svg fill="currentColor" width="32" height="32" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
30-
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
31-
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
32-
<g id="SVGRepo_iconCarrier">
33-
<path d="M53.333 628.96c682.454 0 1237.76 555.2 1237.76 1237.76v53.333H882.24v-53.333c0-457.067-371.84-828.907-828.907-828.907H0V628.96Zm0-628.96C1082.56 0 1920 837.44 1920 1866.667V1920h-408.853v-53.333c0-803.84-653.974-1457.814-1457.814-1457.814H0V0ZM267.19 1386.667c146.774 0 266.134 119.36 266.134 266.133 0 146.773-119.36 266.24-266.134 266.24S.95 1799.573.95 1652.8c0-146.773 119.467-266.133 266.24-266.133Z" fill-rule="evenodd"></path>
34-
</g>
29+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 64 64" fill="currentColor" aria-hidden="true" >
30+
<path d="M12 48a4 4 0 1 1 0 8 4 4 0 0 1 0-8zM4 32v8c12.15 0 22 9.85 22 22h8c0-16.57-13.43-30-30-30zM4 16v8c18.2 0 34 9.8 43.6 25.6l6.4-3.8C45.1 30.2 27.75 16 4 16z"/>
3531
</svg>
3632
</a>
3733
</div>

src/components/Header.astro

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,10 @@ import { SITE_TITLE } from '../consts';
3131
<path fill="currentColor" d="M32 6C17.641 6 6 17.641 6 32c0 12.277 8.512 22.56 19.955 25.286-.592-.141-1.179-.299-1.755-.479V50.85c0 0-.975.325-2.275.325-3.637 0-5.148-3.245-5.525-4.875-.229-.993-.827-1.934-1.469-2.509-.767-.684-1.126-.686-1.131-.92-.01-.491.658-.471.975-.471 1.625 0 2.857 1.729 3.429 2.623 1.417 2.207 2.938 2.577 3.721 2.577.975 0 1.817-.146 2.397-.426.268-1.888 1.108-3.57 2.478-4.774-6.097-1.219-10.4-4.716-10.4-10.4 0-2.928 1.175-5.619 3.133-7.792C19.333 23.641 19 22.494 19 20.625c0-1.235.086-2.751.65-4.225 0 0 3.708.026 7.205 3.338C28.469 19.268 30.196 19 32 19s3.531.268 5.145.738c3.497-3.312 7.205-3.338 7.205-3.338.567 1.474.65 2.99.65 4.225 0 2.015-.268 3.19-.432 3.697C46.466 26.475 47.6 29.124 47.6 32c0 5.684-4.303 9.181-10.4 10.4 1.628 1.43 2.6 3.513 2.6 5.85v8.557c-.576.181-1.162.338-1.755.479C49.488 54.56 58 44.277 58 32 58 17.641 46.359 6 32 6zM33.813 57.93C33.214 57.972 32.61 58 32 58 32.61 58 33.213 57.971 33.813 57.93zM37.786 57.346c-1.164.265-2.357.451-3.575.554C35.429 57.797 36.622 57.61 37.786 57.346zM32 58c-.61 0-1.214-.028-1.813-.07C30.787 57.971 31.39 58 32 58zM29.788 57.9c-1.217-.103-2.411-.289-3.574-.554C27.378 57.61 28.571 57.797 29.788 57.9z"></path>
3232
</svg>
3333
</a>
34-
<a href="https://nicholasdbrady.github.io/cookbook/rss.xml"target="_blank" rel="noopener noreferrer" aria-label="RSS Feed" >
34+
<a href="https://nicholasdbrady.github.io/cookbook/rss.xml" target="_blank" rel="noopener noreferrer" aria-label="RSS Feed" >
3535
<span class="sr-only">RSS Feed</span>
36-
<svg fill="currentColor" width="32" height="32" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
37-
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
38-
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
39-
<g id="SVGRepo_iconCarrier">
40-
<path d="M53.333 628.96c682.454 0 1237.76 555.2 1237.76 1237.76v53.333H882.24v-53.333c0-457.067-371.84-828.907-828.907-828.907H0V628.96Zm0-628.96C1082.56 0 1920 837.44 1920 1866.667V1920h-408.853v-53.333c0-803.84-653.974-1457.814-1457.814-1457.814H0V0ZM267.19 1386.667c146.774 0 266.134 119.36 266.134 266.133 0 146.773-119.36 266.24-266.134 266.24S.95 1799.573.95 1652.8c0-146.773 119.467-266.133 266.24-266.133Z" fill-rule="evenodd"></path>
41-
</g>
36+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 64 64" fill="currentColor" aria-hidden="true" >
37+
<path d="M12 48a4 4 0 1 1 0 8 4 4 0 0 1 0-8zM4 32v8c12.15 0 22 9.85 22 22h8c0-16.57-13.43-30-30-30zM4 16v8c18.2 0 34 9.8 43.6 25.6l6.4-3.8C45.1 30.2 27.75 16 4 16z"/>
4238
</svg>
4339
</a>
4440
</div>

0 commit comments

Comments
 (0)