Skip to content

Commit

Permalink
🎨 Code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
PresentKim committed Jan 20, 2023
1 parent 2a446c8 commit e5ba686
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
/build/
/.svelte-kit/

/src/lib/assets/boj/

.DS_Store
yarn-error.log
yarn.lock
6 changes: 3 additions & 3 deletions src/lib/assets/styles/tailwind-layers/base.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@layer base {
* {
font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR',
'Malgun Gothic', sans-serif !important;
font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic',
sans-serif !important;
}
body {
@apply m-0 p-0 w-full h-full text-neutral-900 dark:text-neutral-100 font-normal bg-white dark:bg-zinc-800;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/assets/styles/tailwind-layers/utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

.blog-container {
@apply mx-auto w-full md:w-[548px] xl:w-[768px]
@apply mx-auto w-full md:w-[548px] xl:w-[768px];
}

.bg-nestable-neutral {
Expand Down
4 changes: 3 additions & 1 deletion src/lib/components/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<footer class="text-neutral-550 dark:text-neutral-350 bg-neutral-200 dark:bg-neutral-900 mx-auto mt-3 py-3">
<footer
class="text-neutral-550 dark:text-neutral-350 bg-neutral-200 dark:bg-neutral-900 mx-auto mt-3 py-3"
>
<nav class="flex flex-row justify-center text-center gap-4 my-4">
<a
href="https://github.com/PresentKim"
Expand Down
1 change: 1 addition & 0 deletions src/routes/boj/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts">
import type { BojProblemMetadata } from '$lib/utils/boj';
export let data: { infos: BojProblemMetadata[] };
</script>

Expand Down
6 changes: 3 additions & 3 deletions src/routes/posts/[...permalink]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script lang="ts">
import type { PostData, PostMetadata, MdRenderResult } from '$lib/utils/blog';
import Giscus from '@giscus/svelte';
import { page } from '$app/stores';
import type { MdRenderResult, PostData, PostMetadata } from '$lib/utils/blog';
import { theme } from '$lib/utils/theme';
import { page } from '$app/stores';
import Giscus from '@giscus/svelte';
export let data: PostData;
Expand Down

0 comments on commit e5ba686

Please sign in to comment.