Skip to content

Commit

Permalink
made a proper file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
maitrakhatri committed Feb 1, 2022
1 parent 836bca7 commit 137ed08
Show file tree
Hide file tree
Showing 28 changed files with 49 additions and 143 deletions.
2 changes: 1 addition & 1 deletion alert/alert.css → CSS/Components/alert/alert.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url(../style.css);
@import url(../../style.css);

.alert {
border-radius: 0.188rem;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion avatar/avatar.css → CSS/Components/avatar/avatar.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url(../style.css);
@import url(../../style.css);

.avatar {
height: 2rem;
Expand Down
24 changes: 24 additions & 0 deletions CSS/Components/avatar/avatar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>avatar</title>
<link rel="stylesheet" href="avatar.css">
</head>
<body>

<img class="avatar avatar-round" src="../../../assets/avatar.svg" alt="avatar">
<img class="avatar-xl avatar-round" src="../../../assets/avatar.svg" alt="avatar">
<img class="avatar-xxl avatar-round" src="../../../assets/avatar.svg" alt="avatar">

<div><br></div> <div><br></div>

<img class="avatar avatar-square" src="../../../assets/avatar.svg" alt="avatar">
<img class="avatar-xl avatar-square" src="../../../assets/avatar.svg" alt="avatar">
<img class="avatar-xxl avatar-square" src="../../../assets/avatar.svg" alt="avatar">


</body>
</html>
2 changes: 1 addition & 1 deletion badge/badge.css → CSS/Components/badge/badge.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url(../style.css);
@import url(../../style.css);
@import url(../avatar/avatar.css);

.icon-with-badge {
Expand Down
16 changes: 8 additions & 8 deletions badge/badge.html → CSS/Components/badge/badge.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,27 @@
<div class="badge-on-icon">

<div class="icon-with-badge">
<img src="chat_black_48dp.svg" alt="chat icon with badge">
<img src="../../../assets/chat_black_48dp.svg" alt="chat icon with badge">
<span class="badge bg-red">5</span>
</div>

<div class="icon-with-badge">
<img src="chat_black_48dp.svg" alt="chat icon with badge">
<img src="../../../assets/chat_black_48dp.svg" alt="chat icon with badge">
<div class="badge bg-lightblue">13</div>
</div>

<div class="icon-with-badge">
<img src="chat_black_48dp.svg" alt="chat icon with badge">
<img src="../../../assets/chat_black_48dp.svg" alt="chat icon with badge">
<div class="badge bg-blue">2</div>
</div>

<div class="icon-with-badge">
<img src="chat_black_48dp.svg" alt="chat icon with badge">
<img src="../../../assets/chat_black_48dp.svg" alt="chat icon with badge">
<div class="badge bg-yellow">13</div>
</div>

<div class="icon-with-badge">
<img src="chat_black_48dp.svg" alt="chat icon with badge">
<img src="../../../assets/chat_black_48dp.svg" alt="chat icon with badge">
<div class="badge bg-green">56</div>
</div>

Expand All @@ -52,17 +52,17 @@
<div class="badge-on-avatar">

<div class="avatar-with-badge">
<img class="avatar avatar-round" src="avatar.svg" alt="avatar">
<img class="avatar avatar-round" src="../../../assets/avatar.svg" alt="avatar">
<div class="badge-avatar bg-green"> </div>
</div>

<div class="avatar-with-badge">
<img class="avatar avatar-round" src="avatar.svg" alt="avatar">
<img class="avatar avatar-round" src="../../../assets/avatar.svg" alt="avatar">
<div class="badge-avatar bg-red"> </div>
</div>

<div class="avatar-with-badge">
<img class="avatar avatar-round" src="avatar.svg" alt="avatar">
<img class="avatar avatar-round" src="../../../assets/avatar.svg" alt="avatar">
<div class="badge-avatar bg-yellow"> </div>
</div>

Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion button/button.css → CSS/Components/button/button.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url(../style.css);
@import url(../../style.css);

.btn {
border: none;
Expand Down
File renamed without changes.
File renamed without changes
2 changes: 1 addition & 1 deletion card/card.css → CSS/Components/card/card.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url(../style.css);
@import url(../../style.css);
@import url(../badge/badge.css);

.card {
Expand Down
2 changes: 1 addition & 1 deletion card/card.html → CSS/Components/card/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</p>
</div>

<span class="badge blue">5</span>
<span class="badge bg-lightblue">5</span>

</div>

Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion image/image.css → CSS/Components/image/image.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url(../style.css);
@import url(../../style.css);

.img-res {
width: 100%;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion input/input.css → CSS/Components/input/input.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url(../style.css);
@import url(../../style.css);

.input-group {
display: flex;
Expand Down
File renamed without changes.
File renamed without changes.
10 changes: 9 additions & 1 deletion style.css → CSS/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,12 @@
--red: #F24236;
--yellow: #FCA311;
--gray: #FAFAFA;
}
}

@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);
File renamed without changes.
File renamed without changes
File renamed without changes
24 changes: 0 additions & 24 deletions avatar/avatar.html

This file was deleted.

102 changes: 0 additions & 102 deletions badge/avatar.svg

This file was deleted.

Empty file added docs/components.html
Empty file.
Empty file added docs/designSystem.html
Empty file.
Empty file added docs/docs.css
Empty file.
Empty file added docs/gettingStarted.html
Empty file.

0 comments on commit 137ed08

Please sign in to comment.