{
    "id": 3181,
    "date": "2024-09-21T09:37:52",
    "date_gmt": "2024-09-21T09:37:52",
    "guid": {
        "rendered": "https:\/\/globalsuksesdigital.com\/?page_id=3181"
    },
    "modified": "2024-10-02T15:40:09",
    "modified_gmt": "2024-10-02T08:40:09",
    "slug": "our-brands",
    "status": "publish",
    "type": "page",
    "link": "https:\/\/globalsuksesdigital.com\/en\/our-brands\/",
    "title": {
        "rendered": "Our Brands"
    },
    "content": {
        "rendered": "<div data-elementor-type=\"wp-page\" data-elementor-id=\"3181\" class=\"elementor elementor-3181\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3cee4c9 e-flex e-con-boxed e-con e-parent\" data-id=\"3cee4c9\" data-element_type=\"container\">\r\n\t\t\t\t\t<div class=\"e-con-inner\">\r\n\t\t\t\t<div class=\"elementor-element elementor-element-9b25270 elementor-widget elementor-widget-html\" data-id=\"9b25270\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"brands\" class=\"porto-gallery porto-gallery has-ccols ccols-2 ccols-md-6 ccols-lg-9 porto-gallery-grid align-items-start porto-ig-zoom\"><\/div>\r\n<script>\r\nvar p = 1;\r\nvar last = 0;\r\ndt = [];\r\njQuery.ajax({\r\n        url: \"https:\/\/api.mobile.doss.co.id\/api\/v1\/brand?page=\"+p,\r\n        type: 'GET',\r\n        dataType: 'json', \/\/ added data type\r\n        success: function(res) {\r\n            last = res.meta.last_page;\r\n            dt = res.data;\r\n        }\r\n    });\r\nsetTimeout(function(){\r\n    jQuery.each(dt, function (key, val) {\r\n            jQuery('#brands').append('<figure><div class=\"image-wrapper\"><img decoding=\"async\" class=\"item-brand\" src=\"'+dt[key].logo+'\" ><\/div><\/figure>');\r\n        });\r\n},500);\r\njQuery(window).scroll(function() {\r\n   var hT = jQuery('#brands').find('.item-brand').last().offset().top,\r\n       hH = jQuery('#brands').find('.item-brand').last().outerHeight(),\r\n       wH = jQuery(window).height(),\r\n       wS = jQuery(this).scrollTop();\r\n   if (wS > (hT+hH-wH)){\r\n       if(p <= last){\r\n       p = p+1;\r\n       jQuery.ajax({\r\n        url: \"https:\/\/api.mobile.doss.co.id\/api\/v1\/brand?page=\"+p,\r\n        type: 'GET',\r\n        dataType: 'json', \/\/ added data type\r\n        success: function(res) {\r\n            last = res.meta.last_page;\r\n            dt = res.data;\r\n              jQuery.each(dt, function (key, val) {\r\n            jQuery('#brands').append('<figure><div class=\"image-wrapper\"><img decoding=\"async\" class=\"item-brand\" src=\"'+dt[key].logo+'\"\"><\/div><\/figure>');\r\n        });\r\n        }\r\n    });}\r\n   }\r\n});\r\n<\/script>\r\n<style>\r\n    .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure{\r\n        display: flex;\r\n        height: 130px !important;\r\n        align-items: center;\r\n    }\r\n    .item-brand{\r\n        width: auto;\r\n        margin-left: auto;\r\n        margin-right: auto;\r\n        max-width: 110px;\r\n        display: block;\r\n        object-fit: cover;\r\n        padding: 0 10px;\r\n    }\r\n<\/style>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>",
        "protected": false
    },
    "excerpt": {
        "rendered": "",
        "protected": false
    },
    "author": 2,
    "featured_media": 3846,
    "parent": 0,
    "menu_order": 0,
    "comment_status": "closed",
    "ping_status": "closed",
    "template": "",
    "meta": {
        "_acf_changed": false,
        "footnotes": ""
    },
    "class_list": [
        "post-3181",
        "page",
        "type-page",
        "status-publish",
        "has-post-thumbnail",
        "hentry"
    ],
    "acf": [],
    "aioseo_notices": [],
    "_links": {
        "self": [
            {
                "href": "https:\/\/globalsuksesdigital.com\/en\/wp-json\/wp\/v2\/pages\/3181",
                "targetHints": {
                    "allow": [
                        "GET"
                    ]
                }
            }
        ],
        "collection": [
            {
                "href": "https:\/\/globalsuksesdigital.com\/en\/wp-json\/wp\/v2\/pages"
            }
        ],
        "about": [
            {
                "href": "https:\/\/globalsuksesdigital.com\/en\/wp-json\/wp\/v2\/types\/page"
            }
        ],
        "author": [
            {
                "embeddable": true,
                "href": "https:\/\/globalsuksesdigital.com\/en\/wp-json\/wp\/v2\/users\/2"
            }
        ],
        "replies": [
            {
                "embeddable": true,
                "href": "https:\/\/globalsuksesdigital.com\/en\/wp-json\/wp\/v2\/comments?post=3181"
            }
        ],
        "version-history": [
            {
                "count": 44,
                "href": "https:\/\/globalsuksesdigital.com\/en\/wp-json\/wp\/v2\/pages\/3181\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 4880,
                "href": "https:\/\/globalsuksesdigital.com\/en\/wp-json\/wp\/v2\/pages\/3181\/revisions\/4880"
            }
        ],
        "wp:featuredmedia": [
            {
                "embeddable": true,
                "href": "https:\/\/globalsuksesdigital.com\/en\/wp-json\/wp\/v2\/media\/3846"
            }
        ],
        "wp:attachment": [
            {
                "href": "https:\/\/globalsuksesdigital.com\/en\/wp-json\/wp\/v2\/media?parent=3181"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}