Git Product home page Git Product logo

storefront's Introduction

Storefront

This repo contains JSON and image data for OSC-ToolKit's Storefront.

status.json

status.json is used by the ToolKit to check if the Storefront is undergoing some planned modifications or not.

{
  
  "online"            : false,
  "reason"            : "The Storefront is undergoing maintenance.",
  
  "statLinkExists"    : true,
  "statLinkCaption"   : "More Information",
  "statLinkURL"       : "https://github.com/OpenShopChannel/Storefront"
  
}

online : Is the Storefront online?
reason : If offline, will display the string assigned.
statLinkExists : Shows a button below reason. statLinkCaption : Caption for the button. statLinkURL : URL to load in an external browser on click of the button.

links.json

links.json gives a list links for the ToolKit to use when building URLs.

{

  "catalogue"   : "catalogue/",
  "news"        : "news/"

}

catalogue/index.json

index.json gives categories in an array that ToolKit can access.

{
  "sfCategories" :
  [
    {

      "catName": "Games",
      "catDesc": "Pass the time with these fun apps!",

      "catURL": "games/",
      "catVisible": true

    }
  ]
}

catName : Name of category.
catDesc : A short description of category.
catURL : The URL for the category.
catVisible : Determines if the category is visible or not.

news/index.json

index.json gives news items in an array.

{
  "newsIndex" :
  [
    {

      "artTitle"   : "1.2.0 is Here!",
      "artSummary" : "1.2.0 brings new fixes and new things to do online.",

      "artURL"     : "articles/120ishere-001.json",
      "artImgURL"  : "img/120ishere-001-thumb.png"

    }
  ]
}

artTitle : Title of article.
artSummary : Summary of article.
artURL : URL to the article.
artImgURL : URL to the article's image.

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.