generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
izabela.horodenska
committed
Apr 18, 2024
1 parent
798ce4f
commit 8779fb1
Showing
21 changed files
with
428 additions
and
492 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
This file was deleted.
Oops, something went wrong.
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,83 @@ | ||
import { html, render } from 'https://unpkg.com/[email protected]/lit-html.js'; | ||
|
||
export const bannersTemplate = () => { | ||
return html` | ||
<div class="ls-library theme-content-element" id="banners"> | ||
<h1>Banner</h1> | ||
<div class="theme-content-element-description"> | ||
<div class="ls-example"> | ||
<h5 class="ls-example__heading">Example</h5> | ||
<div class="ls-example__body"> | ||
<div class="banner block" data-block-name="banner" data-block-status="loaded"> | ||
<!----> | ||
<div id="banner"> | ||
<div class="content"> | ||
<header> | ||
<h1><!--?lit$126102149$-->Hi, I’m Editorial by HTML5 UP!</h1> | ||
<p><!--?lit$126102149$-->A FREE AND FULLY RESPONSIVE SITE TEMPLATE</p> | ||
</header> | ||
<!--?lit$126102149$--><!----> | ||
<p> | ||
<!--?lit$126102149$-->Aenean ornare velit lacus, ac varius enim ullamcorper eu. Proin aliquam | ||
facilisis ante interdum congue. Integer mollis, nisl amet convallis, porttitor magna ullamcorper, | ||
amet egestas mauris. Ut magna finibus nisi nec lacinia. Nam maximus erat id euismod egestas. | ||
Pellentesque sapien ac quam. Lorem ipsum dolor sit nullam. | ||
</p> | ||
<!----><!----> | ||
<p> | ||
<!--?lit$126102149$-->Ut magna finibus nisi nec lacinia. Nam maximus erat id euismod egestas. | ||
Pellentesque sapien ac quam. Lorem ipsum dolor sit nullam. | ||
</p> | ||
<!----> | ||
<ul class="actions"> | ||
<!--?lit$126102149$--><!----> | ||
<li> | ||
<a class="button big" href="http://localhost:3000/#"><!--?lit$126102149$-->Learn more</a> | ||
</li> | ||
<!----><!----> | ||
<li> | ||
<a class="button big" href="http://localhost:3000/generic" | ||
><!--?lit$126102149$-->Gehe zu Generic</a | ||
> | ||
</li> | ||
<!----> | ||
</ul> | ||
</div> | ||
<span class="image object" | ||
><!--?lit$126102149$--><picture> | ||
<source | ||
type="image/webp" | ||
srcset=" | ||
./media_18fca17b5770aad624cc462619b04b3c9236b61f0.png?width=2000&format=webply&optimize=medium | ||
" | ||
media="(min-width: 600px)" | ||
/> | ||
<source | ||
type="image/webp" | ||
srcset=" | ||
./media_18fca17b5770aad624cc462619b04b3c9236b61f0.png?width=750&format=webply&optimize=medium | ||
" | ||
/> | ||
<source | ||
type="image/png" | ||
srcset=" | ||
./media_18fca17b5770aad624cc462619b04b3c9236b61f0.png?width=2000&format=png&optimize=medium | ||
" | ||
media="(min-width: 600px)" | ||
/> | ||
<img | ||
loading="eager" | ||
alt="" | ||
src="./media_18fca17b5770aad624cc462619b04b3c9236b61f0.png?width=750&format=png&optimize=medium" | ||
width="736" | ||
height="512" | ||
/> </picture | ||
></span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ import { html, render } from 'https://unpkg.com/[email protected]/lit-html.js'; | |
export const buttonsTemplate = () => { | ||
return html` | ||
<div class="theme-content-category" id="buttons"> | ||
<div class="i-library theme-content-element"> | ||
<h1 class="display-4 theme-content-element-title">Buttons</h1> | ||
<div class="ls-library theme-content-element"> | ||
<h1>Buttons</h1> | ||
<div class="theme-content-element-description"> | ||
<p>Button / Anchor element.</p> | ||
<p>Default button size is <strong>l</strong>. Default button type is <strong>secondary</strong>.</p> | ||
|
@@ -17,38 +17,38 @@ export const buttonsTemplate = () => { | |
<li><p>tag: "button" | "a"</p></li> | ||
<li><p>label: string</p></li> | ||
</ul> | ||
<div class="i-example"> | ||
<h5 class="i-example__heading">Example</h5> | ||
<div class="i-example__body"> | ||
<div class="ls-example"> | ||
<h5 class="ls-example__heading">Example</h5> | ||
<div class="ls-example__body"> | ||
<ul class="actions"> | ||
<li><a href="#" class="button primary">Default</a></li> | ||
<li><a href="#" class="button">Default</a></li> | ||
</ul> | ||
<ul class="actions small"> | ||
<ul class="actions"> | ||
<li><a href="#" class="button primary small">Small</a></li> | ||
<li><a href="#" class="button small">Small</a></li> | ||
</ul> | ||
<div class="row"> | ||
<div class="col-6 col-12-small"> | ||
<ul class="actions stacked"> | ||
<ul class="actions"> | ||
<li><a href="#" class="button primary">Default</a></li> | ||
<li><a href="#" class="button">Default</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-6 col-12-small"> | ||
<ul class="actions stacked"> | ||
<ul class="actions"> | ||
<li><a href="#" class="button primary small">Small</a></li> | ||
<li><a href="#" class="button small">Small</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-6 col-12-small"> | ||
<ul class="actions stacked"> | ||
<ul class="actions"> | ||
<li><a href="#" class="button primary fit">Default</a></li> | ||
<li><a href="#" class="button fit">Default</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-6 col-12-small"> | ||
<ul class="actions stacked"> | ||
<ul class="actions"> | ||
<li><a href="#" class="button primary small fit">Small</a></li> | ||
<li><a href="#" class="button small fit">Small</a></li> | ||
</ul> | ||
|
Oops, something went wrong.