Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.92 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.92 KB

Table of Contents generated with DocToc

Home Page

The portal's home page consists of the following sections and features:

Hero

Introduction section to the portal that includes the following features: Hero section

See how to configure how to include image/video here: https://github.com/transport-data/tdc-data-portal/tree/main/docs/home-page#featured-asset

Dataset Search

Click here for more detailed documentation on the search bar.

Featured Asset

Allows the configuration of the element that appears to the right of the Hero, which can be an image, an mp4 video, or a YouTube embedded video. How to configure: In the public folder of the frontend project, the following properties should be set in the tdc-config.json file to define the type and file path to be displayed:

{
  "hero": {
    "path": "/path/to/file",
    "type": "image" | "mp4" | "youtube"
  }
}
  • Default image dimension: 540x405px
  • Image format: jpg | png

Recently Added Datasets

This section shows the last 6 datasets added, sorted by metadata_modified desc .

Testimonials Section

Click here for more detailed documentation on the testimonials section.

FAQ's

This section presents the last 5 frequently asked questions. Click here for more detailed documentation on the FAQ section.