Coder Social home page Coder Social logo

port-aaronvanston's Introduction

aaronvanston.tech

Netlify Status

Source for my personal website aaronvanston.tech. This site is built around speed maximising lighthouse scores to 100%.

Tech stach

Set-up

Development

$ yarn develop

The server is available at [http://localhost:8000] with a graphql interfave availible at [http://localhost:8000/___graphql].

Production build

$ yarn build

This will generate a ./public directory with the static site contents. This can now be used within a S3 bucket or using a simpel webserver to serve the assets.

Content

All content is stored within markdown files located in the content/posts/ or /content/projects/ folders. These Are used at build time to generate the various pages within the blog and projects index.

In order to create a new posts/project you create a new markdwn file (and/or directory if there are associated assets) within one of the directories. This file requires the following frontmatter:

  ---
  path: "/projects/project-name" 
  date: "2019-04-25"
  title: "Project title"
  hero: "./hero.png"
  ---

Note: the hero image is optional for a file within the content/posts/ directory.

Embedding

Within the posts and projects markdown files you can embeded various 3rd party content, these include:

Oembed

Which allows for things like twitter and codepen

<!-- shortcode structure -->
`oembed: <URL>`

<!-- live example -->
`oembed: https://codepen.io/aaronvanston/pen/pEjkNq`

License

Licensed under the MIT License. Feel free to use parts of the code in your own projects with attribution!

port-aaronvanston's People

Contributors

aaronvanston avatar dependabot[bot] 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.