diff --git a/gatsby-node.esm.js b/gatsby-node.esm.js index 1c3e99d..3b43344 100644 --- a/gatsby-node.esm.js +++ b/gatsby-node.esm.js @@ -56,13 +56,6 @@ exports.createPages = async ({ actions, graphql, reporter }) => { })); const syllabusTemplate = require.resolve(`./src/templates/syllabusTemplate.js`); - createPage({ - path: "/", - component: syllabusTemplate, - context: { - division: 0 - }, - }); createPage({ path: "/intro", component: syllabusTemplate, diff --git a/src/pages/index.tsx b/src/pages/index.tsx new file mode 100644 index 0000000..b0f5c4d --- /dev/null +++ b/src/pages/index.tsx @@ -0,0 +1,202 @@ +import * as React from "react"; +import {Link, PageProps} from "gatsby"; +import Layout from "../components/layout"; + +export default function IndexPage(props: PageProps) { + return ( + + {/* Begin Hero */} +
+
+ + + + + + + + + +
+ +
+
+
+
+

+ USACO Guide +

+

+ A free collection of curated, high-quality resources to take you from Bronze to Platinum and beyond. +

+
+
+ + View Guide + +
+ +
+
+
+ + + + + + + + + + +
+
+
+
+
+ {/* End Hero */} + +
+
+
+

About This Guide

+

+ Not Just Another Resource. +

+

+ This is more than "just another resource." This is the first-ever comprehensive, organized roadmap carefully designed and crafted for USACO contestants – available to everyone, for free. +

+
+ +
+
    +
  • +
    +
    +
    + + + +
    +
    +
    +

    Experienced Authors

    +

    + This guide is written by top USACO contestants, including two-time IOI winner and USACO Problemsetter Benjamin Qi. +

    +
    +
    +
  • +
  • +
    +
    +
    + + + +
    +
    +
    +

    Calibrated Difficulty

    +

    + This guide is targeted towards all contestants, regardless of their division. You'll find problems suitable for you. +

    +
    +
    +
  • +
  • +
    +
    +
    + + + +
    +
    +
    +

    Improve Faster

    +

    + Stop wasting time learning topics you already know. Skip over easy topics or delve deeper into difficult ones; the choice is yours. +

    +
    +
    +
  • +
  • +
    +
    +
    + + + +
    +
    +
    +

    Join the Community +

    +

    + Stuck on a problem? Have a burning question to ask? Join the USACO Forum to get help from other USACO members. +

    +
    +
    +
  • +
+
+
+
+ +
+
+

+ Unsure how to get started?
+ Overwhelmed by too many resources?
+ Looking to take your CP skills to the next level?
+

+ +

This is the guide for you.

+ +
+
+ + View Guide + +
+
+
+
+
+ ) +} \ No newline at end of file diff --git a/src/templates/syllabusTemplate.js b/src/templates/syllabusTemplate.js index 4edf8fe..db87fa2 100644 --- a/src/templates/syllabusTemplate.js +++ b/src/templates/syllabusTemplate.js @@ -113,14 +113,6 @@ export default function Template(props) {

A collection of curated, high-quality resources to take you from Bronze to Platinum.

-
-
- - Get Started - -
-