Skip to content

Commit 6f631ae

Browse files
committed
format + add artifact
1 parent 4445ca5 commit 6f631ae

43 files changed

Lines changed: 2896 additions & 3430 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Check types
1515
run: |
1616
bun install
17-
bun run compile
17+
bun run eslint
1818
lint:
1919
runs-on: ubuntu-latest
2020
steps:
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
bun install
2828
bun format
29-
29+
3030
format:
3131
runs-on: ubuntu-latest
3232
steps:
@@ -37,8 +37,8 @@ jobs:
3737
- name: Format
3838
run: |
3939
bun install
40-
bun format
41-
40+
bun prettier . --check
41+
4242
create-artifact:
4343
runs-on: ubuntu-latest
4444
steps:
@@ -47,4 +47,13 @@ jobs:
4747
- name: Install bun
4848
uses: oven-sh/setup-bun@v1
4949
- name: Build extension
50-
run: bun install
50+
run: |
51+
bun install
52+
bun run build
53+
cd .output/chrome-mv3
54+
zip -r ../extension.zip .
55+
- name: Upload artifact
56+
uses: actions/upload-artifact@v4
57+
with:
58+
name: extension
59+
path: .output/extension.zip

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

assets/svgs/arrow-top-right.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
const ArrowTopRightIcon = ({ className }: { className?: string }) => {
2-
return (
3-
<svg
4-
width="35"
5-
height="35"
6-
viewBox="0 0 35 35"
7-
fill="none"
8-
xmlns="http://www.w3.org/2000/svg"
9-
className={className}
10-
>
11-
<path
12-
d="M26.8308 8.58587V22.538C26.8308 22.8226 26.7178 23.0956 26.5165 23.2969C26.3152 23.4981 26.0422 23.6112 25.7576 23.6112C25.473 23.6112 25.2 23.4981 24.9987 23.2969C24.7974 23.0956 24.6844 22.8226 24.6844 22.538V11.1764L9.34511 26.517C9.14373 26.7184 8.8706 26.8315 8.5858 26.8315C8.301 26.8315 8.02786 26.7184 7.82648 26.517C7.6251 26.3156 7.51196 26.0425 7.51196 25.7577C7.51196 25.4729 7.6251 25.1997 7.82648 24.9984L23.1671 9.65911H11.8055C11.5209 9.65911 11.2479 9.54604 11.0466 9.34476C10.8453 9.14349 10.7323 8.87051 10.7323 8.58587C10.7323 8.30123 10.8453 8.02825 11.0466 7.82698C11.2479 7.62571 11.5209 7.51263 11.8055 7.51263H25.7576C26.0422 7.51263 26.3152 7.62571 26.5165 7.82698C26.7178 8.02825 26.8308 8.30123 26.8308 8.58587Z"
13-
fill="#1A2024"
14-
/>
15-
</svg>
16-
);
2+
return (
3+
<svg
4+
width="35"
5+
height="35"
6+
viewBox="0 0 35 35"
7+
fill="none"
8+
xmlns="http://www.w3.org/2000/svg"
9+
className={className}
10+
>
11+
<path
12+
d="M26.8308 8.58587V22.538C26.8308 22.8226 26.7178 23.0956 26.5165 23.2969C26.3152 23.4981 26.0422 23.6112 25.7576 23.6112C25.473 23.6112 25.2 23.4981 24.9987 23.2969C24.7974 23.0956 24.6844 22.8226 24.6844 22.538V11.1764L9.34511 26.517C9.14373 26.7184 8.8706 26.8315 8.5858 26.8315C8.301 26.8315 8.02786 26.7184 7.82648 26.517C7.6251 26.3156 7.51196 26.0425 7.51196 25.7577C7.51196 25.4729 7.6251 25.1997 7.82648 24.9984L23.1671 9.65911H11.8055C11.5209 9.65911 11.2479 9.54604 11.0466 9.34476C10.8453 9.14349 10.7323 8.87051 10.7323 8.58587C10.7323 8.30123 10.8453 8.02825 11.0466 7.82698C11.2479 7.62571 11.5209 7.51263 11.8055 7.51263H25.7576C26.0422 7.51263 26.3152 7.62571 26.5165 7.82698C26.7178 8.02825 26.8308 8.30123 26.8308 8.58587Z"
13+
fill="#1A2024"
14+
/>
15+
</svg>
16+
);
1717
};
1818

1919
export default ArrowTopRightIcon;

assets/svgs/dap-circle-logo.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,26 @@ const DAPLogo = () => {
1212
d="M7 14.745L19.4882 11L32 14.7423L19.5188 18.4831L7 14.745Z"
1313
fill="white"
1414
stroke="white"
15-
stroke-linejoin="round"
15+
strokeLinejoin="round"
1616
/>
1717
<path
1818
d="M13.0141 18.6267C13.0141 18.6267 12.3297 19.4588 12.1067 20.6616C11.8837 21.8644 11.9213 22.9432 11.9213 22.9432C11.9213 22.9432 15.9535 25.0547 19.516 25.0547C23.0784 25.0547 27.0855 22.9432 27.0855 22.9432C27.0855 22.9432 27.0214 21.923 26.7747 20.8288C26.528 19.7347 25.9106 18.7034 25.9106 18.7034L19.4881 20.7062L13.0154 18.6281L13.0141 18.6267Z"
1919
fill="white"
2020
stroke="white"
21-
stroke-linejoin="round"
22-
/>
23-
<path
24-
d="M29.6348 15.421V22.7411"
25-
stroke="white"
26-
stroke-linejoin="round"
21+
strokeLinejoin="round"
2722
/>
23+
<path d="M29.6348 15.421V22.7411" stroke="white" strokeLinejoin="round" />
2824
<path
2925
d="M29.6222 23.1857L27.9915 30.266H31.2431L29.6222 23.1857Z"
3026
fill="white"
3127
stroke="white"
32-
stroke-linejoin="round"
28+
strokeLinejoin="round"
3329
/>
3430
<path
3531
d="M29.6376 24.8429C30.218 24.8429 30.6885 24.3724 30.6885 23.792C30.6885 23.2116 30.218 22.7411 29.6376 22.7411C29.0572 22.7411 28.5867 23.2116 28.5867 23.792C28.5867 24.3724 29.0572 24.8429 29.6376 24.8429Z"
3632
fill="white"
3733
stroke="white"
38-
stroke-linejoin="round"
34+
strokeLinejoin="round"
3935
/>
4036
</svg>
4137
);

assets/svgs/dap-logo.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,35 +11,35 @@ const DAPLogo = () => {
1111
d="M1.30859 15.6884L49.2578 1.30896L97.298 15.6777L49.3755 30.041L1.30859 15.6884Z"
1212
fill="white"
1313
stroke="white"
14-
stroke-width="2.61789"
15-
stroke-linejoin="round"
14+
strokeWidth="2.61789"
15+
strokeLinejoin="round"
1616
/>
1717
<path
1818
d="M24.4001 30.5923C24.4001 30.5923 21.7725 33.7871 20.9163 38.4054C20.06 43.0237 20.2045 47.1658 20.2045 47.1658C20.2045 47.1658 35.6863 55.2733 49.3647 55.2733C63.0431 55.2733 78.4285 47.1658 78.4285 47.1658C78.4285 47.1658 78.1824 43.2485 77.2352 39.0476C76.288 34.8467 73.9173 30.8866 73.9173 30.8866L49.2577 38.5767L24.4054 30.5976L24.4001 30.5923Z"
1919
fill="white"
2020
stroke="white"
21-
stroke-width="2.61789"
22-
stroke-linejoin="round"
21+
strokeWidth="2.61789"
22+
strokeLinejoin="round"
2323
/>
2424
<path
2525
d="M88.2158 18.284V46.39"
2626
stroke="white"
27-
stroke-width="2.61789"
28-
stroke-linejoin="round"
27+
strokeWidth="2.61789"
28+
strokeLinejoin="round"
2929
/>
3030
<path
3131
d="M88.1684 48.0971L81.9072 75.2826H94.3922L88.1684 48.0971Z"
3232
fill="white"
3333
stroke="white"
34-
stroke-width="2.61789"
35-
stroke-linejoin="round"
34+
strokeWidth="2.61789"
35+
strokeLinejoin="round"
3636
/>
3737
<path
3838
d="M88.2274 54.46C90.4559 54.46 92.2624 52.6534 92.2624 50.425C92.2624 48.1965 90.4559 46.39 88.2274 46.39C85.9989 46.39 84.1924 48.1965 84.1924 50.425C84.1924 52.6534 85.9989 54.46 88.2274 54.46Z"
3939
fill="white"
4040
stroke="white"
41-
stroke-width="2.61789"
42-
stroke-linejoin="round"
41+
strokeWidth="2.61789"
42+
strokeLinejoin="round"
4343
/>
4444
</svg>
4545
);

0 commit comments

Comments
 (0)