Example Post

March 20, 2021

Heading H2

This is an example blog post with React components. This page is using the Image component from Next.js.

example-post.mdx
<Image
  alt={`Bridge`}
  src={`/images/bridge.jpg`}
  width={1440}
  height={960}
  priority
/>

Code Blocks

This starter also comes with fancy code blocks with code titles.

example.jsx
import React, { useState } from 'react';

function Example() {
  // Declare a new state variable, which we'll call "count"
  const [count, setCount] = useState(0);

  return (
    <div>
      <p>You clicked {count} times</p>
      <button onClick={() => setCount(count + 1)}>
        Click me
      </button>
    </div>
  );
}

Go back Home.