Skip to content

WebOrigami/about-us

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

163 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project demonstrates using Web Origami to create a simple "About Us" area for a hypothetical team.

Running this tutorial locally

  • Clone this repository to your local machine.
  • npm install
  • npm run start to start a local Origami server. This will display a URL you can open in your browser to view the site.

If you'd like to understand how the project's start and build commands, see the documentation for these standard Origami incantations.

Site construction

The site is defined in src/site.ori, which defines the resources available in the site. Some of these resources are copies of files (e.g., in the src/assets and src/images folders).

Other resources are generated on demand from the data in the src/teamData.yaml data file. The generate resources include an index.html home page listing all the team members, and a team/ area with a page for each team member.

To demonstrate how to call JavaScript from Origami, the site generates thumbnail images using a local JavaScript file. Origami itself includes built-in functions for working with images which could be used instead.

About

Simple "About Us" area for a hypothetical organization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors