GithubHelp home page GithubHelp logo

jrstarke / yyj-tech-signup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yyjtech/yyj-tech-signup

0.0 0.0 0.0 23.33 MB

YYJ Tech landing page

Home Page: https://yyj-tech.ca

JavaScript 91.84% CSS 8.16%

yyj-tech-signup's Introduction

                     __       __
                     '.'--.--'.-'
       .,_------.___,   \' r'
       ', '-._a      '-' .'
        '.    '-'Y \._  /
          '--;____'--.'-,
       snd /..'       '''

YYJ Tech Gatsby

Development dependencies

  • Node, v18.x.x
  • npm

Local development commands

# Install packages
> npm install

# Start the development server
> npm start

# Start the production server
> open http://localhost:8000

Key technologies/features

  • This is a Gatsby.js project
  • Styles are written with Tailwind CSS as the CSS framework
  • Site content is editable in YAML and /src/contents directory
    • src/contents/homepage.yml: contains the Homepage content
    • gatsby-config.js: contains site wide meta information, such as menu links, and Gatsby plugins

Project Structure

  • src: contains all the code
    • components: contains React components
    • contents: contains site content
    • hooks: contains React shared hooks
    • images: contains all the public images
    • pages: contains all the front-end pages
    • styles: contains the css stylesheets

Other Gatsby files to know:

  • gatsby-config.js: contains site wide meta information, such as menu links, and Gatsby plugins
  • tailwind.config.js: contains TailwindCSS configuration and extending properties

๐ŸŽ“ Learning Gatsby

  • To dive straight into code samples, head to our documentation. In particular, check out the Guides, API Reference, and Advanced Tutorials sections in the sidebar.

๐Ÿ’ซ Deploy

Build, Deploy, and Host On Netlify

The fastest way to combine your favorite tools and APIs to build the fastest sites, stores, and apps for the web. And also the best place to build, deploy, and host your Gatsby sites.

Creating a Page

To create a new page in Gatsby, this project has been set up to work from Markdown

Decide on the url, e.g. "community-resources"

  1. Duplicate the pages/example.js page and rename the file to the url you have decided on (e.g. community-resources.js)
  2. Replace the related content in this file
  • Replace the const Example on line 9 e.g. const CommunityResources a
  • Repalce the query on line 34 with your file name e.g. quuery CommunityResourcesQuery
  • Replace teh slug param on line 35 wit your slug e.g. eq: "/community-resources"
  • Replace export default Example line at the end of the file with your url name e.g. export default CommunityResources
  1. Duplicate the contents/example.md file
  2. Rename the file to match your url e.g. community-resources.md
  3. Replace the slug parameter with your desired url e.g. slug: "/community-resources"
  4. If you now use the npm start command, if you've done it right you will be able to see your new url in your browser

yyj-tech-signup's People

Contributors

aesthytik avatar andrewnester avatar dschau avatar dylantackoor avatar emilyaviva avatar jacobherrington avatar jenreiher avatar jlengstorf avatar kieran avatar kyleamathews avatar lexishanson avatar m-allanson avatar macklinu avatar marcobiedermann avatar mef avatar mikegazdag avatar mottox2 avatar nicklausroach avatar nodox avatar ocboogie avatar patrykkopycinski avatar pieh avatar pravdomil avatar rclai avatar saviomuc avatar slightlytyler avatar stefvhuynh avatar the-zebulan avatar timurc avatar yeion7 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.