﻿{"id":15,"date":"2017-03-10T09:30:00","date_gmt":"2017-03-10T07:30:00","guid":{"rendered":"https:\/\/www.bogaziciveteriner.com\/?page_id=15"},"modified":"2022-01-14T00:57:43","modified_gmt":"2022-01-13T21:57:43","slug":"certificates","status":"publish","type":"page","link":"https:\/\/www.bogaziciveteriner.com\/en\/certificates\/","title":{"rendered":"CERTIFICATES"},"content":{"rendered":"\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/handlebars@4.7.7\/dist\/handlebars.min.js\"><\/script>\n\n\n\n<div id=\"certificate-content\" class=\"row\"><\/div>\n\n\n\n<style>\n.sertifika-isim {\n  font: 500 15px\/1.4 \"Gotham SSm A\", \"Gotham SSm B\";\n  color: #c63f3f;\n  text-decoration: none !important;\n  border: solid 4px transparent;\n  transition-duration: .2s\n}\n.sertifika-isim span {\n  padding: 10px 8px;\n}\n\n@media (hover:hover) {\n  .sertifika-isim:hover {\n    color: white;\n    border-color: #c63f3f;\n    background-color: #c63f3f;\n  }\n}\n<\/style>\n\n\n\n<script>\n(function($){\n  $(function(){\n    const certificate_template = Handlebars.compile($('#certificate-template').html());\n\n    $.ajax({\n      'dataType': 'json',\n      'url': '\/certificates\/certificates.json',\n    }).done(function(response){\n      const reversed_data = response.sort((a,b) => b.year - a.year);\n      $('#certificate-content').html(certificate_template(reversed_data));\n    });\n  });\n}(jQuery))\n<\/script>\n\n\n\n<script id=\"certificate-template\" type=\"text\/x-handlebars-template\">\n{{#.}}\n  <div class=\"col-xs-12\">\n    <h2 class=\"my-2\">Certificates from {{year}}<\/h2>\n  <\/div>\n  {{#certificates}}\n    <div class=\"col-xs-6 col-md-4 col-lg-3 mb-1\">\n      <a class=\"sertifika-isim d-block h-100 swipebox\" href=\"\/certificates\/images\/big\/{{image}}\" title=\"{{..\/year}} - {{name}}\">\n        <img decoding=\"async\" class=\"img-fluid\" src=\"\/certificates\/images\/small\/{{image}}\" alt=\"{{name}}\" loading=\"lazy\" width=\"309\" height=\"206\">\n        <span class=\"d-block\">{{name}}<\/span>\n      <\/a>\n    <\/div>\n  {{\/certificates}}\n{{\/.}}\n<\/script>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p><b>We are the only clinic established with 50% foreign participation<\/b> and which has attended to nearly 100 congresses.<\/p>\n","protected":false},"author":1,"featured_media":2418,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-sertifikalar.php","meta":{"footnotes":""},"class_list":["post-15","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.bogaziciveteriner.com\/en\/wp-json\/wp\/v2\/pages\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bogaziciveteriner.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bogaziciveteriner.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bogaziciveteriner.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bogaziciveteriner.com\/en\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":14,"href":"https:\/\/www.bogaziciveteriner.com\/en\/wp-json\/wp\/v2\/pages\/15\/revisions"}],"predecessor-version":[{"id":2747,"href":"https:\/\/www.bogaziciveteriner.com\/en\/wp-json\/wp\/v2\/pages\/15\/revisions\/2747"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bogaziciveteriner.com\/en\/wp-json\/wp\/v2\/media\/2418"}],"wp:attachment":[{"href":"https:\/\/www.bogaziciveteriner.com\/en\/wp-json\/wp\/v2\/media?parent=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}