<script>
const { jwt } = require('./security')
export default {
  created() {
    if (jwt.token) {
      this.$router.push('/dashboard')
    }
  }
}
</script>

<template>
  <div>
    <div class="hero">
      <h1>RSS Archive</h1>
      <p>RSS Archive provides an unlimited length RSS feed based on your own existing RSS feed. This blows away 100 / 300 record limit imposed by Squarespace.</p>
      <p>Inspired by <a href="https://www.hellointernet.fm">Hello Internet</a>.</p>
    </div>

    <article>
      <h2>How does it work?</h2>
      <p>RSS archive subscribes to your RSS feed, and serves a copy of it at a different URL. When one of your older records disappears, it will still be served by RSS Archive. It's that simple.</p>
    </article>

    <article>
      <h2>Getting started</h2>
      <p><router-link to="/signup">Sign up!</router-link></p>
    </article>
  </div>
</template>
