Skip to content

Commit 50bc8e5

Browse files
Establish template
1 parent ed90862 commit 50bc8e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+39
-2341
lines changed

components/Buttons.js

-11
This file was deleted.

components/Cards/Card.js

-9
This file was deleted.

components/Cards/CoverCard.js

-13
This file was deleted.

components/Cards/CskCard.js

-9
This file was deleted.

components/Cards/TeamCard.js

-11
This file was deleted.

components/Footer.js

+18-21
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,27 @@
11
import Link from 'next/link'
22

3-
function Footer() {
3+
export default function Footer() {
44
return (
5-
<footer className="flex flex-col md:flex-row bg-purple-700 lg:p-6 text-white w-full lg:z-40">
6-
<h2 className="lg:inline-flex lg:w-auto px-5 md:text-lg hidden md:contents">Quick Links &rarr;</h2>
5+
<footer className="flex flex-col md:flex-row w-full lg:p-6 bg-blue-700 text-white lg:z-40">
76

8-
<Link href='/cardanostarterkits'>
9-
<a className="lg:inline-flex lg:w-auto md:px-5 text-center">
10-
Cardano Starter Kits
11-
</a>
12-
</Link>
13-
14-
<Link href='/dandelionapis'>
15-
<a className="lg:inline-flex lg:w-auto md:px-5 text-center">
16-
Dandelion APIs
17-
</a>
18-
</Link>
7+
<Link href='/'>
8+
<a className="lg:inline-flex lg:w-auto md:px-5 text-center">
9+
Footer Link 1
10+
</a>
11+
</Link>
12+
13+
<Link href='/'>
14+
<a className="lg:inline-flex lg:w-auto md:px-5 text-center">
15+
Footer Link 1
16+
</a>
17+
</Link>
1918

20-
<Link href='/playground'>
21-
<a className="lg:inline-flex lg:w-auto md:px-5 text-center">
22-
Playground
23-
</a>
24-
</Link>
19+
<Link href='/'>
20+
<a className="lg:inline-flex lg:w-auto md:px-5 text-center">
21+
Footer Link 3
22+
</a>
23+
</Link>
2524

2625
</footer>
2726
)
2827
}
29-
30-
export default Footer

components/Layouts/Layout.js

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
import Nav from '../Nav'
22
import Footer from '../Footer'
33

4-
function Layout({ children }) {
4+
export default function Layout({ children }) {
55
return (
6-
<div className="flex flex-col min-h-screen bg-polygon bg-cover w-full">
6+
<div className="flex flex-col w-full min-h-screen">
77
<Nav />
8-
<main className='flex-grow pt-16 mx-auto w-full'>
8+
<main className='flex-grow w-full mx-auto pt-16'>
99
{children}
1010
</main>
1111
<Footer />
1212
</div>
1313
)
1414
}
15-
16-
export default Layout
17-
18-
// <img src='/polygon.png' className='fixed min-h-screen w-screen z-0' />

components/Layouts/TinkerLayout.js

-40
This file was deleted.

components/Nav.js

+10-12
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useState } from 'react'
44
// Learn how to create this Nav:
55
// https://dev.to/andrewespejo/how-to-design-a-simple-and-beautiful-navbar-using-nextjs-and-tailwindcss-26p1
66

7-
function Nav() {
7+
export default function Nav() {
88

99
const [active, setActive] = useState(false);
1010

@@ -13,16 +13,16 @@ function Nav() {
1313
};
1414

1515
return (
16-
<nav className='flex items-center flex-wrap bg-purple-700 p-3 fixed w-full z-40'>
16+
<nav className='flex items-center flex-wrap bg-blue-700 p-3 fixed w-full z-40'>
1717
<Link href='/'>
1818
<a className='inline-flex items-center p-2 mr-4'>
1919
<span className='text-xl text-white font-bold uppercase tracking-wide'>
20-
Gimbalabs
20+
Next JS + Tailwind CSS Template
2121
</span>
2222
</a>
2323
</Link>
2424
<button
25-
className='inline-flex p-3 hover:bg-green-600 rounded lg:hidden text-white ml-auto hover:text-white outline-none'
25+
className='inline-flex p-3 hover:bg-blue-300 rounded lg:hidden text-white ml-auto hover:text-white outline-none'
2626
onClick={handleClick}
2727
>
2828
{/* mobile hamburger icon */}
@@ -61,25 +61,23 @@ function Nav() {
6161
About
6262
</a>
6363
</Link>
64-
<Link href='/learn'>
64+
<Link href='/'>
6565
<a className='lg:inline-flex lg:w-auto w-full px-3 py-2 rounded text-white font-bold items-center justify-center hover:bg-purple-300 hover:text-black'>
66-
Learn
66+
Nav Link
6767
</a>
6868
</Link>
69-
<Link href='/tinker'>
69+
<Link href='/'>
7070
<a className='lg:inline-flex lg:w-auto w-full px-3 py-2 rounded text-white font-bold items-center justify-center hover:bg-purple-300 hover:text-black'>
71-
Tinker
71+
Nav Link
7272
</a>
7373
</Link>
74-
<Link href='/participate'>
74+
<Link href='/'>
7575
<a className='lg:inline-flex lg:w-auto w-full px-3 py-2 rounded text-white font-bold items-center justify-center hover:bg-purple-300 hover:text-black'>
76-
Participate
76+
Nav Link
7777
</a>
7878
</Link>
7979
</div>
8080
</div>
8181
</nav>
8282
)
8383
}
84-
85-
export default Nav

components/Type.js

-92
This file was deleted.

components/csk.css

-35
This file was deleted.

components/dandelion.css

-31
This file was deleted.

0 commit comments

Comments
 (0)