From cc1e2758bf994f60f0c9ae958c0d1f4a2dd53593 Mon Sep 17 00:00:00 2001
From: Vanessa Seals-Nutt
Date: Wed, 5 Jul 2023 22:10:46 -0400
Subject: [PATCH 1/2] (#143) FIX: Fixed typo and added year stamp on homepage -
changed http urls to https
---
manifests/2338337HarvardPaperTape.json | 8 ++++----
server/constants/faq.json | 4 ++--
server/stories_api/index.js | 2 +-
views/partials/donate_scripts.html | 6 +++---
views/partials/footer.html | 9 ++++++++-
views/partials/home.html | 2 +-
views/partials/home_scripts.html | 4 ++--
7 files changed, 21 insertions(+), 14 deletions(-)
diff --git a/manifests/2338337HarvardPaperTape.json b/manifests/2338337HarvardPaperTape.json
index 97279fb..8fdfc8b 100644
--- a/manifests/2338337HarvardPaperTape.json
+++ b/manifests/2338337HarvardPaperTape.json
@@ -31,14 +31,14 @@
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
- "@id": "http://iiif.ss.ksn.io/iiif/2/2339337HarvardPaperTape.jpg/full/full/0/default.jpg",
+ "@id": "https://iiif.ss.ksn.io/iiif/2/2339337HarvardPaperTape.jpg/full/full/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"service": {
- "@context": "http://iiif.io/api/image/2/context.json",
- "@id": "http://iiif.ss.ksn.io/iiif/2/2339337HarvardPaperTape.jpg",
+ "@context": "https://iiif.io/api/image/2/context.json",
+ "@id": "https://iiif.ss.ksn.io/iiif/2/2339337HarvardPaperTape.jpg",
"profile": [
- "http://iiif.io/api/image/2/level2.json",
+ "https://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
diff --git a/server/constants/faq.json b/server/constants/faq.json
index 551b05b..b972aa5 100644
--- a/server/constants/faq.json
+++ b/server/constants/faq.json
@@ -1,10 +1,10 @@
[
{
"question": "How do you decide who gets a science story?",
- "answer": "We work from print materials such as biographical dictionaries and biographical sketches. We also consult archival material. "
+ "answer": "We work from print materials such as biographical dictionaries and biographical sketches. We also consult archival material. "
},
{
- "question": "Why are their more historical figures than living people in Science Stories?",
+ "question": "Why are there more historical figures than living people in Science Stories?",
"answer": "Currently there are more historical figures than living people in Science Stories because we ask for consent from living people before creating a new story. If you would like us to tell your story, please email us at info@sciencestories.io. "
},
{
diff --git a/server/stories_api/index.js b/server/stories_api/index.js
index 48bac81..19228c0 100644
--- a/server/stories_api/index.js
+++ b/server/stories_api/index.js
@@ -2,7 +2,7 @@ const axios = require('axios');
const STORIES_API_ENDPOINT = process.env.STORIES_API_ENDPOINT;
const STORIES_API_COLLECTION_ID = process.env.STORIES_API_COLLECTION_ID;
const STORIES_API_PUBLIC_KEY = process.env.STORIES_API_PUBLIC_KEY;
-const PUBLIC_URL = process.env.PUBLIC_URL || "http://sciencestories.io";
+const PUBLIC_URL = process.env.PUBLIC_URL || "https://sciencestories.io";
const RETRY_STATUS_CODE = 206;
const RETRY_WAIT_TIME = 1000;
const STORIES_API_ENDPOINT_ALLOW_RETRY = process.env.STORIES_API_ENDPOINT_ALLOW_RETRY;
diff --git a/views/partials/donate_scripts.html b/views/partials/donate_scripts.html
index b07fe5b..8f97bf3 100644
--- a/views/partials/donate_scripts.html
+++ b/views/partials/donate_scripts.html
@@ -1,6 +1,6 @@
-
-
+
+
-
+
diff --git a/views/partials/footer.html b/views/partials/footer.html
index ce98986..7b9dc70 100644
--- a/views/partials/footer.html
+++ b/views/partials/footer.html
@@ -10,8 +10,15 @@
- © Science Stories 2018
+ © Science Stories
Developed By Seals-Nutt
sitemap
+
+
\ No newline at end of file
diff --git a/views/partials/home.html b/views/partials/home.html
index 9efd959..88b0dae 100644
--- a/views/partials/home.html
+++ b/views/partials/home.html
@@ -227,7 +227,7 @@
{{> footer}}
-
+
+
From 329fbe12e7f83b12d059be828e996e67ac90d1d9 Mon Sep 17 00:00:00 2001
From: Vanessa Seals-Nutt
Date: Wed, 5 Jul 2023 22:21:51 -0400
Subject: [PATCH 2/2] cleaned up year stamp code
---
views/partials/footer.html | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/views/partials/footer.html b/views/partials/footer.html
index 7b9dc70..c038d3b 100644
--- a/views/partials/footer.html
+++ b/views/partials/footer.html
@@ -17,8 +17,6 @@
\ No newline at end of file