Skip to content

Online style guide for the Travel Almanac. Built using Nextjs, NextAuth, Apollo Client and Sanity CMS

Notifications You must be signed in to change notification settings

alistairjoelquinn/travel-almanac-style-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Travel Almanac Style Guide

This is an online style guide for the writers of the Travel Almanac.

Client side, the application has been built with Nextjs and TypeScript. A user must be logged in to view the application. Auth has been handled using NextAuth.

Login handled using NextAuth

Once logged in the user will be presented with the Common Words page of the application. All styling has been done using Styled Components and has been designed to reflect the format of the Travel Almanac's online publication.

Commons Words Page 2

The user can navigate between letters of the alphabet to view the different associated words. The masonry layout of the cards has been done using Masonic.

Commons Words Page

Users can search the site for a specific term and results across all pages will be displayed with the matching search term highlighted.

User Search

Global state management is being managed with the React Context API and useReducer hook. When the user navigates to a new page, additional data for this page is fetched from the CMS and added to global state.

Quick Formatting Page

The CMS has been built with Sanity.io and has a GraphQL API. Client side data fetching is being done with Apollo Client.

About

Online style guide for the Travel Almanac. Built using Nextjs, NextAuth, Apollo Client and Sanity CMS

Topics

Resources

Stars

Watchers

Forks