From 9143b730d960625b13dfa4ab6d00b1d691abc5ae Mon Sep 17 00:00:00 2001 From: gustavomauricio Date: Fri, 2 Sep 2022 12:51:00 +0100 Subject: [PATCH] pages initial setup and respective navigation --- components/Navigation.tsx | 19 +++++++++++++++++++ pages/_app.tsx | 2 ++ pages/borrow.tsx | 7 +++++++ pages/council.tsx | 7 +++++++ pages/portfolio.tsx | 7 +++++++ pages/trade.tsx | 7 +++++++ pages/yield.tsx | 7 +++++++ public/logo.svg | 39 +++++++++++++++++++++++++++++++++++++++ tsconfig.json | 3 ++- 9 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 components/Navigation.tsx create mode 100644 pages/borrow.tsx create mode 100644 pages/council.tsx create mode 100644 pages/portfolio.tsx create mode 100644 pages/trade.tsx create mode 100644 pages/yield.tsx create mode 100644 public/logo.svg diff --git a/components/Navigation.tsx b/components/Navigation.tsx new file mode 100644 index 00000000..533cad83 --- /dev/null +++ b/components/Navigation.tsx @@ -0,0 +1,19 @@ +import React from "react"; +import Link from "next/link"; + +const Navigation = () => { + return ( +
+ + mars + + Trade + Yield + Borrow + Portfolio + Council +
+ ); +}; + +export default Navigation; diff --git a/pages/_app.tsx b/pages/_app.tsx index aa926c41..c14eb8c2 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -2,6 +2,7 @@ import type { AppProps } from "next/app"; import Head from "next/head"; import "../styles/globals.css"; +import Navigation from "components/Navigation"; function MyApp({ Component, pageProps }: AppProps) { return ( @@ -11,6 +12,7 @@ function MyApp({ Component, pageProps }: AppProps) { {/* */} + ); diff --git a/pages/borrow.tsx b/pages/borrow.tsx new file mode 100644 index 00000000..6eb6b51b --- /dev/null +++ b/pages/borrow.tsx @@ -0,0 +1,7 @@ +import React from "react"; + +const Borrow = () => { + return
Borrow Placeholder
; +}; + +export default Borrow; diff --git a/pages/council.tsx b/pages/council.tsx new file mode 100644 index 00000000..18189c43 --- /dev/null +++ b/pages/council.tsx @@ -0,0 +1,7 @@ +import React from "react"; + +const Council = () => { + return
Council Placeholder
; +}; + +export default Council; diff --git a/pages/portfolio.tsx b/pages/portfolio.tsx new file mode 100644 index 00000000..ac7fd82e --- /dev/null +++ b/pages/portfolio.tsx @@ -0,0 +1,7 @@ +import React from "react"; + +const Portfolio = () => { + return
Portfolio Placeholder
; +}; + +export default Portfolio; diff --git a/pages/trade.tsx b/pages/trade.tsx new file mode 100644 index 00000000..4cced194 --- /dev/null +++ b/pages/trade.tsx @@ -0,0 +1,7 @@ +import React from "react"; + +const Trade = () => { + return
Trade Placeholder
; +}; + +export default Trade; diff --git a/pages/yield.tsx b/pages/yield.tsx new file mode 100644 index 00000000..ae689a48 --- /dev/null +++ b/pages/yield.tsx @@ -0,0 +1,7 @@ +import React from "react"; + +const Yield = () => { + return
Yield Placeholder
; +}; + +export default Yield; diff --git a/public/logo.svg b/public/logo.svg new file mode 100644 index 00000000..5dac0008 --- /dev/null +++ b/public/logo.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tsconfig.json b/tsconfig.json index 99710e85..cdde52e4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,8 @@ "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "incremental": true + "incremental": true, + "baseUrl": "." }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules"]