Giter VIP home page Giter VIP logo

24life's Introduction

24life.com

Environments

Installation

npm i

Linting

npm run lint

Local development

  1. Create a new repository based on the helix-project-boilerplate template and add a mountpoint in the fstab.yaml
  2. Add the helix-bot to the repository
  3. Install the Helix CLI: npm install -g @adobe/helix-cli
  4. Start Franklin Proxy: hlx up (opens your browser at http://localhost:3000)
  5. Open the 24life directory in your favorite IDE and start coding :)

24life's People

Contributors

synox avatar rrusher avatar iamitshri avatar meejain avatar rofe avatar aem-code-sync[bot] avatar

Watchers

Tobi Reiss avatar  avatar Sean Steimer avatar David Nuescheler avatar Meryll Blanchet avatar  avatar

24life's Issues

Footer Block and Style

Goals: let the author change the brand, slogan and main links in the footer. The social media icons could be hard-coded in JS, or as well added to the word document.

Add redirects for urls ending with a slash

Background

The original site has trailing slashes for each url. e.g. https://www.24life.com/isabel-beats-incredible-odds/

If mapped directly in Franklin, this would be isabel-beats-incredible-odds/index.docx. Having thousands of index.docx files is difficult to manage (e.g. Sharepoint search shows just the filename, index.docx for each result.

Therefore we are creating documents by it's name, e.g.

Task

This can be achieved either by a CDN rewrite/redirect rule, or adding a list of urls to the redirect spread sheet.

Note: so far we assume there is no CDN.

Magazine: Header Navigation: Issue summary

A huge card is shown with the current issue.

Create summary document for each issue? Or create a metadata table in each issue, that is then pulled into a JSON table.

Screenshot 2023-07-31 at 10 59 54

Tag/Category page mapping

e.g. https://www.24life.com/category/lifestyle/

The customer has currently 1811 tags. While I could create a document for each of them, future authors might not want to do this.

It could be handled with a single document and query params, like in ex. as query param https://www.keysight.com/blogs/tag-matches?tag=Network%20Security

We could also use folder mapping in fstab.yaml (i.e. mapping everything starting with /category/ to a “template” page like /category/default where you can auto-populate the content based on the category name in the path (same as you would in the query param case).
(to be investigated how this works.)

Maybe use the same approach for collection pages #23

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.