Skip to content

Commit 56b4e11

Browse files
committed
feat: format astro files
1 parent 91fdde3 commit 56b4e11

File tree

6 files changed

+38
-5
lines changed

6 files changed

+38
-5
lines changed

apps/web/src/components/ScrollToTop.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
2+
const { class: classNames } = Astro.props;
33
---
44

55
<button

apps/web/src/components/icons/Discord.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1+
---
2+
import type { HTMLAttributes } from "astro/types";
3+
4+
interface Props extends HTMLAttributes<"svg"> {}
5+
const { class: classNames, ...attrs } = Astro.props;
6+
---
17
<svg
28
role='img'
39
width='20'
410
height='20'
511
fill='currentColor'
612
viewBox='0 0 24 24'
713
xmlns='http://www.w3.org/2000/svg'
14+
class={classNames}
15+
{...attrs}
816
><title>Discord</title><path
917
d='M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z'
1018
></path></svg
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
<svg role="img" viewBox="0 0 24 24" width="18" height="18" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
1+
---
2+
import type { HTMLAttributes } from "astro/types";
3+
4+
interface Props extends HTMLAttributes<"svg"> {}
5+
const { class: classNames, ...attrs } = Astro.props;
6+
---
7+
8+
<svg role="img" viewBox="0 0 24 24" width="18" height="18" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class={classNames} {...attrs}></svg>
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
1+
---
2+
import type { HTMLAttributes } from "astro/types";
3+
4+
interface Props extends HTMLAttributes<"svg"> {}
5+
const { class: classNames, ...attrs } = Astro.props;
6+
---
7+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" class={classNames} {...attrs}>
28
<rect width="32" height="32" fill="#1E1E1E"/>
39
<path d="M14.116 11.5C14.2333 11.5213 14.4947 11.932 14.9 12.732C15.3053 13.5213 15.8013 14.5453 16.388 15.804L16.9 16.876C17.124 16.6307 17.332 16.348 17.524 16.028C17.716 15.6973 17.956 15.2547 18.244 14.7C18.5747 14.0707 18.804 13.6653 18.932 13.484C19.444 12.7053 19.9987 11.8787 20.596 11.004C20.6707 10.8867 20.804 10.8067 20.996 10.764C21.028 10.7533 21.0813 10.748 21.156 10.748C21.412 10.748 21.6947 10.8547 22.004 11.068C22.324 11.2813 22.532 11.5 22.628 11.724C22.6493 11.7667 22.66 11.8467 22.66 11.964C22.66 12.0707 22.6547 12.1507 22.644 12.204C22.6227 12.3 22.596 12.4227 22.564 12.572C22.5427 12.7107 22.5213 12.876 22.5 13.068C22.1587 15.6707 21.9133 17.6227 21.764 18.924C21.7213 19.2227 21.7 19.5587 21.7 19.932L21.668 20.444C21.6573 20.5507 21.652 20.6733 21.652 20.812C21.652 20.9507 21.636 21.0467 21.604 21.1C21.572 21.1533 21.5133 21.18 21.428 21.18C21.364 21.18 21.268 21.164 21.14 21.132C20.7987 21.0573 20.5373 20.924 20.356 20.732C20.1747 20.5293 20.0733 20.252 20.052 19.9C20.0413 19.7187 20.036 19.436 20.036 19.052C20.036 18.6573 20.0467 18.0547 20.068 17.244L20.084 16.364L20.116 15.1C20.02 15.1853 19.7747 15.5213 19.38 16.108C18.996 16.684 18.6173 17.2867 18.244 17.916C17.8707 18.5453 17.6253 19.0307 17.508 19.372C17.4013 19.6387 17.2947 19.836 17.188 19.964C17.092 20.092 16.9747 20.156 16.836 20.156C16.708 20.156 16.5427 20.0973 16.34 19.98C15.764 19.628 15.412 19.1427 15.284 18.524C15.0813 17.5747 14.8307 16.588 14.532 15.564C14.4787 15.372 14.372 15.1107 14.212 14.78C14.0627 14.4493 13.9667 14.2413 13.924 14.156L13.716 13.74C12.1587 15.8093 11.1027 17.708 10.548 19.436C10.4413 19.7987 10.34 20.06 10.244 20.22C10.148 20.3693 10.036 20.444 9.908 20.444C9.70533 20.444 9.41733 20.2627 9.044 19.9C8.756 19.644 8.612 19.356 8.612 19.036C8.612 18.8653 8.644 18.6947 8.708 18.524C9.156 17.2013 9.82267 15.948 10.708 14.764L11.204 14.108C11.876 13.2227 12.3827 12.5293 12.724 12.028C12.98 11.6547 13.3213 11.468 13.748 11.468C13.8227 11.468 13.9453 11.4787 14.116 11.5Z" fill="white"/>
410
</svg>

apps/web/src/components/icons/WordMark.astro

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
<svg width="101" height="32" viewBox="0 0 101 32" fill="none" xmlns="http://www.w3.org/2000/svg">
1+
---
2+
import type { HTMLAttributes } from "astro/types";
3+
4+
interface Props extends HTMLAttributes<"svg"> {}
5+
const { class: classNames, ...attrs } = Astro.props;
6+
---
7+
<svg width="101" height="32" viewBox="0 0 101 32" fill="none" xmlns="http://www.w3.org/2000/svg" class={classNames} {...attrs}>
28
<rect width="32" height="32" fill="#1E1E1E"/>
39
<title>Marble WordMark Logo</title>
410
<path d="M14.116 11.5C14.2333 11.5213 14.4947 11.932 14.9 12.732C15.3053 13.5213 15.8013 14.5453 16.388 15.804L16.9 16.876C17.124 16.6307 17.332 16.348 17.524 16.028C17.716 15.6973 17.956 15.2547 18.244 14.7C18.5747 14.0707 18.804 13.6653 18.932 13.484C19.444 12.7053 19.9987 11.8787 20.596 11.004C20.6707 10.8867 20.804 10.8067 20.996 10.764C21.028 10.7533 21.0813 10.748 21.156 10.748C21.412 10.748 21.6947 10.8547 22.004 11.068C22.324 11.2813 22.532 11.5 22.628 11.724C22.6493 11.7667 22.66 11.8467 22.66 11.964C22.66 12.0707 22.6547 12.1507 22.644 12.204C22.6227 12.3 22.596 12.4227 22.564 12.572C22.5427 12.7107 22.5213 12.876 22.5 13.068C22.1587 15.6707 21.9133 17.6227 21.764 18.924C21.7213 19.2227 21.7 19.5587 21.7 19.932L21.668 20.444C21.6573 20.5507 21.652 20.6733 21.652 20.812C21.652 20.9507 21.636 21.0467 21.604 21.1C21.572 21.1533 21.5133 21.18 21.428 21.18C21.364 21.18 21.268 21.164 21.14 21.132C20.7987 21.0573 20.5373 20.924 20.356 20.732C20.1747 20.5293 20.0733 20.252 20.052 19.9C20.0413 19.7187 20.036 19.436 20.036 19.052C20.036 18.6573 20.0467 18.0547 20.068 17.244L20.084 16.364L20.116 15.1C20.02 15.1853 19.7747 15.5213 19.38 16.108C18.996 16.684 18.6173 17.2867 18.244 17.916C17.8707 18.5453 17.6253 19.0307 17.508 19.372C17.4013 19.6387 17.2947 19.836 17.188 19.964C17.092 20.092 16.9747 20.156 16.836 20.156C16.708 20.156 16.5427 20.0973 16.34 19.98C15.764 19.628 15.412 19.1427 15.284 18.524C15.0813 17.5747 14.8307 16.588 14.532 15.564C14.4787 15.372 14.372 15.1107 14.212 14.78C14.0627 14.4493 13.9667 14.2413 13.924 14.156L13.716 13.74C12.1587 15.8093 11.1027 17.708 10.548 19.436C10.4413 19.7987 10.34 20.06 10.244 20.22C10.148 20.3693 10.036 20.444 9.908 20.444C9.70533 20.444 9.41733 20.2627 9.044 19.9C8.756 19.644 8.612 19.356 8.612 19.036C8.612 18.8653 8.644 18.6947 8.708 18.524C9.156 17.2013 9.82267 15.948 10.708 14.764L11.204 14.108C11.876 13.2227 12.3827 12.5293 12.724 12.028C12.98 11.6547 13.3213 11.468 13.748 11.468C13.8227 11.468 13.9453 11.4787 14.116 11.5Z" fill="white"/>
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
<svg role="img" viewBox="0 0 24 24" width="18" height="18" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><title>X</title><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/></svg>
1+
---
2+
import type { HTMLAttributes } from "astro/types";
3+
4+
interface Props extends HTMLAttributes<"svg"> {}
5+
const { class: classNames, ...attrs } = Astro.props;
6+
---
7+
<svg role="img" viewBox="0 0 24 24" width="18" height="18" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class={classNames} {...attrs}><title>X</title><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/></svg>

0 commit comments

Comments
 (0)