From 34db345b0f55d213e1de3c86aa610d89c0c80acd Mon Sep 17 00:00:00 2001 From: Justin Schroeder Date: Fri, 2 Feb 2024 15:15:10 -0500 Subject: [PATCH] feat: adds install docs --- docs/app.vue | 1 + docs/assets/bun.svg | 1 + docs/assets/css/main.css | 2 +- docs/assets/npm.svg | 8 +++++ docs/assets/pnpm.svg | 3 ++ docs/assets/yarn.svg | 7 ++++ docs/components/CopyCode.vue | 43 ++++++++++++++++++++++ docs/components/HeadingSection.vue | 1 - docs/components/content/Installation.vue | 46 ++++++++++++++++++++++++ 9 files changed, 110 insertions(+), 2 deletions(-) create mode 100644 docs/assets/bun.svg create mode 100644 docs/assets/npm.svg create mode 100644 docs/assets/pnpm.svg create mode 100644 docs/assets/yarn.svg create mode 100644 docs/components/CopyCode.vue create mode 100644 docs/components/content/Installation.vue diff --git a/docs/app.vue b/docs/app.vue index b4f1482..7f5ba01 100644 --- a/docs/app.vue +++ b/docs/app.vue @@ -6,6 +6,7 @@
+
diff --git a/docs/assets/bun.svg b/docs/assets/bun.svg new file mode 100644 index 0000000..7ef1500 --- /dev/null +++ b/docs/assets/bun.svg @@ -0,0 +1 @@ +Bun Logo \ No newline at end of file diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 92cf88b..f80d3eb 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -18,7 +18,7 @@ body { } .page-section p { - @apply text-lg mb-4 text-slate-800; + @apply text-lg mb-8 text-slate-800; } .page-section p code { diff --git a/docs/assets/npm.svg b/docs/assets/npm.svg new file mode 100644 index 0000000..13c7900 --- /dev/null +++ b/docs/assets/npm.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/docs/assets/pnpm.svg b/docs/assets/pnpm.svg new file mode 100644 index 0000000..c3d0de1 --- /dev/null +++ b/docs/assets/pnpm.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/docs/assets/yarn.svg b/docs/assets/yarn.svg new file mode 100644 index 0000000..9a742aa --- /dev/null +++ b/docs/assets/yarn.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/components/CopyCode.vue b/docs/components/CopyCode.vue new file mode 100644 index 0000000..df3a495 --- /dev/null +++ b/docs/components/CopyCode.vue @@ -0,0 +1,43 @@ + + + + + diff --git a/docs/components/HeadingSection.vue b/docs/components/HeadingSection.vue index 20b1561..d344e20 100644 --- a/docs/components/HeadingSection.vue +++ b/docs/components/HeadingSection.vue @@ -4,7 +4,6 @@ defineProps<{ }>() const heading = ref() const isInView = useElementVisibility(heading) -watchEffect(() => console.log(isInView.value))