Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

User Page JSON

Angus Farquhar edited this page Oct 17, 2020 · 6 revisions

We had an initial discussion on how the pay-load should look for the user page as seen below:

1st Iteration

##Flat design

[
  {
    "name": "Angus Farquhar",
    "importantContactDetails": [
      {
        "email": "[email protected]",
        "location": "Melborune",
        "phone": "0412345678"
      }
    ],
    "socialMediaLinks": [
      {
        "Facebook": "facebook.com/angus",
        "Twitter": "twitter.com/angus",
        "LinkedIn": "linkedin.com/angus",
        "GitHub": "github.com/angus"
      }
    ],
    "bioTitle": "I am a man.",
    "bioBody": "Hello World!",
    "jobs": [
      {
        "year": "2020",
        "role": "Garbage Truck Driver",
        "employer": "City of Melbourne Council",
        "description": "Just taking out the trash on the daily"
      }
    ]
  }
]

Alternate 'Module-centric' Design

Allows for the positioning of the modules on the user page to be defined by their position in the JSON object

"modules": [
    {
      "type": "gallery",
      "stuff": "content",
      
    },
    {
        "type": "info",
        "stuff": "content",
        
      }
  ]