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 c07e5b4c
authored
2024-02-26 15:06:23 +0530
by
jay
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
64d6804e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
109 additions
and
7 deletions
package-lock.json
package.json
src/pages/doctor-on-call.js
src/pages/index.js
package-lock.json
View file @
c07e5b4
...
...
@@ -11,8 +11,10 @@
"eslint"
:
"8.57.0"
,
"eslint-config-next"
:
"14.1.0"
,
"next"
:
"^12.2.5"
,
"next-redux-wrapper"
:
"^8.1.0"
,
"react"
:
"18.2.0"
,
"react-dom"
:
"18.2.0"
"react-dom"
:
"18.2.0"
,
"redux"
:
"^5.0.1"
}
},
"node_modules/@aashutoshrathi/word-wrap"
:
{
...
...
@@ -424,6 +426,12 @@
"resolved"
:
"https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz"
,
"integrity"
:
"sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ=="
},
"node_modules/@types/use-sync-external-store"
:
{
"version"
:
"0.0.3"
,
"resolved"
:
"https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz"
,
"integrity"
:
"sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
,
"peer"
:
true
},
"node_modules/@typescript-eslint/parser"
:
{
"version"
:
"6.21.0"
,
"resolved"
:
"https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz"
,
...
...
@@ -2632,6 +2640,16 @@
}
}
},
"node_modules/next-redux-wrapper"
:
{
"version"
:
"8.1.0"
,
"resolved"
:
"https://registry.npmjs.org/next-redux-wrapper/-/next-redux-wrapper-8.1.0.tgz"
,
"integrity"
:
"sha512-2hIau0hcI6uQszOtrvAFqgc0NkZegKYhBB7ZAKiG3jk7zfuQb4E7OV9jfxViqqojh3SEHdnFfPkN9KErttUKuw=="
,
"peerDependencies"
:
{
"next"
:
">=9"
,
"react"
:
"*"
,
"react-redux"
:
"*"
}
},
"node_modules/object-assign"
:
{
"version"
:
"4.1.1"
,
"resolved"
:
"https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz"
,
...
...
@@ -2977,6 +2995,38 @@
"resolved"
:
"https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz"
,
"integrity"
:
"sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
"node_modules/react-redux"
:
{
"version"
:
"9.1.0"
,
"resolved"
:
"https://registry.npmjs.org/react-redux/-/react-redux-9.1.0.tgz"
,
"integrity"
:
"sha512-6qoDzIO+gbrza8h3hjMA9aq4nwVFCKFtY2iLxCtVT38Swyy2C/dJCGBXHeHLtx6qlg/8qzc2MrhOeduf5K32wQ=="
,
"peer"
:
true
,
"dependencies"
:
{
"@types/use-sync-external-store"
:
"^0.0.3"
,
"use-sync-external-store"
:
"^1.0.0"
},
"peerDependencies"
:
{
"@types/react"
:
"^18.2.25"
,
"react"
:
"^18.0"
,
"react-native"
:
">=0.69"
,
"redux"
:
"^5.0.0"
},
"peerDependenciesMeta"
:
{
"@types/react"
:
{
"optional"
:
true
},
"react-native"
:
{
"optional"
:
true
},
"redux"
:
{
"optional"
:
true
}
}
},
"node_modules/redux"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmjs.org/redux/-/redux-5.0.1.tgz"
,
"integrity"
:
"sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w=="
},
"node_modules/reflect.getprototypeof"
:
{
"version"
:
"1.0.5"
,
"resolved"
:
"https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.5.tgz"
,
...
...
@@ -4092,6 +4142,12 @@
"resolved"
:
"https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz"
,
"integrity"
:
"sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ=="
},
"@types/use-sync-external-store"
:
{
"version"
:
"0.0.3"
,
"resolved"
:
"https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz"
,
"integrity"
:
"sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
,
"peer"
:
true
},
"@typescript-eslint/parser"
:
{
"version"
:
"6.21.0"
,
"resolved"
:
"https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz"
,
...
...
@@ -5635,6 +5691,12 @@
"use-sync-external-store"
:
"1.2.0"
}
},
"next-redux-wrapper"
:
{
"version"
:
"8.1.0"
,
"resolved"
:
"https://registry.npmjs.org/next-redux-wrapper/-/next-redux-wrapper-8.1.0.tgz"
,
"integrity"
:
"sha512-2hIau0hcI6uQszOtrvAFqgc0NkZegKYhBB7ZAKiG3jk7zfuQb4E7OV9jfxViqqojh3SEHdnFfPkN9KErttUKuw=="
,
"requires"
:
{}
},
"object-assign"
:
{
"version"
:
"4.1.1"
,
"resolved"
:
"https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz"
,
...
...
@@ -5863,6 +5925,21 @@
"resolved"
:
"https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz"
,
"integrity"
:
"sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
"react-redux"
:
{
"version"
:
"9.1.0"
,
"resolved"
:
"https://registry.npmjs.org/react-redux/-/react-redux-9.1.0.tgz"
,
"integrity"
:
"sha512-6qoDzIO+gbrza8h3hjMA9aq4nwVFCKFtY2iLxCtVT38Swyy2C/dJCGBXHeHLtx6qlg/8qzc2MrhOeduf5K32wQ=="
,
"peer"
:
true
,
"requires"
:
{
"@types/use-sync-external-store"
:
"^0.0.3"
,
"use-sync-external-store"
:
"^1.0.0"
}
},
"redux"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmjs.org/redux/-/redux-5.0.1.tgz"
,
"integrity"
:
"sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w=="
},
"reflect.getprototypeof"
:
{
"version"
:
"1.0.5"
,
"resolved"
:
"https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.5.tgz"
,
...
...
package.json
View file @
c07e5b4
...
...
@@ -12,7 +12,9 @@
"eslint"
:
"8.57.0"
,
"eslint-config-next"
:
"14.1.0"
,
"next"
:
"^12.2.5"
,
"next-redux-wrapper"
:
"^8.1.0"
,
"react"
:
"18.2.0"
,
"react-dom"
:
"18.2.0"
"react-dom"
:
"18.2.0"
,
"redux"
:
"^5.0.1"
}
}
src/pages/doctor-on-call.js
0 → 100644
View file @
c07e5b4
import
React
from
"react"
;
import
{
createWrapper
}
from
"next-redux-wrapper"
;
import
Image
from
"next/image"
;
const
DoctorOnCall
=
()
=>
{
return
(
<
div
>
<
h1
>
Hello
world
<
/h1
>
<
span
className
=
""
><
/span
>
<
Image
width
=
"3000px"
height
=
"600px"
src
=
"/banner/abu-faqs-d.png"
><
/Image
>
<
/div
>
);
};
export
default
DoctorOnCall
;
export
const
wrapper
=
createWrapper
(
initStore
);
/** For server side rendering */
export
const
getStaticProps
=
wrapper
.
getStaticProps
(
(
store
)
=>
async
({
req
,
query
})
=>
{
// Get the menu data.
return
{
props
:
{},
revalidate
:
100
,
};
}
);
src/pages/index.js
View file @
c07e5b4
...
...
@@ -11,12 +11,7 @@ export default function Home() {
<
link
rel
=
"icon"
href
=
"/favicon.ico"
/>
<
/Head
>
<
div
>
<
h1
>
Hello
world
<
/h1
>
<
span
className
=
""
>
<
/span
>
<
Image
width
=
'3000px'
height
=
'600px'
src
=
"/banner/abu-faqs-d.png"
><
/Image
>
<
/div
>
<
/
>
);
...
...
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