Repository navigation
Google sites redesign - #1249
Open
Punnawit9285 wants to merge 21 commits into
Open
Punnawit9285 wants to merge 21 commits into
Punnawit9285 wants to merge 21 commits into
Conversation
Apps Script web app for the live sections of the redesigned Google Site: an opportunities finder (advisor and contact details only for docchula.com sign-ins), upcoming events and the research showcase, all read from Google Sheets and Forms so the team never edits code. Includes Node tests with stand-ins for the Google services, sheet templates, and the setup and page-building guide in google-sites/README.md.
…s, use full spreadsheets scope SpreadsheetApp.openById refuses the read-only scope, so the web app needs the spreadsheets scope to read the opportunities and Website data sheets.
New views: hero-actions (buttons + numbers) and showcase-stats. events-home now shows the two latest activities beside Upcoming, showcase-home gets the buttons row, open-now gets the sign-in hint. Google Sites keeps an embed's width-to-height ratio on phones, so wide views switch to a compact teaser with a link to the standalone page and the open-now panel scales down. Links to the standalone page use the /a/macros/docchula.com/ address.
…o buttons when sheets can't be read Google Sites embeds can't navigate the page around them, so target=_top links did nothing there.
… sign-in as its own page Drops the extra Find a project / Browse presentations headings, keeps the Home showcase cards in three columns, and sends Sign in to the standalone finder, where Google can tell the script who is signed in.
…e project with two deployments
The SVG is the source; render-hero-background.mjs turns it into the PNG that Google Sites' section image takes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.