Sha256: fc13fd3ec59b55a57f8814583763220253bf660e5b0e9987703fa2c9b024e43c

Contents?: true

Size: 1.25 KB

Versions: 60

Compression:

Stored size: 1.25 KB

Contents

<script>
  angular.injector(['ng', 'Promethee']).get('presets').push({
    name: 'Image with text',
    icon: <%= render('promethee/presets/icon.image-with-text').to_json.html_safe %>,
    position: 1,
    components: [
      {
        "type": "row",
        "attributes": {
          "bgcolor": "rgba(255,255,255,0)",
          "backgrounds": []
        },
        "children": [
          {
            "type": "column",
            "attributes": {"size": 4, "offset": 0},
            "children": [
              {
                "type": "image",
                "attributes": {"src": "https://images.unsplash.com/photo-1502919280275-1bed9aca68ab?auto=format&fit=crop&w=1500&q=60&ixid=dW5zcGxhc2guY29tOzs7Ozs%3D"}
              }
            ]
          },
          {
            "type": "column",
            "attributes": {"size": 8, "offset": 0},
            "children": [
              {
                "type": "text",
                "attributes": {"body": "<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. A dicta, est quos distinctio culpa! Quasi cupiditate, totam nulla reprehenderit animi iusto qui cumque culpa repellat eum sit? Debitis, laboriosam reiciendis!</p>"}
              }
            ]
          }
        ]
      }
    ]
  });
</script>

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
promethee-1.10.5 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.10.4 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.10.3 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.10.2 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.10.1 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.10.0 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.9.0 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.8.4 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.8.3 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.8.2 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.8.1 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.8.0 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.7.12 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.7.11 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.7.10 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.7.9 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.7.8 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.7.7 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.7.6 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.7.5 app/views/promethee/presets/_image-with-text.html.erb