Skip to content

duploduplo/landing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Safely Pet landing page

This branch contains the new landing page for our project, simplified but updated with all the information we need and developed for our MVP. The landing page will be localized in a few languages and the content is structured already to allow it easily.

Theming and layouts

The website is based upon Alpha by HTML5UP; On the link you can find the demo as well as layout pages. The theme is free to download so if we ever need to create new pages we can just download, copy and edit.

Localization

Localization is done in a pretty rough way, but since we have static content served from gh pages it should be ok and I didn't find another way.

There are 3 steps needed:

  • Copy the current en version to a dedicated language folder and translate your content (duh!)
  • Translate/change the meta tags for description, keywords and Language
  • Inside assets/js/localization.js add the correct cases to the switch statement in getNewPath()
  • Boring part: edit the menu on each version, adding your new language

For naming convention and flag names use ISO Alpha-2 names. Flags for the link are added using this library.

At the moment the detection uses the first part of the language name, so en-US and en are read as en.

The default language is set to English.

TODO

  • Integrate mailchimp
  • Add Google Analytics from previous version
  • Check and validate content
  • Cleanup page code
  • Remove unused pages from en
  • Translate in Italian
  • Translate in Suomi
  • Check for cookie usage and if so add disclaimer
  • Add signup button in top menu (Maybe?)
  • Localize mailchimp subscription response if possible
  • Find a way to localize the survey automatically (pass to mailchimp the language of the viewed page? ask the user for the language?)

About

Landing page for safely.pet project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published