Coder Social home page Coder Social logo

recent-activities's Introduction

recent-activities

Recent activities data of Onsen UI Team, used in the website of Onsen UI.

For maintainers

How it works

The contents of this repository are loaded by the website via raw.github.com. The website requests a specific file based on the following rule.

location.hostname File
onsen.io recent-activities-en.hjson (in master branch)
s.onsen.io recent-activities-en.hjson (in master branch)
ja.onsen.io recent-activities-ja.hjson (in master branch)
s.ja.onsen.io recent-activities-ja.hjson (in master branch)
localhost recent-activities-en.hjson (in dev branch)
127.0.0.1 recent-activities-en.hjson (in dev branch)

Changes on the files will immediately reflect to the website.

Structure of the files

Each of recent-activities-en.hjson and recent-activities-ja.hjson must be a valid Hjson file.

You can use date, title and description properties for each item.

  • date property will be parsed with moment(String). Please do not forget adding an offset string. Otherwise, date will be parsed based on user's timezone and cause an error of ± 24 hours.
  • title and description properties will be rendrered with v-html of Vue, so you can use any HTML syntax for these two properties.

Example

[
  {
    date: 2017-09-10T00:00:00+09:00
    title: Onsen UI 9.9.9 Released
    description:
      '''
      Lorem ipsum
      '''
  },
  {
    date: 2017-09-01T00:00:00+09:00
    title:
      '''
      <a href="#" style="color: #444;">hoge-onsenui</a> 1.7.0 Released
      '''
    description:
      '''
      <p>
        Supported Hoge 2.0.
        <a href="#">Release Note</a>
        <br>
        <code>npm install hoge-onsenui --save</code>
      </p>
      '''
  },
]

recent-activities's People

Contributors

asial-matagawa avatar asialgearoid avatar emccorson avatar frandiox avatar yong-asial avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.