Skip to content

Commit

Permalink
[TASK] changes to promo-area and video-promo-area
Browse files Browse the repository at this point in the history
  • Loading branch information
mesosa committed Jan 31, 2024
1 parent 4236c3d commit 060a904
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
17 changes: 13 additions & 4 deletions theme/sections/promo-area.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{% dnd_row %}
{% dnd_column
offset=0,
width=7
width=6
%}
{% dnd_row %}
{% dnd_module
Expand All @@ -33,6 +33,7 @@
style={
"spacing" : {
"spacing" : {
"css" : "padding-right: 10px;",
"padding" : {
"bottom" : { },
"left" : { },
Expand All @@ -45,7 +46,7 @@
}
}
},
text="Spetskonsulter inom data och<br> analys"
text="Spetskonsulter inom data och analys"
%}
{% end_dnd_module %}
{% end_dnd_row %}
Expand All @@ -57,6 +58,7 @@
style={
"spacing" : {
"spacing" : {
"css" : "padding-top: 10px;padding-right: 10px;",
"padding" : {
"bottom" : { },
"left" : { },
Expand Down Expand Up @@ -144,8 +146,8 @@
{% end_dnd_row %}
{% end_dnd_column %}
{% dnd_column
offset=7,
width=5
offset=6,
width=6
%}
{% dnd_row %}
{% dnd_module
Expand All @@ -161,6 +163,13 @@
"size_type" : "auto",
"src" : "https://143758764.fs1.hubspotusercontent-eu1.net/hubfs/143758764/Image%2018.png",
"width" : 543
},
style={
"alignment" : {
"alignment" : {
"horizontal_align" : "RIGHT"
}
}
}
%}
{% end_dnd_module %}
Expand Down
13 changes: 9 additions & 4 deletions theme/sections/video-promo-area.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
background_color="rgba(0, 102, 51, 1)",
padding={
"default" : {
"bottom" : "160px",
"bottom" : "90px",
"top" : "130px"
},
"mobile" : {
"bottom" : "30px",
"top" : "30px"
"bottom" : "90px",
"top" : "70px"
}
},
full_width=false
Expand Down Expand Up @@ -58,6 +58,7 @@
"oembed_url" : "https://youtu.be/QtX7Xwg1BoI",
"size_type" : "auto_custom_max",
"source_type" : "oembed",
"supported_oembed_types" : [ "video" ],
"width" : 696
},
hubspot_video={ },
Expand All @@ -73,7 +74,11 @@
style_options={
"oembed_thumbnail_play_button_color" : {
"color" : "#fff",
"opacity" : 100
"css" : "#ffffff",
"hex" : "#fff",
"opacity" : 100,
"rgb" : "rgb(255, 255, 255)",
"rgba" : "rgba(255, 255, 255, 1)"
}
},
video_type="embed"
Expand Down

0 comments on commit 060a904

Please sign in to comment.