/akropolis-website-v4

Source code for Akropolis website [hidden]

Primary LanguageTypeScriptOtherNOASSERTION

Build Status

Akropolis website v4

How does this work?

Preparation

  • You need globally accessible node and yarn
  • Run yarn install to install dependencies

To start locally

To deploy changes to the web (only for contributors)

  • Run yarn deploy

Where can I change or add the data?

Partners

Edit the file data/partners/index.ts. It contains an array of partners data.

Item structure:

  • url - partner link
  • partnerName - partner name
  • icon1x - default logo (height 100px)
  • icon2x - logo for retina display (height 200px)

Logos should be placed in the folder data/partners/imgs.

News

Edit the file data/news/index.ts. It contains an array of news data.

Item structure:

  • summary - short news description
  • url - link to the full news
  • date - publication date of the news. Allowed date format: MM.DD.HHHH (month.day.year).

Professional memberships

Edit the file data/profMemberships/index.ts. It contains an array of memberships data.

Item structure:

  • membershipName - membership name
  • description - membership description
  • icon1x - default logo
  • icon2x - logo for retina display (twice as much as icon1x)

Logos should be placed in the folder data/profMemberships/imgs.

Team

Edit the file data/team/index.ts. It contains an array of team members data.

Item structure:

  • links - array of social links
  • fullName - first name and last name
  • position - position in team
  • photo1x - default photo (120x134)
  • photo2x - photo for retina display (240x168)
  • tags - an array of tags that appear under each team member

Photos should be placed in the folder data/team/imgs.

Events

Edit the file data/events/index.ts. It contains an array of events data.

Item structure:

  • eventName - event name
  • link - link to event
  • location - event location
  • description - event description
  • startDate - start date of event
  • finishDate - finish date of event (optional)
  • image1x - default image (590x275)
  • image2x - image for retina display (1180 x 550)

Images should be placed in the folder data/events/imgs.

Other

Some texts can be edited in the file src/services/i18n/locales/en.ts.

MIT, 2019