From 55c26f627f8e9b63a20274dadbb2e79d98826ea7 Mon Sep 17 00:00:00 2001 From: Peter Molnar Date: Thu, 6 Jun 2019 13:16:19 +0100 Subject: [PATCH] additional cleanups --- .gitignore | 2 +- README.md | 2 +- index.php | 29 ++++++++++++++--------------- site.json | 6 +++--- style.css | 4 ++-- 5 files changed, 21 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 17fecf3..5c5b09e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -flickr.json +.*.json diff --git a/README.md b/README.md index 25c6745..649d73d 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Org and site data are in JSON-LD files in `site.json` and `org.json`. Each page ## Example `flickr.json` -The required `flickr.json` file is not in the repository, because it contains and API key. It shoudl look like this: +The required `.flickr.json` file is not in the repository, because it contains and API key. It should look like this: ```json { diff --git a/index.php b/index.php index 2de93f9..8df19b8 100644 --- a/index.php +++ b/index.php @@ -28,7 +28,7 @@ function make_gallery() { return True; } - $flickr = json_decode(file_get_contents('flickr.json'), TRUE); + $flickr = json_decode(file_get_contents('.flickr.json'), TRUE); $flickr['method'] = "flickr.photosets.getPhotos"; $flickr['extras'] = "media,url_m,url_l"; $flickr['per_page'] = "500"; @@ -179,25 +179,24 @@ $site['mainEntity'] = &$meta; ?> - <?php echo($meta['headline']); ?> - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/site.json b/site.json index 6435638..f572d1d 100644 --- a/site.json +++ b/site.json @@ -6,9 +6,9 @@ "name": "pakuauk.com", "image": "https://pakuauk.com/favicon.png", "sameAs": [ - "https://www.facebook.com/PaKuaUK", - "https://www.twitter.com/pakuauk", - "https://www.youtube.com/pakuauk", + "https://facebook.com/PaKuaUK", + "https://twitter.com/pakuauk", + "https://youtube.com/pakuauk", "https://instagram.com/pakuauk", "https://www.eventbrite.co.uk/o/pa-kua-international-school-19817765035" ] diff --git a/style.css b/style.css index f94bd34..d78b88b 100644 --- a/style.css +++ b/style.css @@ -2,7 +2,7 @@ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; - font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif; + font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",Helvetica,Arial,sans-serif; margin: 0; padding: 0; line-height: 1.5em; @@ -337,7 +337,7 @@ main ul li { width: 50%; top: 1em; bottom: 1em; - background-image:url('https://static.wixstatic.com/media/80d0c2_0ac5f36579244b7cb4b80beccee32ac9.png/v1/fill/w_480,h_680,al_c,usm_0.66_1.00_0.01/80d0c2_0ac5f36579244b7cb4b80beccee32ac9.png'); + background-image:url('image/background-school.jpg'); background-position: center; z-index: 1; background-size:cover;