Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.page.tsx #684

Merged
merged 7 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 8 additions & 13 deletions data/welcome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[
{
"title": "Overview",
"summary": "Ut minim anim non deserunt veniam. Ex sit eu voluptate labore sunt aute ",
"summary":
"Our Overview provides a high level view of the project, its benefits, the roadmap and other relevant details.",
"logo": "/icons/eye.svg",
"links": {
"lang": "URL1",
Expand All @@ -10,7 +11,8 @@
},
{
"title": "Getting Started",
"summary": "Sit anim eu sunt nisi. Tempor cupidatat voluptate nostrud voluptate deserunt cupidatat dolor magna irure deserunt.",
"summary":
"Our Getting Started guide walks you through the basics of JSON Schema.",
"logo": "/icons/compass.svg",
"links": {
"lang": "URL1",
Expand All @@ -19,7 +21,8 @@
},
{
"title": "Reference",
"summary": "Adipisicing minim ex amet occaecat dolore quis nisi voluptate sit.",
"summary":
"Our Reference teaches JSON Schema deeply from a beginner to the advanced level.",
"logo": "/icons/book.svg",
"links": {
"lang": "URL1",
Expand All @@ -28,20 +31,12 @@
},
{
"title": "Specification",
"summary": "Deserunt et fugiat do adipisicing enim in nostrud Lorem anim ut amet enim.",
"summary":
"Our Specification section documents all versions of JSON Schema specification.",
"logo": "/icons/clipboard.svg",
"links": {
"lang": "URL1",
"url": "/specification"
}
},
{
"title": "Other Resources",
"summary": "Deserunt et fugiat do adipisicing enim in nostrud Lorem anim ut amet enim.",
"logo": "/icons/bookshelf.svg",
"links": {
"lang": "URL1",
"url": "/resources/books"
}
}
]
12 changes: 8 additions & 4 deletions pages/overview/welcome/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@ import data from '~/data/welcome.json';

export default function Welcome() {
const newTitle = 'Welcome';

return (
<SectionContext.Provider value='docs'>
<Head>
<title>{newTitle}</title>
</Head>
<Headline1>{newTitle}</Headline1>
<p>
Veniam ea fugiat exercitation laboris non est nulla id pariatur ex. Qui
occaecat fugiat sunt exercitation adipisicing culpa reprehenderit
consectetur amet in. Qui fugiat amet do eu.
JSON Schema is a powerful standard for validating the structure of JSON
data. It effectively helps you to annotate and validate the structure,
constraints, and data types of your JSON documents. Our goal is to
provide a standardized means for you to define the expectations of your
JSON data.
<br />
<br />
<span className='font-bold text-[1.3rem]'>Explore the docs</span>
</p>
<div className='w-full lg:w-full grid grid-cols-1 sm:grid-cols-2 gap-6 my-[10px] mx-auto mt-8'>
{data.map((element: any, index: any) => (
Expand Down