From 98d4956a192fa67e5a7ebd6e757953589cb5e2a3 Mon Sep 17 00:00:00 2001 From: Luiz Chaves Date: Tue, 22 Oct 2024 22:29:08 -0300 Subject: [PATCH] content: update form --- public/codes/css/form/elements/checkbox.html | 2 - .../css/form/elements/checkboxGroup.html | 9 - public/codes/css/form/elements/label.html | 2 - .../codes/css/form/elements/radioButton.html | 2 - .../css/form/elements/radioButtonGroup.html | 5 - public/codes/css/form/elements/select.html | 6 - public/codes/css/form/hello-js/index.html | 15 -- public/codes/css/form/hello-js/js/index.js | 5 - .../codes/css/form/tailwind-form/index.html | 112 +++++++++++++ src/components/HtmlPreview.astro | 2 +- src/content/classnotes/css/form/index.mdx | 155 +++++++++++++++--- 11 files changed, 245 insertions(+), 70 deletions(-) delete mode 100644 public/codes/css/form/elements/checkbox.html delete mode 100644 public/codes/css/form/elements/checkboxGroup.html delete mode 100644 public/codes/css/form/elements/label.html delete mode 100644 public/codes/css/form/elements/radioButton.html delete mode 100644 public/codes/css/form/elements/radioButtonGroup.html delete mode 100644 public/codes/css/form/elements/select.html delete mode 100644 public/codes/css/form/hello-js/index.html delete mode 100644 public/codes/css/form/hello-js/js/index.js create mode 100644 public/codes/css/form/tailwind-form/index.html diff --git a/public/codes/css/form/elements/checkbox.html b/public/codes/css/form/elements/checkbox.html deleted file mode 100644 index 39e4cfa..0000000 --- a/public/codes/css/form/elements/checkbox.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/public/codes/css/form/elements/checkboxGroup.html b/public/codes/css/form/elements/checkboxGroup.html deleted file mode 100644 index cccbfb3..0000000 --- a/public/codes/css/form/elements/checkboxGroup.html +++ /dev/null @@ -1,9 +0,0 @@ -Linguagens: - - - - - - - - diff --git a/public/codes/css/form/elements/label.html b/public/codes/css/form/elements/label.html deleted file mode 100644 index c4d7aa5..0000000 --- a/public/codes/css/form/elements/label.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/public/codes/css/form/elements/radioButton.html b/public/codes/css/form/elements/radioButton.html deleted file mode 100644 index 63791dc..0000000 --- a/public/codes/css/form/elements/radioButton.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/public/codes/css/form/elements/radioButtonGroup.html b/public/codes/css/form/elements/radioButtonGroup.html deleted file mode 100644 index 732e116..0000000 --- a/public/codes/css/form/elements/radioButtonGroup.html +++ /dev/null @@ -1,5 +0,0 @@ -Sexo: - - - - diff --git a/public/codes/css/form/elements/select.html b/public/codes/css/form/elements/select.html deleted file mode 100644 index 4a01d4c..0000000 --- a/public/codes/css/form/elements/select.html +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/public/codes/css/form/hello-js/index.html b/public/codes/css/form/hello-js/index.html deleted file mode 100644 index 24d3863..0000000 --- a/public/codes/css/form/hello-js/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Document - - - -

Running Javascript

- - - diff --git a/public/codes/css/form/hello-js/js/index.js b/public/codes/css/form/hello-js/js/index.js deleted file mode 100644 index d7d113b..0000000 --- a/public/codes/css/form/hello-js/js/index.js +++ /dev/null @@ -1,5 +0,0 @@ -function hello(origin) { - console.log(`Hello ${origin}!`); -} - -hello('Head Script'); diff --git a/public/codes/css/form/tailwind-form/index.html b/public/codes/css/form/tailwind-form/index.html new file mode 100644 index 0000000..6d250e7 --- /dev/null +++ b/public/codes/css/form/tailwind-form/index.html @@ -0,0 +1,112 @@ + + + + + + + + +
+
+ Your Company +

+ Sign in to your account +

+
+ +
+
+
+ +
+ +
+
+ +
+
+ + +
+
+ +
+
+ +
+ +
+
+ +

+ Not a member? + Start a 14 day free trial +

+
+
+ + + + diff --git a/src/components/HtmlPreview.astro b/src/components/HtmlPreview.astro index c5b2eb3..347f1d1 100644 --- a/src/components/HtmlPreview.astro +++ b/src/components/HtmlPreview.astro @@ -39,7 +39,7 @@ const codeName = src?.split('/')?.at(-2); } -
+
{ src && isShowIframe ? (