Skip to content

Commit fe49d31

Browse files
committed
fix: linter issues
1 parent 4671d77 commit fe49d31

File tree

4 files changed

+163
-31
lines changed

4 files changed

+163
-31
lines changed

pwa/app/(common)/components/Admin.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,15 @@ export default function Admin() {
2020
Entirely <strong>customizable</strong>
2121
</ListPoint>
2222
<ListPoint direction="left">
23-
<strong>Hydra</strong> and <Link href="/docs/admin/openapi/" prefetch={false} className="link"><strong>OpenAPI</strong></Link> compatible
23+
<strong>Hydra</strong> and{" "}
24+
<Link
25+
href="/docs/admin/openapi/"
26+
prefetch={false}
27+
className="link"
28+
>
29+
<strong>OpenAPI</strong>
30+
</Link>{" "}
31+
compatible
2432
</ListPoint>
2533
<ListPoint direction="left">
2634
Built on top of <strong>Material UI</strong> and{" "}

pwa/app/(common)/components/ClientGenerator.tsx

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,49 @@ export default function ClientGenerator() {
6464
Scaffold <strong>client apps</strong>
6565
</Heading>
6666
<p className="text-white/60 text-xl font-light mt-8">
67-
We provide a scaffolding with first-class support for <a
67+
We provide a scaffolding with first-class support for{" "}
68+
<a
6869
className="link"
6970
href="https://nextjs.org/"
7071
target="_blank"
7172
rel="noreferer noopener"
72-
>Next.js</a>, but don't want to decide for you which front-end framework
73-
you want to work with so skeletons for many other frontend frameworks are supported such as: <Link href="/docs/create-client/nuxt/" prefetch={false} className="link">Nuxt (Vue)</Link>, <Link href="/docs/create-client/react-native/" prefetch={false} className="link">Expo (React Native)</Link>, <Link href="/docs/create-client/Quasar/" prefetch={false} className="link">Quasar</Link>, and <Link href="/docs/create-client/#generated-react-and-react-native-apps-updated-in-real-time" prefetch={false} className="link">many more...</Link>
73+
>
74+
Next.js
75+
</a>
76+
, but don&apos;t want to decide for you which front-end framework
77+
you want to work with so skeletons for many other frontend
78+
frameworks are supported such as:{" "}
79+
<Link
80+
href="/docs/create-client/nuxt/"
81+
prefetch={false}
82+
className="link"
83+
>
84+
Nuxt (Vue)
85+
</Link>
86+
,{" "}
87+
<Link
88+
href="/docs/create-client/react-native/"
89+
prefetch={false}
90+
className="link"
91+
>
92+
Expo (React Native)
93+
</Link>
94+
,{" "}
95+
<Link
96+
href="/docs/create-client/Quasar/"
97+
prefetch={false}
98+
className="link"
99+
>
100+
Quasar
101+
</Link>
102+
, and{" "}
103+
<Link
104+
href="/docs/create-client/#generated-react-and-react-native-apps-updated-in-real-time"
105+
prefetch={false}
106+
className="link"
107+
>
108+
many more...
109+
</Link>
74110
</p>
75111
<div className="flex flex-row py-8 text-blue | sm:w-1/2 | md:w-full">
76112
{logos.map((logo) => (

pwa/app/(common)/components/Features.tsx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,23 @@ export default function Features() {
5858
href="/docs/distribution/caddy/#configuring-the-caddy-web-server"
5959
prefetch={false}
6060
>
61-
Caddy server</Link> integration HTTPS & HTTP/3
61+
Caddy server
62+
</Link>{" "}
63+
integration HTTPS & HTTP/3
6264
</FeatureItem>
6365
<FeatureItem Icon={icons.PaginationIcon} index={6}>
64-
Automatic <Link
66+
Automatic{" "}
67+
<Link
6568
className="link"
6669
href="/docs/core/pagination/"
6770
prefetch={false}
6871
>
69-
pagination</Link> and <Link
70-
className="link"
71-
href="/docs/core/filters/"
72-
prefetch={false}
73-
>filtering</Link>
74-
72+
pagination
73+
</Link>{" "}
74+
and{" "}
75+
<Link className="link" href="/docs/core/filters/" prefetch={false}>
76+
filtering
77+
</Link>
7578
</FeatureItem>
7679
<FeatureItem Icon={icons.DockerIcon} index={7}>
7780
<Link className="link" href="/docs/deployment/" prefetch={false}>

pwa/app/(common)/components/Timeline.tsx

Lines changed: 104 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -63,43 +63,76 @@ export default function Timeline() {
6363
<ul className="mt-8 mb-16">
6464
<ListPoint>
6565
A stable <strong>state-of-the-art</strong>{" "}
66-
<Link href="/docs/distribution/#introduction" prefetch={false} className="link">
66+
<Link
67+
href="/docs/distribution/#introduction"
68+
prefetch={false}
69+
className="link"
70+
>
6771
REST
6872
</Link>{" "}
6973
&{" "}
70-
<Link href="/docs/core/graphql/" prefetch={false} className="link">
74+
<Link
75+
href="/docs/core/graphql/"
76+
prefetch={false}
77+
className="link"
78+
>
7179
GraphQL
7280
</Link>{" "}
7381
API
7482
</ListPoint>
7583
<ListPoint>
7684
<strong>Automatic documentation</strong>{" "}
77-
<Link href="/docs/core/openapi/" prefetch={false} className="link">
85+
<Link
86+
href="/docs/core/openapi/"
87+
prefetch={false}
88+
className="link"
89+
>
7890
OpenAPI
7991
</Link>
8092
, SwaggerUI, GraphiQL...
8193
</ListPoint>
8294
<ListPoint>
8395
Support for <strong>standards</strong> and formats{" "}
84-
<Link href="/docs/core/extending-jsonld-context/#jsonld" prefetch={false} className="link">
96+
<Link
97+
href="/docs/core/extending-jsonld-context/#jsonld"
98+
prefetch={false}
99+
className="link"
100+
>
85101
JSON-LD
86102
</Link>
87103
,{" "}
88-
<Link href="/docs/core/extending-jsonld-context/#hydra" prefetch={false} className="link">
104+
<Link
105+
href="/docs/core/extending-jsonld-context/#hydra"
106+
prefetch={false}
107+
className="link"
108+
>
89109
Hydra
90110
</Link>
91111
, JSON:API
92112
</ListPoint>
93113
</ul>
94114
<p>
95115
Alternatively,{" "}
96-
<Link href="/docs/schema-generator" prefetch={false} className="link">
116+
<Link
117+
href="/docs/schema-generator"
118+
prefetch={false}
119+
className="link"
120+
>
97121
generate the classes from an existing RDF vocabulary
98122
</Link>
99123
.
100124
<br />
101125
<br /> API Platform automatically exposes production-grade{" "}
102-
<strong><Link className="link" href="/docs/distribution/#a-bookshop-api" prefetch={false}>HATEOAS</Link></strong> API for you!
126+
<strong>
127+
<Link
128+
className="link"
129+
href="/docs/distribution/#a-bookshop-api"
130+
prefetch={false}
131+
>
132+
HATEOAS
133+
</Link>
134+
</strong>{" "}
135+
API for you!
103136
</p>
104137
</StepContent>
105138
<TimelineStepTitle step={3}>
@@ -112,11 +145,7 @@ export default function Timeline() {
112145
<p className="mt-6 sm:mt-0">
113146
The framework has been designed from the ground up to be usable from
114147
Rapid Application Development contexts to{" "}
115-
<Link
116-
className="link"
117-
href="/docs/core/design/"
118-
prefetch={false}
119-
>
148+
<Link className="link" href="/docs/core/design/" prefetch={false}>
120149
Domain-Driven Design
121150
</Link>{" "}
122151
or Clean Architecture-like approaches.
@@ -132,11 +161,49 @@ export default function Timeline() {
132161
</CodeBlock>
133162
<br />
134163
<p>
135-
API Platform can automatically <Link className="link" href="/docs/core/state-providers/#state-providers" prefetch={false}>retrieve</Link>, <Link className="link" href="/docs/core/state-processors/" prefetch={false}>persist</Link>, <Link href="/docs/core/pagination" prefetch={false} className="link">paginate</Link> and
136-
<Link href="/docs/core/validation" prefetch={false} className="link">validate</Link> data using the most popular database systems.
164+
API Platform can automatically{" "}
165+
<Link
166+
className="link"
167+
href="/docs/core/state-providers/#state-providers"
168+
prefetch={false}
169+
>
170+
retrieve
171+
</Link>
172+
,{" "}
173+
<Link
174+
className="link"
175+
href="/docs/core/state-processors/"
176+
prefetch={false}
177+
>
178+
persist
179+
</Link>
180+
,{" "}
181+
<Link
182+
href="/docs/core/pagination"
183+
prefetch={false}
184+
className="link"
185+
>
186+
paginate
187+
</Link>{" "}
188+
and
189+
<Link
190+
href="/docs/core/validation"
191+
prefetch={false}
192+
className="link"
193+
>
194+
validate
195+
</Link>{" "}
196+
data using the most popular database systems.
137197
</p>
138198
<p>
139-
<Link href="/docs/distribution/#plugging-the-persistence-system" prefetch={false} className="link">PostgreSQL</Link> ,{" "}
199+
<Link
200+
href="/docs/distribution/#plugging-the-persistence-system"
201+
prefetch={false}
202+
className="link"
203+
>
204+
PostgreSQL
205+
</Link>{" "}
206+
,{" "}
140207
<Link href="/docs/core/mongodb/" prefetch={false} className="link">
141208
MongoDB
142209
</Link>
@@ -148,20 +215,38 @@ export default function Timeline() {
148215
>
149216
ElasticSearch
150217
</Link>
151-
, SQLite, MySQL, MariaDB, SQL Server and Oracle are supported <Link href="/docs/core/state-providers/#state-providers">out of
152-
the box</Link>.
218+
, SQLite, MySQL, MariaDB, SQL Server and Oracle are supported{" "}
219+
<Link href="/docs/core/state-providers/#state-providers">
220+
out of the box
221+
</Link>
222+
.
153223
</p>
154224
</StepContent>
155225
<StepContent className="sm:mt-24">
156226
<p className="font-semibold text-blue text-2xl leading-tight">
157-
You can also make your own <Link href="/docs/core/state-processors/" prefetch={false} className="link">persistence system</Link>!
227+
You can also make your own{" "}
228+
<Link
229+
href="/docs/core/state-processors/"
230+
prefetch={false}
231+
className="link"
232+
>
233+
persistence system
234+
</Link>
235+
!
158236
</p>
159237
</StepContent>
160238
<TimelineStepTitle step={4}>Customize!</TimelineStepTitle>
161239
<StepContent withPoint={false}>
162240
<p>
163241
Customize every single behavior thanks to our carefully designed
164-
<Link href="/docs/core/extending/" prefetch={false} className="link">extension points</Link>.
242+
<Link
243+
href="/docs/core/extending/"
244+
prefetch={false}
245+
className="link"
246+
>
247+
extension points
248+
</Link>
249+
.
165250
</p>
166251
<br />
167252
</StepContent>

0 commit comments

Comments
 (0)