Layout.tsx 5.57 KB
Newer Older
Pavel Ševčík's avatar
Pavel Ševčík committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import React, { FC, Fragment } from "react";
import Link from "next/link";

export const Layout: FC = ({ children }) => {
  return (
    <Fragment>
      <nav id="home" className="grey darken-4" role="navigation">
        <div className="nav-wrapper container">
          <Link href="/">
            <a>
              <img
                id="logo-container"
                className="brand-logo"
                src="/assets/images/RoninDojo-logo.png"
                alt="RoninDojo Logo"
              />
            </a>
          </Link>
          <ul className="right hide-on-med-and-down">
            <li>
21 22 23
              <Link href="/">
                <a>Home</a>
              </Link>
Pavel Ševčík's avatar
Pavel Ševčík committed
24 25
            </li>
            <li>
likewhoa's avatar
likewhoa committed
26
              <a href="/project">Project</a>
Pavel Ševčík's avatar
Pavel Ševčík committed
27 28 29 30 31 32 33 34 35 36 37
            </li>
            <li>
              <a href="#features">Features</a>
            </li>
            <li>
              <a href="#products">Products</a>
            </li>
            <li>
              <a href="#resources">Resources</a>
            </li>
            <li>
Pavel Ševčík's avatar
Pavel Ševčík committed
38
              <a target="_blank" rel="noreferrer" href="https://wiki.ronindojo.io">
Pavel Ševčík's avatar
Pavel Ševčík committed
39 40 41 42 43 44
                Wiki
              </a>
            </li>
          </ul>
          <ul id="nav-mobile" className="sidenav grey darken-3">
            <li>
Pavel Ševčík's avatar
Pavel Ševčík committed
45 46 47
              <Link href="/">
                <a className="white-text">Home</a>
              </Link>
Pavel Ševčík's avatar
Pavel Ševčík committed
48 49
            </li>
            <li>
likewhoa's avatar
likewhoa committed
50 51
              <a className="white-text" href="/project">
                Project
Pavel Ševčík's avatar
Pavel Ševčík committed
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
              </a>
            </li>
            <li>
              <a className="white-text" href="#features">
                Features
              </a>
            </li>
            <li>
              <a className="white-text" href="#products">
                Products
              </a>
            </li>
            <li>
              <a className="white-text" href="#resources">
                Resources
              </a>
            </li>
            <li>
Pavel Ševčík's avatar
Pavel Ševčík committed
70
              <a className="white-text" target="_blank" rel="noreferrer" href="https://wiki.ronindojo.io">
Pavel Ševčík's avatar
Pavel Ševčík committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
                Wiki
              </a>
            </li>
          </ul>
          <a href="#" data-target="nav-mobile" className="sidenav-trigger">
            <i className="material-icons">menu</i>
          </a>
        </div>
      </nav>

      {children}

      <footer id="resources" className="page-footer grey darken-3">
        <div className="container">
          <div className="row">
            <div className="col l6 s12">
              <h5 className="white-text">About Us</h5>
              <p className="grey-text text-lighten-4">
                Our team of Ronin are Samourai Wallet users and enthusiasts. This project was born out of a passion of
                bringing sovereignty to as many people as possible by building and maintaining software around the
                Samourai stack.
              </p>
            </div>
            <div className="col l3 s12">
              <h5 className="white-text">Resources</h5>
              <ul>
                <li>
Pavel Ševčík's avatar
Pavel Ševčík committed
98
                  <a className="red-text text-darken-2" href="https://wiki.ronindojo.io/FAQ">
Pavel Ševčík's avatar
Pavel Ševčík committed
99 100 101 102 103 104 105 106 107
                    FAQ
                  </a>
                </li>
                <li>
                  <Link href="/pgp">
                    <a className="red-text text-darken-2">PGP Keys</a>
                  </Link>
                </li>
                <li>
likewhoa's avatar
likewhoa committed
108 109
                  <a className="red-text text-darken-2" href="/project">
                    Project
Pavel Ševčík's avatar
Pavel Ševčík committed
110 111 112
                  </a>
                </li>
                <li>
Pavel Ševčík's avatar
Pavel Ševčík committed
113
                  <a className="red-text text-darken-2" href="https://wiki.ronindojo.io/en/Troubleshooting">
Pavel Ševčík's avatar
Pavel Ševčík committed
114 115 116 117 118 119 120 121 122
                    Troubleshoot
                  </a>
                </li>
              </ul>
            </div>
            <div className="col l3 s12">
              <h5 className="white-text">Social</h5>
              <ul>
                <li>
123 124 125 126 127 128
                  <a
                    className="red-text text-darken-2"
                    href="mailto:ronindojo@ronindojo.io"
                    rel="noreferrer"
                    target="_blank"
                  >
Pavel Ševčík's avatar
Pavel Ševčík committed
129 130 131 132
                    Contact
                  </a>
                </li>
                <li>
133 134 135 136 137 138
                  <a
                    className="red-text text-darken-2"
                    href="mailto:support@ronindojo.io"
                    rel="noreferrer"
                    target="_blank"
                  >
Pavel Ševčík's avatar
Pavel Ševčík committed
139 140 141 142
                    Support
                  </a>
                </li>
                <li>
143 144 145 146 147 148
                  <a
                    className="red-text text-darken-2"
                    href="https://t.me/RoninDojoUI"
                    rel="noreferrer"
                    target="_blank"
                  >
Pavel Ševčík's avatar
Pavel Ševčík committed
149 150 151 152
                    Telegram
                  </a>
                </li>
                <li>
153 154 155 156 157 158
                  <a
                    className="red-text text-darken-2"
                    href="https://twitter.com/RoninDojoUI"
                    rel="noreferrer"
                    target="_blank"
                  >
Pavel Ševčík's avatar
Pavel Ševčík committed
159 160 161 162 163 164 165 166 167 168
                    Twitter
                  </a>
                </li>
              </ul>
            </div>
          </div>
        </div>

        <div className="footer-copyright grey darken-4">
          <div className="container">
169
            Founded 2019 @ The Local Talent Bar, America - © {new Date().getFullYear()} Ronin Dev Group -{" "}
Pavel Ševčík's avatar
Pavel Ševčík committed
170 171 172 173 174 175 176 177 178
            <Link href="/canary">
              <a className="red-text text-darken-2">Warrant Canary</a>
            </Link>
          </div>
        </div>
      </footer>
    </Fragment>
  );
};