Skip to content

Commit

Permalink
복사 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
ddochea0314 committed Jul 3, 2023
1 parent 41e0bab commit b8095fe
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/routes/about/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<script lang="ts">
function copy(e) {
console.log(e);
const num = Math.random() * 100;
navigator.clipboard.writeText(num.toString());
alert("복사되었습니다.");
}
</script>

<div class="h-screen -mb-60">
sveltekit, tailwindcss, daisyui, vite 를 이용하여 만든 static site 입니다.
</div>

사이트 구현 참조
<a href="https://joshcollinsworth.com/blog/build-static-sveltekit-markdown-blog">https://joshcollinsworth.com/blog/build-static-sveltekit-markdown-blog</a>
<a href="https://joshcollinsworth.com/blog/build-static-sveltekit-markdown-blog">https://joshcollinsworth.com/blog/build-static-sveltekit-markdown-blog</a>
<a href="#" on:click={copy}>test</a>

0 comments on commit b8095fe

Please sign in to comment.