Skip to content

Commit 046e866

Browse files
committed
boilerplate nextjs
1 parent 9773708 commit 046e866

32 files changed

+3851
-133
lines changed
File renamed without changes.

.eslintrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

.github/ISSUE_TEMPLATE/bug_report.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
28+
- OS: [e.g. iOS]
29+
- Browser [e.g. chrome, safari]
30+
- Version [e.g. 22]
31+
32+
**Smartphone (please complete the following information):**
33+
34+
- Device: [e.g. iPhone6]
35+
- OS: [e.g. iOS8.1]
36+
- Browser [e.g. stock browser, safari]
37+
- Version [e.g. 22]
38+
39+
**Additional context**
40+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/custom.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Custom issue template
3+
about: Describe this issue template's purpose here.
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context or screenshots about the feature request here.

.github/workflows/greetings.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Greetings
2+
3+
on: [pull_request, issues]
4+
5+
jobs:
6+
greeting:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/first-interaction@v1
10+
with:
11+
repo-token: ${{ secrets.GITHUB_TOKEN }}
12+
issue-message: "Thx we will fix the issue very soon"
13+
pr-message: "Thx to contribute we will verify and add the changes soon"

.gitignore

+41-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,44 @@
1-
# vscode setting
2-
__pycache__
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# local env files
28+
.env.local
29+
.env.development.local
30+
.env.test.local
31+
.env.production.local
32+
33+
# vercel
34+
.vercel
35+
36+
# vs code
337
.vscode
438

5-
# foo files
6-
foo.*
7-
bar.*
8-
foobar.*
39+
# foo bar testing files
40+
foo*
41+
testing*
942

10-
# foo folders
11-
foo
12-
bar
13-
foobar
43+
foo*.*
44+
testing*.*

Developer_Guide.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Run
2+
3+
<!-- `npm run dev` -->
4+
5+
```
6+
If first time
7+
$ yarn
8+
9+
To start the development on local server
10+
$ yarn dev
11+
```
12+
13+
# Technology
14+
15+
## In Use
16+
17+
- [Boilerplate / Template used](https://github.com/withrvr/boilerplate-nextjs)
18+
- [Next Js](http://reactjs.org/)
19+
- [Tailwind Css](https://tailwindcss.com/)
20+
- [Typescript](https://www.typescriptlang.org/)
21+
22+
## Will Use
23+
24+
-

README.md

+51-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,55 @@
1-
<pre>
1+
<p align="center">
2+
<a href="https://JavaScript-Equality-Table-withrvr.vercel.app/" target="_blank">
3+
<img src="./public/logo.svg" alt="logo" width="200">
4+
</a>
5+
</p>
6+
7+
<h3 align="center">JavaScript-Equality-Table</h3>
8+
9+
<div align="center">
10+
<p> Comparison / Difference Between ( == vs === ) </p>
11+
12+
<a href="https://github.com/withrvr/JavaScript-Equality-Table/issues/new?template=bug_report.md" target="_blank">Report Bug</a>
13+
|
14+
<a href="https://github.com/withrvr/JavaScript-Equality-Table/issues/new?template=feature_request.md" target="_blank">Request Feature</a>
15+
|
16+
<a href="https://github.com/withrvr/JavaScript-Equality-Table/discussions" target="_blank">Discussions</a>
17+
<br>
18+
<a href="mailto:[email protected]" target="_blank">[email protected]</a>
19+
20+
</div>
21+
22+
# JavaScript Equality Table
23+
24+
```
25+
26+
Comparison Table
27+
228
Difference Between
329
( == vs === )
30+
or
31+
( != vs !== )
432
In Javascript
5-
</pre>
633
7-
Currently Under Development!! :- [Result](https://withrvr.github.io/JavaScript-Equality-Table/)
8-
<br>
9-
Inspired from :- https://github.com/dorey/JavaScript-Equality-Table
34+
```
35+
36+
```
37+
38+
Moral of the story / Conclusion
39+
40+
Always use 3 equals
41+
unless you have
42+
a good reason
43+
to use 2.
44+
45+
```
46+
47+
# Links
48+
49+
- [Currently Under Development][final-result]
50+
- [Technology Used](./Developer_Guide.md#technology)
51+
- [Inspired from](https://github.com/dorey/JavaScript-Equality-Table)
52+
53+
<!--- ............ declaration of variables ............ -->
54+
55+
[final-result]: https://github.com/withrvr/JavaScript-Equality-Table

_config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
theme: jekyll-theme-cayman

components/Navbar.tsx

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import Link from "next/link";
2+
3+
import Navbarlinks from "@/components/Navbarlinks";
4+
5+
const Navbar = () => {
6+
return (
7+
<nav className="mb-3 bg-white">
8+
<div className="container">
9+
<div className="flex gap-x-10 items-center">
10+
<Link passHref={true} href="/">
11+
<svg
12+
className="cursor-pointer w-10 h-10"
13+
xmlns="http://www.w3.org/2000/svg"
14+
viewBox="0 0 256 256"
15+
>
16+
<path d="M0 0h256v256H0V0Z" fill="#F7DF1E" />
17+
<path d="m67.312 213.932 19.59-11.856c3.78 6.701 7.218 12.371 15.465 12.371 7.905 0 12.89-3.092 12.89-15.12v-81.798h24.057v82.138c0 24.917-14.606 36.259-35.916 36.259-19.245 0-30.416-9.967-36.087-21.996M152.381 211.354l19.588-11.341c5.157 8.421 11.859 14.607 23.715 14.607 9.969 0 16.325-4.984 16.325-11.858 0-8.248-6.53-11.17-17.528-15.98l-6.013-2.58c-17.357-7.387-28.87-16.667-28.87-36.257 0-18.044 13.747-31.792 35.228-31.792 15.294 0 26.292 5.328 34.196 19.247L210.29 147.43c-4.125-7.389-8.591-10.31-15.465-10.31-7.046 0-11.514 4.468-11.514 10.31 0 7.217 4.468 10.14 14.778 14.608l6.014 2.577c20.45 8.765 31.963 17.7 31.963 37.804 0 21.654-17.012 33.51-39.867 33.51-22.339 0-36.774-10.654-43.819-24.574" />
18+
</svg>
19+
</Link>
20+
21+
<Navbarlinks href="/" text="===" />
22+
<Navbarlinks href="/" text="==" />
23+
<Navbarlinks href="/" text="if()" />
24+
</div>
25+
</div>
26+
</nav>
27+
);
28+
};
29+
30+
export default Navbar;

components/Navbarlinks.tsx

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import Link from "next/link";
2+
3+
const Navbarlinks = ({ href, text }: { href: string; text: string }) => {
4+
return (
5+
// hover:border-primary
6+
<Link href={href}>
7+
<a className="py-3 text-2xl font-medium border-white border-b-2 hover:text-yellow-400 hover:border-yellow-400 active:text-red-500 active:border-red-500">
8+
{text}
9+
</a>
10+
</Link>
11+
);
12+
};
13+
14+
export default Navbarlinks;

components/Tailwindbreakpoints.tsx

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const Tailwindbreakpoints = () => {
2+
return (
3+
<div className="flex items-center justify-center fixed m-2 bg-violet-700 w-10 h-10 rounded-full bottom-0 left-0 z-50 font-extrabold">
4+
<span className="sm:hidden">def</span>
5+
<span className="hidden sm:inline md:hidden">sm</span>
6+
<span className="hidden md:inline lg:hidden">md</span>
7+
<span className="hidden lg:inline xl:hidden">lg</span>
8+
<span className="hidden xl:inline 2xl:hidden">xl</span>
9+
<span className="hidden 2xl:inline 3xl:hidden">2xl</span>
10+
<span className="hidden 3xl:inline 4xl:hidden">3xl</span>
11+
<span className="hidden 4xl:inline 5xl:hidden">4xl</span>
12+
<span className="hidden 5xl:inline 6xl:hidden">5xl</span>
13+
<span className="hidden 6xl:inline">6xl</span>
14+
</div>
15+
);
16+
};
17+
18+
export default Tailwindbreakpoints;

css/bootstrap.min.css

-6
This file was deleted.

images/javascript.svg

-7
This file was deleted.

0 commit comments

Comments
 (0)