-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: made component for brands and added max w in config (#35)
* feat: made component for brands and added max w in config * feat: removed max w config * feat: updated docs Co-authored-by: anshul-pinto0410 <[email protected]> Co-authored-by: Pritam Sinha <[email protected]>
- Loading branch information
1 parent
b3f2bd2
commit 87dd7cd
Showing
4 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
id: branding | ||
title: Branding | ||
sidebar_label: Branding | ||
--- | ||
|
||
```html live | ||
<> | ||
<div class="lil-branding"> | ||
<div class="lil-branding-triplet"> | ||
<img class="lil-object-none" src="https://assets1.cleartax-cdn.com/cleartax/images/1602844309_company_apollo.png" /> | ||
<img class="lil-object-none" src="https://assets1.cleartax-cdn.com/cleartax/images/1602844411_company_bosch.png" /> | ||
<img class="lil-object-none" src="https://assets1.cleartax-cdn.com/cleartax/images/1602844428_company_swiggy.png" /> | ||
</div> | ||
<div class="lil-branding-triplet"> | ||
<img class="lil-object-none" src="https://assets1.cleartax-cdn.com/cleartax/images/1602844272_company_puma.png" /> | ||
<img class="lil-object-none" src="https://assets1.cleartax-cdn.com/cleartax/images/1602844717_company_ikea.png" /> | ||
<img class="lil-object-none" src="https://assets1.cleartax-cdn.com/cleartax/images/1602844680_company_standard_chartered.png" /> | ||
</div> | ||
<div class="lil-brand-text"> | ||
trusted by your favorite brands | ||
</div> | ||
</div> | ||
</> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.lil-brand-text { | ||
bottom: -1rem; | ||
right: 1rem; | ||
@apply lil-absolute lil-bg-white lil-text-s-18 lil-font-medium lil-px-4 lil-text-font-300; | ||
} | ||
|
||
.lil-branding { | ||
@apply lil-flex lil-flex-wrap lil-w-full lil-mt-24 lil-py-16 lil-px-8 lil-relative lil-mb-40 lil-border-grey-300 lil-border-md lil-justify-center lil-rounded-lg; | ||
} | ||
|
||
.lil-branding .lil-branding-triplet{ | ||
@apply lil-flex lil-py-4 lil-justify-around lil-w-1/2; | ||
} | ||
|
||
|
||
@screen md{ | ||
.lil-branding .lil-branding-triplet{ | ||
@apply lil-w-full; | ||
} | ||
} | ||
|
||
@screen sm { | ||
.lil-brand-text{ | ||
@apply lil-relative; | ||
} | ||
|
||
.lil-branding { | ||
@apply lil-border-none lil-px-2 lil-mb-24 lil-pb-0; | ||
} | ||
|
||
.lil-branding .lil-branding-triplet{ | ||
@apply lil-justify-between lil-w-full; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters