From 4f51bd52edb54b840799b8432966165e3631e363 Mon Sep 17 00:00:00 2001 From: "DESKTOP-C9V2M01\\Zeeri" Date: Sat, 2 Apr 2022 22:58:04 -0700 Subject: [PATCH] Updated --- client/main.styl | 4 +-- imports/startup/client/routes.js | 8 +++--- imports/ui/Grants.html | 25 ++++++++++--------- imports/ui/Home.html | 4 +-- imports/ui/News&Notices.html | 5 ---- imports/ui/News&Notices.import.styl | 21 ---------------- imports/ui/News&Notices.js | 13 ---------- .../{PhotoGallery.html => NewsAndPhotos.html} | 4 +-- ....import.styl => NewsAndPhotos.import.styl} | 2 +- .../ui/{PhotoGallery.js => NewsAndPhotos.js} | 8 +++--- imports/ui/Programs.html | 4 ++- imports/ui/SecondChance.html | 2 +- 12 files changed, 32 insertions(+), 68 deletions(-) delete mode 100644 imports/ui/News&Notices.html delete mode 100644 imports/ui/News&Notices.import.styl delete mode 100644 imports/ui/News&Notices.js rename imports/ui/{PhotoGallery.html => NewsAndPhotos.html} (97%) rename imports/ui/{PhotoGallery.import.styl => NewsAndPhotos.import.styl} (98%) rename imports/ui/{PhotoGallery.js => NewsAndPhotos.js} (94%) diff --git a/client/main.styl b/client/main.styl index 4f1426d..8c989a3 100644 --- a/client/main.styl +++ b/client/main.styl @@ -204,8 +204,8 @@ h3 @import "../imports/ui/Scholarships.import.styl" @import "../imports/ui/SecondChance.import.styl" @import "../imports/ui/Fellowships.import.styl" -@import "../imports/ui/News&Notices.import.styl" -@import "../imports/ui/PhotoGallery.import.styl" +//@import "../imports/ui/News&Notices.import.styl" +@import "../imports/ui/NewsAndPhotos.import.styl" @import "../imports/ui/JrHighSummer.import.styl" @import "../imports/ui/Support.import.styl" @import "../imports/ui/CurrentBoard.import.styl" diff --git a/imports/startup/client/routes.js b/imports/startup/client/routes.js index e656b25..b45c9f7 100644 --- a/imports/startup/client/routes.js +++ b/imports/startup/client/routes.js @@ -200,11 +200,11 @@ pub.route("/SecondChance", { BlazeLayout.render("Public", {content: "SecondChance"}); } }); -pub.route("/PhotoGallery", { - name: 'PhotoGallery', +pub.route("/NewsAndPhotos", { + name: 'NewsAndPhotos', action: function(params, queryParams) { - require("/imports/ui/PhotoGallery.js"); - BlazeLayout.render("Public", {content: "PhotoGallery"}); + require("/imports/ui/NewsAndPhotos.js"); + BlazeLayout.render("Public", {content: "NewsAndPhotos"}); } }); pub.route("/JrHighSummer", { diff --git a/imports/ui/Grants.html b/imports/ui/Grants.html index 4b62b0e..483abce 100644 --- a/imports/ui/Grants.html +++ b/imports/ui/Grants.html @@ -14,20 +14,21 @@ @@ -38,4 +39,4 @@ - \ No newline at end of file + diff --git a/imports/ui/Home.html b/imports/ui/Home.html index b137672..8d62411 100644 --- a/imports/ui/Home.html +++ b/imports/ui/Home.html @@ -33,9 +33,9 @@
- + - +
diff --git a/imports/ui/News&Notices.html b/imports/ui/News&Notices.html deleted file mode 100644 index 914c5b7..0000000 --- a/imports/ui/News&Notices.html +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/imports/ui/News&Notices.import.styl b/imports/ui/News&Notices.import.styl deleted file mode 100644 index c51bd04..0000000 --- a/imports/ui/News&Notices.import.styl +++ /dev/null @@ -1,21 +0,0 @@ -#newsView - display: block - -#newsNotices p, #newsEditor p - font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif - font-size: 16px - margin: 16px 0 - -#newsNotices h2, #newsEditor h2 - font-family: "Arial Black", "Arial Bold", Gadget, sans-serif - font-size: 19px - text-transform: uppercase - background-color: #EEE - font-weight: bold - padding-left: 40px - -#newsNotices h4, #newsEditor h4 - font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif - font-size: 16px - font-weight: 800 - clear: left \ No newline at end of file diff --git a/imports/ui/News&Notices.js b/imports/ui/News&Notices.js deleted file mode 100644 index 403c8b6..0000000 --- a/imports/ui/News&Notices.js +++ /dev/null @@ -1,13 +0,0 @@ -import './News&Notices.html'; - -Tracker.autorun(function() { - Meteor.subscribe("pages"); -}); - -Template.NewsNotices.helpers({ - newsHTML: function() { - let doc = Meteor.collections.Pages.findOne({name: 'News'}); - - return doc === undefined ? "" : doc.html; - } -}); \ No newline at end of file diff --git a/imports/ui/PhotoGallery.html b/imports/ui/NewsAndPhotos.html similarity index 97% rename from imports/ui/PhotoGallery.html rename to imports/ui/NewsAndPhotos.html index 3652fb1..5dbe2d3 100644 --- a/imports/ui/PhotoGallery.html +++ b/imports/ui/NewsAndPhotos.html @@ -1,5 +1,5 @@ - diff --git a/imports/ui/SecondChance.html b/imports/ui/SecondChance.html index cf4c5ce..a3284f8 100644 --- a/imports/ui/SecondChance.html +++ b/imports/ui/SecondChance.html @@ -16,7 +16,7 @@

Recipient Guidelines (Show)

-

Guidelines to assist who have already been awarded an Anderson Valley Education Foundation Second Chance Scholarship...

+

The purpose of these guidelines is to assist students who have been awarded an AVEF Second Chance Scholarship.