-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Update website design (GH-46) #48
feat: Update website design (GH-46) #48
Conversation
BREAKING CHANGE: This is a work in progress, and as such many of the files added here may be substantially altered or removed in the near future. The original document Markdown files have also been updated to pass linter rules
✔️ Deploy Preview for floe-handbook ready! 🔨 Explore the source changes: 90da9eb 🔍 Inspect the deploy log: https://app.netlify.com/sites/floe-handbook/deploys/6229b50ebbc53200096ea5e2 😎 Browse the preview: https://deploy-preview-48--floe-handbook.netlify.app |
Feat/design update gh 46
Test branch
2022 refreshed content
Tools can be used to assess existing content not only "my produced content"
Update content: Home Page and Root Pages
This restores the use of a single Markdown file for the Home page
the footer content files are separated to enable easy localization, and they are excluded from the linter as they would otherwise fail MD041 (no title in first line)
@@ -0,0 +1,16 @@ | |||
name: Publish release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is .github/workflows/release-please.yml
still needed? The build process defined in the netlify.com for this site should trigger the auto-deploy of the website when there's a push to the main branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that the Netlify settings for this site specify the image and command to use for building the site, it seems you're correct that we don't need to keep this action
It has been archived and can be found here: | ||
<https://github.com/fluid-project/2015-handbook.floeproject.org> | ||
|
||
## Working with Netlify CMS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section can be removed when you remove the admin related doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've opted to keep the section and add a note explaining how to restore this functionality. Do you think it would be better to remove it entirely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go with your idea. Keeping this section to explain how to restore this functionality will be helpful.
package.json
Outdated
"build:eleventy": "cross-env NODE_ENV=production eleventy", | ||
"clean": "rimraf dist", | ||
"lint": "grunt lint", | ||
"cms": "netlify-cms-proxy-server", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dependencies on netlify-cms-proxy-server
can be removed too along with the removal of the Netlify CMS admin code.
{% uioScripts %} | ||
{% include "partials/global/scripts.njk" %} | ||
</head> | ||
{% block pageBody %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment to explain the home page uses this pageBody
block to define its own body layout?
@michelled: I've found a fix for this, though things start overlapping once UIO text size is increased. I'll address that next! |
The layout of the "Narrations and Text-to-Speech" page is broken. Moreover, there are two "Further reading" sections on this page even though they use different heading levels. |
The layout of the "WAI-ARIA" page is not right too. It's probably because From my experiment, controlling the proportion of the content and the side content doesn't solve the problem unless the code in long width breaks into multiple lines. This might worth a discussion with designers. |
Good catch! I believe the broken layout is due to the The repetition of the "further reading" heading is a content issue that predates my work. Should we change this? |
@@ -0,0 +1,13 @@ | |||
<nav class="pagination" aria-label="pagination"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pagination.njk
doesn't seem to be used anywhere. Can you double check? If it doesn't, please remove. Thanks.
Resources listed on the "Resources" section of "Meet Learner Needs and Preferences" page are categorized into "Text Simplification" and "Other". These category text are not showing on the side content. Is this expected behavior? |
src/assets/README.md
Outdated
|
||
## Scripts | ||
|
||
By default, the Mix [configuration file](../../webpack.mix.js) includes configuration for processing the three |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There aren't three javascript files in /src/assets/scripts
. It would be better to use more general wording. Thanks.
src/assets/README.md contains useful information. Could you add a description that points to this file from the README in the root directory so it doesn't get ignored? Thanks. |
In addition, this commit will remove all references to Stylus and update docs files
Gradually increase UIO font size, you will notice a few issues: On the desktop view:
On the mobile view:
Instead of using UIO, if you use "Command" and "+" to increase font size, the browser will handle the font change quite nicely: the browser translates the font change to the viewport size change so that when the font size is large enough, the viewport will be switched from the desktop view to the mobile view. UIO doesn't have this ability yet. WeCount site ran into the same issue. The decision was to remove the text size change from UIO. |
I just noticed the issue with the |
npm run lint
without errorsnpm run start
and reviewing affected routesnpm run build
without errorsDescription
This update implements the ILDH site redesign described in this Figma file
This replaces the previous Eleventy conversion with a structure based on Trivet, and it replaces Stylus with Sass as the CSS preprocessor. Additionally, the Sass 7-1 directory structure and BEM have been used to organize styling rules.
This update represents a work in progress, so further issues may need to be filed to complete the work of implementing the design to its exact specifications.
Steps to test
Access the site via one of the following two options
npm ci
to install dependenciesnpm start
to start the local serverOR
Additional information
Some remaining issues can be found on the Fluid Project Weekly Planning wiki page.
Related issues
Resolves #46