michaelkohler / activate-rewrite Goto Github PK
View Code? Open in Web Editor NEWRewrite of activate.mozilla.community
Home Page: https://rewrite.michaelkohler.info/
License: Mozilla Public License 2.0
Rewrite of activate.mozilla.community
Home Page: https://rewrite.michaelkohler.info/
License: Mozilla Public License 2.0
Alignment with CDT is crucial, I'll have a meeting with Lucy, K and Nuke on Friday.
The URL should update to include the new language if the user switches the language in the footer.
We should allow language links such as /en-US/subsite or /es/subsite which then directly switch the language to the requested language. If the language is not available, it should fall back to EN.
According to https://developer.mozilla.org/en-US/docs/Mozilla/Implementing_Pontoon_in_a_Mozilla_website the correct way is:
/locales/{locale_code}/path/to/file.extension
This task can't be done now, we will need to move to the official repo first.
Currently we have the following issue: we have to have placeholders in the JSX files to make sure we show the EN text if loading the localization file (or something along the way) fails. This means that any EN update needs to be in two places: 1) placeholder in JSX, 2) en-US.ftl file.
It would be great if we could delete all placeholder texts in the source and have a build step that automatically injects the translations as fallback. This could be rather tough though as this build step would need to understand FTL.
Happy to review PRs and/or answer questions around this if somebody wants to give this a shot :)
I've asked @elioqoshi for an updated logo which fits the new style (same as new Reps logo) and matching the blue we use.
After #40 is merged, a call to https://rewrite.michaelkohler.info/es/eventguide/ will lead to a 404 as GitHub won't find the file as we're using client side routing GitHub doesn't know anything about. There are workarounds for this, will have a look :)
Otherwise we always refresh the page. The problem I currently see is that we need to reorder some stuff as outside of is not allowed.
@Lucyeoh to provide the copy for it.
Currently the footer has some inconsistencies:
When reloading the page we first display the fallback font and then once loaded, Zilla Slab Highlight is shown. This is quite a remarkable flash on the screen and we should try to avoid this.
This depends on #4 as this is solely the container to list all activities on it's dedicated page like on https://activate.mozilla.community/activities/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.