Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
next-old-version
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit d0299bfc
authored
2024-02-26 14:29:00 +0530
by
jay
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
initial commit
1 parent
652ec903
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
216 deletions
package-lock.json
package.json
src/pages/index.js
src/styles/globals.css
package-lock.json
View file @
d0299bf
This diff is collapsed.
Click to expand it.
package.json
View file @
d0299bf
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
"dependencies"
:
{
"dependencies"
:
{
"eslint"
:
"8.57.0"
,
"eslint"
:
"8.57.0"
,
"eslint-config-next"
:
"14.1.0"
,
"eslint-config-next"
:
"14.1.0"
,
"next"
:
"
14.1.0
"
,
"next"
:
"
^12.3.4
"
,
"react"
:
"18.2.0"
,
"react"
:
"18.2.0"
,
"react-dom"
:
"18.2.0"
"react-dom"
:
"18.2.0"
}
}
...
...
src/pages/index.js
View file @
d0299bf
import
Head
from
'next/head'
import
Head
from
'next/head'
import
Image
from
'next/image'
import
Image
from
'next/image'
import
{
Inter
}
from
'next/font/google'
import
styles
from
'@/styles/Home.module.css'
const
inter
=
Inter
({
subsets
:
[
'latin'
]
})
export
default
function
Home
()
{
export
default
function
Home
()
{
return
(
return
(
...
@@ -14,110 +10,11 @@ export default function Home() {
...
@@ -14,110 +10,11 @@ export default function Home() {
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1"
/>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1"
/>
<
link
rel
=
"icon"
href
=
"/favicon.ico"
/>
<
link
rel
=
"icon"
href
=
"/favicon.ico"
/>
<
/Head
>
<
/Head
>
<
main
className
=
{
styles
.
main
}
>
<
div
>
<
div
className
=
{
styles
.
description
}
>
<
h1
>
<
p
>
Hello
World
Get
started
by
editing
&
nbsp
;
<
/h1
>
<
code
className
=
{
styles
.
code
}
>
src
/
pages
/
index
.
js
<
/code
>
<
/div
>
<
/p
>
<
div
>
<
a
href
=
"https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
target
=
"_blank"
rel
=
"noopener noreferrer"
>
By
{
' '
}
<
Image
src
=
"/vercel.svg"
alt
=
"Vercel Logo"
className
=
{
styles
.
vercelLogo
}
width
=
{
100
}
height
=
{
24
}
priority
/
>
<
/a
>
<
/div
>
<
/div
>
<
div
className
=
{
styles
.
center
}
>
<
Image
className
=
{
styles
.
logo
}
src
=
"/next.svg"
alt
=
"Next.js Logo"
width
=
{
180
}
height
=
{
37
}
priority
/
>
<
div
className
=
{
styles
.
thirteen
}
>
<
Image
src
=
"/thirteen.svg"
alt
=
"13"
width
=
{
40
}
height
=
{
31
}
priority
/
>
<
/div
>
<
/div
>
<
div
className
=
{
styles
.
grid
}
>
<
a
href
=
"https://nextjs.org/docs?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
className
=
{
styles
.
card
}
target
=
"_blank"
rel
=
"noopener noreferrer"
>
<
h2
className
=
{
inter
.
className
}
>
Docs
<
span
>-&
gt
;
<
/span
>
<
/h2
>
<
p
className
=
{
inter
.
className
}
>
Find
in
-
depth
information
about
Next
.
js
features
and
&
nbsp
;
API
.
<
/p
>
<
/a
>
<
a
href
=
"https://nextjs.org/learn?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
className
=
{
styles
.
card
}
target
=
"_blank"
rel
=
"noopener noreferrer"
>
<
h2
className
=
{
inter
.
className
}
>
Learn
<
span
>-&
gt
;
<
/span
>
<
/h2
>
<
p
className
=
{
inter
.
className
}
>
Learn
about
Next
.
js
in
an
interactive
course
with
&
nbsp
;
quizzes
!
<
/p
>
<
/a
>
<
a
href
=
"https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
className
=
{
styles
.
card
}
target
=
"_blank"
rel
=
"noopener noreferrer"
>
<
h2
className
=
{
inter
.
className
}
>
Templates
<
span
>-&
gt
;
<
/span
>
<
/h2
>
<
p
className
=
{
inter
.
className
}
>
Discover
and
deploy
boilerplate
example
Next
.
js
&
nbsp
;
projects
.
<
/p
>
<
/a
>
<
a
href
=
"https://vercel.com/new?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
className
=
{
styles
.
card
}
target
=
"_blank"
rel
=
"noopener noreferrer"
>
<
h2
className
=
{
inter
.
className
}
>
Deploy
<
span
>-&
gt
;
<
/span
>
<
/h2
>
<
p
className
=
{
inter
.
className
}
>
Instantly
deploy
your
Next
.
js
site
to
a
shareable
URL
with
&
nbsp
;
Vercel
.
<
/p
>
<
/a
>
<
/div
>
<
/main
>
<
/
>
<
/
>
)
)
}
}
src/styles/globals.css
View file @
d0299bf
:root
{
--max-width
:
1100px
;
--border-radius
:
12px
;
--font-mono
:
ui-monospace
,
Menlo
,
Monaco
,
'Cascadia Mono'
,
'Segoe UI Mono'
,
'Roboto Mono'
,
'Oxygen Mono'
,
'Ubuntu Monospace'
,
'Source Code Pro'
,
'Fira Mono'
,
'Droid Sans Mono'
,
'Courier New'
,
monospace
;
--foreground-rgb
:
0
,
0
,
0
;
--background-start-rgb
:
214
,
219
,
220
;
--background-end-rgb
:
255
,
255
,
255
;
--primary-glow
:
conic-gradient
(
from
180deg
at
50%
50%
,
#16abff33
0deg
,
#0885ff33
55deg
,
#54d6ff33
120deg
,
#0071ff33
160deg
,
transparent
360deg
);
--secondary-glow
:
radial-gradient
(
rgba
(
255
,
255
,
255
,
1
),
rgba
(
255
,
255
,
255
,
0
)
);
--tile-start-rgb
:
239
,
245
,
249
;
--tile-end-rgb
:
228
,
232
,
233
;
--tile-border
:
conic-gradient
(
#00000080
,
#00000040
,
#00000030
,
#00000020
,
#00000010
,
#00000010
,
#00000080
);
--callout-rgb
:
238
,
240
,
241
;
--callout-border-rgb
:
172
,
175
,
176
;
--card-rgb
:
180
,
185
,
188
;
--card-border-rgb
:
131
,
134
,
135
;
}
@media
(
prefers-color-scheme
:
dark
)
{
:root
{
--foreground-rgb
:
255
,
255
,
255
;
--background-start-rgb
:
0
,
0
,
0
;
--background-end-rgb
:
0
,
0
,
0
;
--primary-glow
:
radial-gradient
(
rgba
(
1
,
65
,
255
,
0.4
),
rgba
(
1
,
65
,
255
,
0
));
--secondary-glow
:
linear-gradient
(
to
bottom
right
,
rgba
(
1
,
65
,
255
,
0
),
rgba
(
1
,
65
,
255
,
0
),
rgba
(
1
,
65
,
255
,
0.3
)
);
--tile-start-rgb
:
2
,
13
,
46
;
--tile-end-rgb
:
2
,
5
,
19
;
--tile-border
:
conic-gradient
(
#ffffff80
,
#ffffff40
,
#ffffff30
,
#ffffff20
,
#ffffff10
,
#ffffff10
,
#ffffff80
);
--callout-rgb
:
20
,
20
,
20
;
--callout-border-rgb
:
108
,
108
,
108
;
--card-rgb
:
100
,
100
,
100
;
--card-border-rgb
:
200
,
200
,
200
;
}
}
*
{
box-sizing
:
border-box
;
padding
:
0
;
margin
:
0
;
}
html
,
body
{
max-width
:
100vw
;
overflow-x
:
hidden
;
}
body
{
color
:
rgb
(
var
(
--foreground-rgb
));
background
:
linear-gradient
(
to
bottom
,
transparent
,
rgb
(
var
(
--background-end-rgb
))
)
rgb
(
var
(
--background-start-rgb
));
}
a
{
color
:
inherit
;
text-decoration
:
none
;
}
@media
(
prefers-color-scheme
:
dark
)
{
html
{
color-scheme
:
dark
;
}
}
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment