Skip to content

CloudCannon/campus-spark-bookshop-template

Repository files navigation

Campus Spark

Campus Spark is a single page website template built in Eleventy for education institutions. Browse through a live demo.

Small business template screenshot

Deploy to CloudCannon

Features

  • Pre-built pages
  • Pre-styled components
  • Configurable navigation and footer
  • Optimized for editing in CloudCannon
  • Responsive layouts

Editing

Campus Spark is set up for adding, updating and removing pages, components, posts, navigation and footer elements in CloudCannon.

Changes in the data files require the site to be rebuilt to see your changes.

Setup

Get a workflow going to see your site's output (with CloudCannon or locally).

Local quickstart

  1. Run npm i to install the modules.
  2. Run npm run start to run the project. This will create a _site folder, where all the developed files will remain.

By default the site will be at http://localhost:8080

Components

Campus Spark is built using Bookshop components. Bookshop is a framework that allows you to use component architecture in your static site, and enables live editing in CloudCannon. You can read more about Bookshop and how it integrates with Eleventy here.

Image optimization

The site uses the eleventy image plugin to optimize your images.

To keep build times short you can set preserved paths for your image optimizations by setting preserved paths following the instructions below:

  1. Within your site on CloudCannon navigate to Site Settings (found at the bottom of the site sidebar)

  2. Navigate to the configuration tab

  3. Open "caching options"

  4. Add node_modules/,_site/optimized/ to the preserved paths section

This will mean that only new/updated images get optimized on build.

See this blog for more on optimizing images with Eleventy and CloudCannon.

Accessibility

We have made efforts to prioritize accessibility in our design, but we acknowledge that it may not be perfect. Your feedback is valuable to us, so please feel free to share any suggestions or concerns to help us improve accessibility further.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •