test
parent
ab731bf80e
commit
2638b73999
|
@ -345,10 +345,15 @@ body {
|
|||
{% render 'shx-StarRatingForm'
|
||||
, content_type: 'init' %}
|
||||
|
||||
{% render 'shx-video-base'
|
||||
, content_type: 'init' %}
|
||||
|
||||
{% include 'pagefly-app-header' %}
|
||||
|
||||
<script src="{{ 'anime.min.js' | asset_url }}" defer="defer"></script>
|
||||
<script async src="{{ 'dotlottie-player.js' | asset_url }}"></script>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="gradient{% if settings.animations_hover_elements != 'none' %} animate--hover-{{ settings.animations_hover_elements }}{% endif %}">
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
{% assign content_type = content_type | default: 'awdawd' %}
|
||||
|
||||
{% if content_type == 'wasd' %}
|
||||
|
||||
|
||||
{% elsif content_type == "init" %}
|
||||
|
||||
{% style %}
|
||||
|
||||
.shx-video {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-top: 56.25%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.shx-video__wrapper {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.shx-video__wrapper video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
{% endstyle %}
|
||||
|
||||
{% endif %}
|
Loading…
Reference in New Issue