Skip to content

Commit

Permalink
website routes
Browse files Browse the repository at this point in the history
  • Loading branch information
ThalesBMC committed Mar 22, 2021
1 parent f5399f7 commit 61ffa6e
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/_app.tsx → pages/app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

import "../styles/global.css"
function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}
Expand Down
20 changes: 19 additions & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Head from 'next/head'
import React from 'react';

import Link from 'next/link'

export default function Home() {
return (
Expand All @@ -8,7 +10,23 @@ export default function Home() {
<title>Course website</title>
<link rel="icon" href="/favicon.ico" />
</Head>
<div>Course</div>
<h1><strong>Course website HOME</strong></h1>
<ul>
<li>
<Link href="/playlistMaker">
<a>PlaylistMaker</a>
</Link>
</li>
<li>
<Link href="/playlistVideos">
<a>PlaylistVideos</a>
</Link>
</li>
</ul>




</div>
)
}
18 changes: 18 additions & 0 deletions pages/playlistMaker.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import Link from 'next/link'


export default function PlaylistMaker(){
return (
<div>
<div>
playlistMaker page
</div>
<Link href="/">
<a>Home</a>
</Link>
</div>

)
}


17 changes: 17 additions & 0 deletions pages/playlistVideos.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from 'react';
import Link from 'next/link'
const PlaylistVideos = () => {

return (
<div>
<div>playlistVideo page</div>
<Link href="/">
<a>Home</a>
</Link>
</div>
)
};



export default PlaylistVideos;
50 changes: 50 additions & 0 deletions styles/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background: #f2f3f5;
color:666;
}

body,input,textarea, button{
font: 400 1rem "Inter", sans-serif;
}
:root{
--white:#fff;
--background:#f2f3f5;
--gray-line:#DCDDE0;
--text: #666666;
--text-highlight: #B3B9FF;
--title: #2E384D;
--red:#E83F5B;
--green:#4CD62B;
--blue:#5965E0;
--blue-dark:#4953B8;
--blue-twitter: #2AA9E0;
}


@media(max-width:1080px){
html{
font-size:93,75%;

}
}
@media(max-width:720px){
html{
font-size:87,5%;
}

}


button{
cursor: pointer;
}
a{
text-decoration: none;
color:inherit;
}

2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
],
, "components/playlistVideos.jsx" ],
"exclude": [
"node_modules"
]
Expand Down

0 comments on commit 61ffa6e

Please sign in to comment.