Sha256: 318aa2c4919907b50a7ff051160312e2c825ac4ce8b6d2a90b5b9f92f7d3c051

Contents?: true

Size: 1.12 KB

Versions: 62

Compression:

Stored size: 1.12 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 %>,
    components: [
      {
        "type": "row",
        "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

62 entries across 62 versions & 1 rubygems

Version Path
promethee-1.6.5 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.6.4 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.6.3 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.6.2 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.6.1 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.6.0 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.5.4 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.5.3 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.5.2 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.5.0 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.4.29 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.4.28 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.4.27 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.4.26 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.4.25 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.4.24 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.4.23 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.4.22 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.4.21 app/views/promethee/presets/_image-with-text.html.erb
promethee-1.4.20 app/views/promethee/presets/_image-with-text.html.erb