generated from adobe-rnd/aem-boilerplate-xwalk
-
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.
Merge pull request #1 from Bounteous-Inc/test-branch
Test branch
- Loading branch information
Showing
5 changed files
with
90 additions
and
3 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
helix-importer-ui | ||
helix-importer-ui | ||
blocks/quote/quote.js |
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,48 @@ | ||
{ | ||
"definitions": [ | ||
{ | ||
"title": "Quote", | ||
"id": "quote", | ||
"plugins": { | ||
"xwalk": { | ||
"page": { | ||
"resourceType": "core/franklin/components/block/v1/block", | ||
"template": { | ||
"name": "Quote", | ||
"model": "quote" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"models": [ | ||
{ | ||
"id": "quote", | ||
"fields": [ | ||
{ | ||
"component": "reference", | ||
"valueType": "string", | ||
"name": "image", | ||
"label": "Image", | ||
"multi": false | ||
}, | ||
{ | ||
"component": "text", | ||
"valueType": "string", | ||
"name": "imageAlt", | ||
"label": "Alt", | ||
"value": "" | ||
}, | ||
{ | ||
"component": "richtext", | ||
"name": "text", | ||
"value": "", | ||
"label": "Text", | ||
"valueType": "string" | ||
} | ||
] | ||
} | ||
], | ||
"filters": [] | ||
} |
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,37 @@ | ||
.quote-container .quote-wrapper { | ||
max-width: unset; | ||
padding: 0; | ||
} | ||
|
||
.quote { | ||
position: relative; | ||
padding: 20px 24px; | ||
min-height: 400px; | ||
} | ||
|
||
.quote h1 { | ||
max-width: 1200px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
color: var(--background-color); | ||
} | ||
|
||
.quote picture { | ||
position: absolute; | ||
z-index: -1; | ||
inset: 0; | ||
object-fit: cover; | ||
box-sizing: border-box; | ||
} | ||
|
||
.quote img { | ||
object-fit: cover; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
@media (width >= 900px) { | ||
.quote { | ||
padding: 40px 32px; | ||
} | ||
} |
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 @@ | ||
|