Skip to content

Commit 4c666bc

Browse files
abyssabyss
authored andcommitted
chore: linting
1 parent 94b3393 commit 4c666bc

4 files changed

Lines changed: 67 additions & 66 deletions

File tree

frontend/.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ bun.lockb
77

88
# Miscellaneous
99
/static/
10+
.pnpm-store/
11+
node_modules/

frontend/src/lib/Login.svelte

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -207,46 +207,46 @@
207207

208208
<p class="p line">Or Continue Using</p>
209209

210-
<a class="btn google flex gap-2" aria-label="GoogleAuth" href="/api/auth/google/login">
211-
<svg
212-
version="1.1"
213-
width="20"
214-
id="Layer_1"
215-
xmlns="http://www.w3.org/2000/svg"
216-
xmlns:xlink="http://www.w3.org/1999/xlink"
217-
x="0px"
218-
y="0px"
219-
viewBox="0 0 512 512"
220-
style="enable-background:new 0 0 512 512;"
221-
xml:space="preserve"
222-
>
223-
<path
224-
style="fill:#FBBB00;"
225-
d="M113.47,309.408L95.648,375.94l-65.139,1.378C11.042,341.211,0,299.9,0,256
210+
<a class="btn google flex gap-2" aria-label="GoogleAuth" href="/api/auth/google/login">
211+
<svg
212+
version="1.1"
213+
width="20"
214+
id="Layer_1"
215+
xmlns="http://www.w3.org/2000/svg"
216+
xmlns:xlink="http://www.w3.org/1999/xlink"
217+
x="0px"
218+
y="0px"
219+
viewBox="0 0 512 512"
220+
style="enable-background:new 0 0 512 512;"
221+
xml:space="preserve"
222+
>
223+
<path
224+
style="fill:#FBBB00;"
225+
d="M113.47,309.408L95.648,375.94l-65.139,1.378C11.042,341.211,0,299.9,0,256
226226
c0-42.451,10.324-82.483,28.624-117.732h0.014l57.992,10.632l25.404,57.644c-5.317,15.501-8.215,32.141-8.215,49.456
227227
C103.821,274.792,107.225,292.797,113.47,309.408z"
228-
></path>
229-
<path
230-
style="fill:#518EF8;"
231-
d="M507.527,208.176C510.467,223.662,512,239.655,512,256c0,18.328-1.927,36.206-5.598,53.451
228+
></path>
229+
<path
230+
style="fill:#518EF8;"
231+
d="M507.527,208.176C510.467,223.662,512,239.655,512,256c0,18.328-1.927,36.206-5.598,53.451
232232
c-12.462,58.683-45.025,109.925-90.134,146.187l-0.014-0.014l-73.044-3.727l-10.338-64.535
233233
c29.932-17.554,53.324-45.025,65.646-77.911h-136.89V208.176h138.887L507.527,208.176L507.527,208.176z"
234-
></path>
235-
<path
236-
style="fill:#28B446;"
237-
d="M416.253,455.624l0.014,0.014C372.396,490.901,316.666,512,256,512
234+
></path>
235+
<path
236+
style="fill:#28B446;"
237+
d="M416.253,455.624l0.014,0.014C372.396,490.901,316.666,512,256,512
238238
c-97.491,0-182.252-54.491-225.491-134.681l82.961-67.91c21.619,57.698,77.278,98.771,142.53,98.771
239239
c28.047,0,54.323-7.582,76.87-20.818L416.253,455.624z"
240-
></path>
241-
<path
242-
style="fill:#F14336;"
243-
d="M419.404,58.936l-82.933,67.896c-23.335-14.586-50.919-23.012-80.471-23.012
240+
></path>
241+
<path
242+
style="fill:#F14336;"
243+
d="M419.404,58.936l-82.933,67.896c-23.335-14.586-50.919-23.012-80.471-23.012
244244
c-66.729,0-123.429,42.957-143.965,102.724l-83.397-68.276h-0.014C71.23,56.123,157.06,0,256,0
245245
C318.115,0,375.068,22.126,419.404,58.936z"
246-
></path>
247-
</svg>
248-
<p>Google</p>
249-
</a>
246+
></path>
247+
</svg>
248+
<p>Google</p>
249+
</a>
250250
</div>
251251
</form>
252252

frontend/src/lib/Signup.svelte

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -170,46 +170,46 @@
170170
<p class="bottomrow flex items-center justify-center gap-1">
171171
Already have an account? <a href="/login">Sign in</a> or
172172
</p>
173-
<a class="btn google flex gap-2" aria-label="GoogleAuth" href="/api/auth/google/login">
174-
<svg
175-
version="1.1"
176-
width="20"
177-
id="Layer_1"
178-
xmlns="http://www.w3.org/2000/svg"
179-
xmlns:xlink="http://www.w3.org/1999/xlink"
180-
x="0px"
181-
y="0px"
182-
viewBox="0 0 512 512"
183-
style="enable-background:new 0 0 512 512;"
184-
xml:space="preserve"
185-
>
186-
<path
187-
style="fill:#FBBB00;"
188-
d="M113.47,309.408L95.648,375.94l-65.139,1.378C11.042,341.211,0,299.9,0,256
173+
<a class="btn google flex gap-2" aria-label="GoogleAuth" href="/api/auth/google/login">
174+
<svg
175+
version="1.1"
176+
width="20"
177+
id="Layer_1"
178+
xmlns="http://www.w3.org/2000/svg"
179+
xmlns:xlink="http://www.w3.org/1999/xlink"
180+
x="0px"
181+
y="0px"
182+
viewBox="0 0 512 512"
183+
style="enable-background:new 0 0 512 512;"
184+
xml:space="preserve"
185+
>
186+
<path
187+
style="fill:#FBBB00;"
188+
d="M113.47,309.408L95.648,375.94l-65.139,1.378C11.042,341.211,0,299.9,0,256
189189
c0-42.451,10.324-82.483,28.624-117.732h0.014l57.992,10.632l25.404,57.644c-5.317,15.501-8.215,32.141-8.215,49.456
190190
C103.821,274.792,107.225,292.797,113.47,309.408z"
191-
></path>
192-
<path
193-
style="fill:#518EF8;"
194-
d="M507.527,208.176C510.467,223.662,512,239.655,512,256c0,18.328-1.927,36.206-5.598,53.451
191+
></path>
192+
<path
193+
style="fill:#518EF8;"
194+
d="M507.527,208.176C510.467,223.662,512,239.655,512,256c0,18.328-1.927,36.206-5.598,53.451
195195
c-12.462,58.683-45.025,109.925-90.134,146.187l-0.014-0.014l-73.044-3.727l-10.338-64.535
196196
c29.932-17.554,53.324-45.025,65.646-77.911h-136.89V208.176h138.887L507.527,208.176L507.527,208.176z"
197-
></path>
198-
<path
199-
style="fill:#28B446;"
200-
d="M416.253,455.624l0.014,0.014C372.396,490.901,316.666,512,256,512
197+
></path>
198+
<path
199+
style="fill:#28B446;"
200+
d="M416.253,455.624l0.014,0.014C372.396,490.901,316.666,512,256,512
201201
c-97.491,0-182.252-54.491-225.491-134.681l82.961-67.91c21.619,57.698,77.278,98.771,142.53,98.771
202202
c28.047,0,54.323-7.582,76.87-20.818L416.253,455.624z"
203-
></path>
204-
<path
205-
style="fill:#F14336;"
206-
d="M419.404,58.936l-82.933,67.896c-23.335-14.586-50.919-23.012-80.471-23.012
203+
></path>
204+
<path
205+
style="fill:#F14336;"
206+
d="M419.404,58.936l-82.933,67.896c-23.335-14.586-50.919-23.012-80.471-23.012
207207
c-66.729,0-123.429,42.957-143.965,102.724l-83.397-68.276h-0.014C71.23,56.123,157.06,0,256,0
208208
C318.115,0,375.068,22.126,419.404,58.936z"
209-
></path>
210-
</svg>
211-
<p>Google</p>
212-
</a>
209+
></path>
210+
</svg>
211+
<p>Google</p>
212+
</a>
213213
</div>
214214
</div>
215215
</div>

frontend/vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { defineConfig } from 'vite';
44
import { enhancedImages } from '@sveltejs/enhanced-img';
55

66
export default defineConfig({
7-
server: {
8-
},
7+
server: {},
98
plugins: [tailwindcss(), enhancedImages(), sveltekit()]
109
});

0 commit comments

Comments
 (0)