Code Monkey home page Code Monkey logo

amacss_frontend's Introduction

Netlify Status

AMACSS Frontend

Based on Gatsby and React, this website will serve as the frontend of AMACSS Live Demo

Installation

Upgrade dependencies:

yarn upgrade

Install the dependencies:

yarn install

Cleanup cache (often fixes misc errors when run before yarn dev):

yarn clean

Run the development server:

yarn dev

Production build to /public:

yarn build

Content

Each of the sections in the site are placed in src/sections. Data is usually separated out into objects/arrays to be rendered in the component.

SEO

The component src/components/common/SEO.js handles all meta data and SEO content, modify the SEO_DATA variable to add the data automatically. For application manifest data and favicon, modify the gatsby-plugin-manifest configuration in gatsby-config.js.

Styling

This project uses styled-components to handle styling: src/styles/theme.js defines the styling base and src/styles/GlobalStyles.js includes basic element styles along with the CSS Reset.

Common Problems

If you get digital envelop routines::unsupported error:

Windows

run set NODE_OPTIONS=--openssl-legacy-provider in your terminal.

Mac OS

run export NODE_OPTIONS=--openssl-legacy-provider in your terminal.

If these don't work, look at Stack Overflow.

If you get a ERR_REQUIRE_ESM error, change the require to import('remark-mdx);

If you get node: --openssl-legacy-provider is not allowed in NODE_OPTIONS error:

Windows

run set NODE_OPTIONS= or SETX NODE_OPTIONS "" in your terminal.

If these don't work, look at Stack Overflow.

If you get building static HTML failed for path "/<page>/", review Stack Overflow

Upgrade all package.json dependencies

run yarn upgrade @fullcalendar/core@latest @fullcalendar/google-calendar@latest @fullcalendar/react@latest @svgr/webpack@latest gatsby-plugin-image@latest gatsby-plugin-alias-imports@latest gatsby-plugin-alias-imports@latest gatsby-plugin-google-fonts@latest gatsby-plugin-manifest@latest gatsby-plugin-offline@latest gatsby-plugin-react-helmet@latest gatsby-plugin-sass@latest gatsby-plugin-sharp@latest gatsby-plugin-styled-components@latest gatsby-plugin-svgr@latest gatsby-source-filesystem@latest gatsby-transformer-sharp@latest google-maps-react@latest node@latest node-sass@latest prop-types@latest react@latest react-anchor-link-smooth-scroll@latest react-collapsible@latest react-dom@latest react-google-maps@latest react-helmet@latest react-loadable@latest react-scripts@latest react-scrollspy@latest remark-mdx@latest styled-components@latest @fullcalendar/daygrid@latest @fullcalendar/interaction@latest @fullcalendar/timegrid@latest prettier@latest

Upgrade from gatsby-image to gatsby-plugin-image docs

Gatsby Documentation

Documentation

Navigation

  • About (includes team)
  • Events
  • Resources
  • Team
  • Contact
  • FAQs
  • Constitution

amacss_frontend's People

Contributors

kat9897 avatar codedcomposer avatar samhaque avatar h-richard avatar dependabot[bot] avatar kohinathecat avatar json-tian avatar angelazb avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.