From 137ed0831ab8c0f1f68eb7da1397516b8a883961 Mon Sep 17 00:00:00 2001 From: Maitra Khatri Date: Tue, 1 Feb 2022 18:49:51 +0530 Subject: [PATCH] made a proper file structure --- {alert => CSS/Components/alert}/alert.css | 2 +- {alert => CSS/Components/alert}/alert.html | 0 {avatar => CSS/Components/avatar}/avatar.css | 2 +- CSS/Components/avatar/avatar.html | 24 +++++ {badge => CSS/Components/badge}/badge.css | 2 +- {badge => CSS/Components/badge}/badge.html | 16 +-- .../button}/arrow_upward_white_24dp.svg | 0 {button => CSS/Components/button}/button.css | 2 +- {button => CSS/Components/button}/button.html | 0 .../button}/download_white_24dp.svg | 0 {card => CSS/Components/card}/card.css | 2 +- {card => CSS/Components/card}/card.html | 2 +- .../Components/card}/close_black_24dp.svg | 0 {image => CSS/Components/image}/image.css | 2 +- {image => CSS/Components/image}/image.html | 0 {input => CSS/Components/input}/input.css | 2 +- {input => CSS/Components/input}/input.html | 0 reset.css => CSS/reset.css | 0 style.css => CSS/style.css | 10 +- utils.css => CSS/utils.css | 0 {avatar => assets}/avatar.svg | 0 {badge => assets}/chat_black_48dp.svg | 0 avatar/avatar.html | 24 ----- badge/avatar.svg | 102 ------------------ docs/components.html | 0 docs/designSystem.html | 0 docs/docs.css | 0 docs/gettingStarted.html | 0 28 files changed, 49 insertions(+), 143 deletions(-) rename {alert => CSS/Components/alert}/alert.css (72%) rename {alert => CSS/Components/alert}/alert.html (100%) rename {avatar => CSS/Components/avatar}/avatar.css (88%) create mode 100644 CSS/Components/avatar/avatar.html rename {badge => CSS/Components/badge}/badge.css (94%) rename {badge => CSS/Components/badge}/badge.html (67%) rename {button => CSS/Components/button}/arrow_upward_white_24dp.svg (100%) rename {button => CSS/Components/button}/button.css (98%) rename {button => CSS/Components/button}/button.html (100%) rename {button => CSS/Components/button}/download_white_24dp.svg (100%) rename {card => CSS/Components/card}/card.css (97%) rename {card => CSS/Components/card}/card.html (98%) rename {card => CSS/Components/card}/close_black_24dp.svg (100%) rename {image => CSS/Components/image}/image.css (93%) rename {image => CSS/Components/image}/image.html (100%) rename {input => CSS/Components/input}/input.css (87%) rename {input => CSS/Components/input}/input.html (100%) rename reset.css => CSS/reset.css (100%) rename style.css => CSS/style.css (62%) rename utils.css => CSS/utils.css (100%) rename {avatar => assets}/avatar.svg (100%) rename {badge => assets}/chat_black_48dp.svg (100%) delete mode 100644 avatar/avatar.html delete mode 100644 badge/avatar.svg create mode 100644 docs/components.html create mode 100644 docs/designSystem.html create mode 100644 docs/docs.css create mode 100644 docs/gettingStarted.html diff --git a/alert/alert.css b/CSS/Components/alert/alert.css similarity index 72% rename from alert/alert.css rename to CSS/Components/alert/alert.css index 7ff8cfd..f4378b1 100644 --- a/alert/alert.css +++ b/CSS/Components/alert/alert.css @@ -1,4 +1,4 @@ -@import url(../style.css); +@import url(../../style.css); .alert { border-radius: 0.188rem; diff --git a/alert/alert.html b/CSS/Components/alert/alert.html similarity index 100% rename from alert/alert.html rename to CSS/Components/alert/alert.html diff --git a/avatar/avatar.css b/CSS/Components/avatar/avatar.css similarity index 88% rename from avatar/avatar.css rename to CSS/Components/avatar/avatar.css index fb365de..3430182 100644 --- a/avatar/avatar.css +++ b/CSS/Components/avatar/avatar.css @@ -1,4 +1,4 @@ -@import url(../style.css); +@import url(../../style.css); .avatar { height: 2rem; diff --git a/CSS/Components/avatar/avatar.html b/CSS/Components/avatar/avatar.html new file mode 100644 index 0000000..e917cdc --- /dev/null +++ b/CSS/Components/avatar/avatar.html @@ -0,0 +1,24 @@ + + + + + + + avatar + + + + + avatar + avatar + avatar + +


+ + avatar + avatar + avatar + + + + \ No newline at end of file diff --git a/badge/badge.css b/CSS/Components/badge/badge.css similarity index 94% rename from badge/badge.css rename to CSS/Components/badge/badge.css index bb05799..e6720a6 100644 --- a/badge/badge.css +++ b/CSS/Components/badge/badge.css @@ -1,4 +1,4 @@ -@import url(../style.css); +@import url(../../style.css); @import url(../avatar/avatar.css); .icon-with-badge { diff --git a/badge/badge.html b/CSS/Components/badge/badge.html similarity index 67% rename from badge/badge.html rename to CSS/Components/badge/badge.html index 426606d..ceb443c 100644 --- a/badge/badge.html +++ b/CSS/Components/badge/badge.html @@ -23,27 +23,27 @@
- chat icon with badge + chat icon with badge 5
- chat icon with badge + chat icon with badge
13
- chat icon with badge + chat icon with badge
2
- chat icon with badge + chat icon with badge
13
- chat icon with badge + chat icon with badge
56
@@ -52,17 +52,17 @@
- avatar + avatar
- avatar + avatar
- avatar + avatar
diff --git a/button/arrow_upward_white_24dp.svg b/CSS/Components/button/arrow_upward_white_24dp.svg similarity index 100% rename from button/arrow_upward_white_24dp.svg rename to CSS/Components/button/arrow_upward_white_24dp.svg diff --git a/button/button.css b/CSS/Components/button/button.css similarity index 98% rename from button/button.css rename to CSS/Components/button/button.css index 85b03f3..8a73994 100644 --- a/button/button.css +++ b/CSS/Components/button/button.css @@ -1,4 +1,4 @@ -@import url(../style.css); +@import url(../../style.css); .btn { border: none; diff --git a/button/button.html b/CSS/Components/button/button.html similarity index 100% rename from button/button.html rename to CSS/Components/button/button.html diff --git a/button/download_white_24dp.svg b/CSS/Components/button/download_white_24dp.svg similarity index 100% rename from button/download_white_24dp.svg rename to CSS/Components/button/download_white_24dp.svg diff --git a/card/card.css b/CSS/Components/card/card.css similarity index 97% rename from card/card.css rename to CSS/Components/card/card.css index de10a65..5eab143 100644 --- a/card/card.css +++ b/CSS/Components/card/card.css @@ -1,4 +1,4 @@ -@import url(../style.css); +@import url(../../style.css); @import url(../badge/badge.css); .card { diff --git a/card/card.html b/CSS/Components/card/card.html similarity index 98% rename from card/card.html rename to CSS/Components/card/card.html index c8071e4..df875ff 100644 --- a/card/card.html +++ b/CSS/Components/card/card.html @@ -50,7 +50,7 @@

- 5 + 5
diff --git a/card/close_black_24dp.svg b/CSS/Components/card/close_black_24dp.svg similarity index 100% rename from card/close_black_24dp.svg rename to CSS/Components/card/close_black_24dp.svg diff --git a/image/image.css b/CSS/Components/image/image.css similarity index 93% rename from image/image.css rename to CSS/Components/image/image.css index 126acc6..51fd03a 100644 --- a/image/image.css +++ b/CSS/Components/image/image.css @@ -1,4 +1,4 @@ -@import url(../style.css); +@import url(../../style.css); .img-res { width: 100%; diff --git a/image/image.html b/CSS/Components/image/image.html similarity index 100% rename from image/image.html rename to CSS/Components/image/image.html diff --git a/input/input.css b/CSS/Components/input/input.css similarity index 87% rename from input/input.css rename to CSS/Components/input/input.css index af98e98..cccaa78 100644 --- a/input/input.css +++ b/CSS/Components/input/input.css @@ -1,4 +1,4 @@ -@import url(../style.css); +@import url(../../style.css); .input-group { display: flex; diff --git a/input/input.html b/CSS/Components/input/input.html similarity index 100% rename from input/input.html rename to CSS/Components/input/input.html diff --git a/reset.css b/CSS/reset.css similarity index 100% rename from reset.css rename to CSS/reset.css diff --git a/style.css b/CSS/style.css similarity index 62% rename from style.css rename to CSS/style.css index e0b67b6..004037f 100644 --- a/style.css +++ b/CSS/style.css @@ -20,4 +20,12 @@ --red: #F24236; --yellow: #FCA311; --gray: #FAFAFA; -} \ No newline at end of file +} + +@import url(./Components/alert/alert.css); +@import url(./Components/avatar/avatar.css); +@import url(./Components/badge/badge.css); +@import url(./Components/button/button.css); +@import url(./Components/card/card.css); +@import url(./Components/image/image.css); +@import url(./Components/input/input.css); \ No newline at end of file diff --git a/utils.css b/CSS/utils.css similarity index 100% rename from utils.css rename to CSS/utils.css diff --git a/avatar/avatar.svg b/assets/avatar.svg similarity index 100% rename from avatar/avatar.svg rename to assets/avatar.svg diff --git a/badge/chat_black_48dp.svg b/assets/chat_black_48dp.svg similarity index 100% rename from badge/chat_black_48dp.svg rename to assets/chat_black_48dp.svg diff --git a/avatar/avatar.html b/avatar/avatar.html deleted file mode 100644 index c40f804..0000000 --- a/avatar/avatar.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - avatar - - - - - avatar - avatar - avatar - -


- - avatar - avatar - avatar - - - - \ No newline at end of file diff --git a/badge/avatar.svg b/badge/avatar.svg deleted file mode 100644 index 0686ea1..0000000 --- a/badge/avatar.svg +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/components.html b/docs/components.html new file mode 100644 index 0000000..e69de29 diff --git a/docs/designSystem.html b/docs/designSystem.html new file mode 100644 index 0000000..e69de29 diff --git a/docs/docs.css b/docs/docs.css new file mode 100644 index 0000000..e69de29 diff --git a/docs/gettingStarted.html b/docs/gettingStarted.html new file mode 100644 index 0000000..e69de29