diff --git a/img/projects/acad.jpg b/img/projects/acad.jpg new file mode 100644 index 0000000..ef964e6 Binary files /dev/null and b/img/projects/acad.jpg differ diff --git a/img/projects/car.jpg b/img/projects/car.jpg new file mode 100644 index 0000000..66fc95f Binary files /dev/null and b/img/projects/car.jpg differ diff --git a/img/projects/homelab.jpg b/img/projects/homelab.jpg new file mode 100644 index 0000000..05e45a1 Binary files /dev/null and b/img/projects/homelab.jpg differ diff --git a/img/projects/instagram_default.jpg b/img/projects/instagram_default.jpg new file mode 100644 index 0000000..bc0343b Binary files /dev/null and b/img/projects/instagram_default.jpg differ diff --git a/img/projects/lightsaber-full.png b/img/projects/lightsaber-full.png new file mode 100644 index 0000000..0af9ecb Binary files /dev/null and b/img/projects/lightsaber-full.png differ diff --git a/img/projects/lightsaber.jpg b/img/projects/lightsaber.jpg new file mode 100644 index 0000000..cd09feb Binary files /dev/null and b/img/projects/lightsaber.jpg differ diff --git a/img/projects/mqp-full.png b/img/projects/mqp-full.png new file mode 100644 index 0000000..e4d8fac Binary files /dev/null and b/img/projects/mqp-full.png differ diff --git a/img/projects/mqp.jpg b/img/projects/mqp.jpg new file mode 100644 index 0000000..49dc5d8 Binary files /dev/null and b/img/projects/mqp.jpg differ diff --git a/js/custom.js b/js/custom.js index cdc8e44..4784e6d 100644 --- a/js/custom.js +++ b/js/custom.js @@ -110,3 +110,27 @@ jQuery(document).ready(function( $ ) { }); }); + +function getLatestInstagram() { + var accessToken = "6776938228.41033a7.2c2b19a29d184bc89d6e5b2490f56715"; + var clientID = " 41033a7c7d324db08a2fa121ad0bd05b"; + var redirectURI = "https://enpaul.net/"; + var userID = "6776938228"; + + var urlAPI = "https://api.instagram.com/v1/users/" + userID + "/media/recent/?access_token=" + accessToken + "&count=1"; + + jQuery.ajax({ + url: urlAPI, + type: "GET", + contentType: 'application/json; charset=utf-8', + success: function(jsonOut) { + var dataOut = JSON.parse($jsonOut); + var urlIMG = dataOut['data']['images']['low_resolution']['url']; + $('#project-item-instagram').css("background-image", "url(" + urlIMG + ")"); + }, + error : function(jqXHR, textStatus, errorThrown) { + $('#project-item-instagram').css("background-image", "url(../img/projects/instagram_default.jpg)"); + }, + timeout: 120000, + }); +} diff --git a/projects/index.html b/projects/index.html index 93a2153..9d752a1 100644 --- a/projects/index.html +++ b/projects/index.html @@ -93,66 +93,66 @@
-
+
-
+ -->
-

Service Status

-

Having trouble accessing a network service? Soon you'll be able to check my network's status online and let me know if there are problems!

+

Personal Blog

+

As with all things I put online, my blog will mostly be for me to organize my thoughts. That said, feel free to take a look!

-
--> +