forked from patternfly/patternfly-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
271 lines (262 loc) · 12.5 KB
/
index.html
File metadata and controls
271 lines (262 loc) · 12.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PatternFly Elements</title>
<meta name="description"
content="PatternFly Elements. A set of community-created web components based on PatternFly design.">
<link href="https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;700&family=Red+Hat+Text&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="elements/pfe-styles/dist/pfe-base.min.css">
<link rel="stylesheet" href="elements/pfe-styles/dist/pfe-layouts.min.css">
<noscript>
<link href="../../elements/pfelement/dist/pfelement--noscript.min.css" rel="stylesheet">
</noscript>
<link rel="stylesheet" href="elements/pfelement/dist/pfelement.min.css">
<script type="module" src="elements/pfe-band/dist/pfe-band.min.js"></script>
<script type="module" src="elements/pfe-cta/dist/pfe-cta.min.js"></script>
<script type="module" src="elements/pfe-card/dist/pfe-card.min.js"></script>
<link rel="stylesheet" href="brand/styles.css">
<link href="/brand/logo/svg/pfe-icon-blue.svg" rel="shortcut icon">
</head>
<body unresolved>
<header>
<pfe-band color="accent" class="pfe-l--text-align--center">
<div class="heading-section">
<img class="logo" src="/brand/logo/svg/pfe-icon-white-shaded.svg" style="height: 4em;" />
<h1 class="title">PatternFly Elements</h1>
<p class="tagline">A set of community-created web components based on PatternFly design.</p>
</div>
<div class="header-ctas" slot="pfe-band--footer">
<pfe-cta priority="primary">
<a href="/examples">View the components</a>
</pfe-cta>
<pfe-cta priority="secondary">
<a href="https://github.com/patternfly/patternfly-elements">View on GitHub</a>
</pfe-cta>
</div>
</pfe-band>
</header>
<main>
<pfe-band color="lightest">
<div class="pfe-l-grid pfe-m-gutters pfe-m-all-4-col-on-xl pfe-m-all-6-col-on-lg pfe-m-all-6-col-on-sm">
<pfe-card color="lightest" pfe-border>
<img overflow="top right left" src="/brand/components@2x.png" alt="">
<h2>Components</h2>
<p>View the complete inventory of PatternFly Elements components.</p>
<pfe-cta slot="pfe-card--footer">
<a href="/examples">View the components</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest" pfe-border>
<img overflow="top right left" src="/brand/develop@2x.png" alt="">
<h2>Develop</h2>
<p>Learn how to develop components for PatternFly Elements. View the basics on how to write HTML, CSS, and
JavaScript for PatternFly Elements as well as how to properly test a component.</p>
<pfe-cta slot="pfe-card--footer">
<a href="https://patternfly.github.io/patternfly-elements/develop/">Start developing components</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest" pfe-border>
<img overflow="top right left" src="/brand/theming@2x.png" alt="">
<h2>Theming and styles</h2>
<p>View the documentation on the theme palette, colors, layouts, and how to style components and slots
</p>
<pfe-cta slot="pfe-card--footer">
<a href="https://patternfly.github.io/patternfly-elements/theme/">More on theming and styles</a>
</pfe-cta>
</pfe-card>
</div>
</pfe-band>
<pfe-band>
<h2 class="pfe-l--text-align--center">Learn more</h2>
<div class="pfe-l-grid pfe-m-gutters pfe-m-all-4-col">
<pfe-card color="lightest">
<img overflow="top right left"
src="https://cdn-images-1.medium.com/fit/t/1600/480/1*zHHMQQBMora88A_WQJiNtw.png" alt="">
<h3>
<a href="https://medium.com/patternfly-elements/web-components-and-seo-58227413e072">Web Components and
SEO</a>
</h3>
<p>We all understand how important SEO is and how crucial it is for crawlers to be able to understand our
content in our…</p>
<pfe-cta slot="pfe-card--footer">
<a href="https://medium.com/patternfly-elements/web-components-and-seo-58227413e072">Read on Medium</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest">
<h3>
<a href="https://medium.com/patternfly-elements/testing-your-patternfly-element-in-react-4eb92ffa4c40">Testing
your PatternFly Element in React</a>
</h3>
<p>We’ve built PatternFly Elements to work in most frontend frameworks and React is one of the frameworks that
we formally support. So, we must test our components in React.</p>
<pfe-cta slot="pfe-card--footer">
<a href="https://medium.com/patternfly-elements/testing-your-patternfly-element-in-react-4eb92ffa4c40">Read
on Medium</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest">
<h3>
<a href="https://medium.com/patternfly-elements/testing-your-patternfly-element-in-angular-40624ce1bc54">Testing
your PatternFly Element in Angular</a>
</h3>
<p>We’ve built PatternFly Elements to work in most frontend frameworks and Angular is one of the frameworks
that we formally support. So, we must test our components in Angular.</p>
<pfe-cta slot="pfe-card--footer">
<a href="https://medium.com/patternfly-elements/testing-your-patternfly-element-in-angular-40624ce1bc54">Read
on Medium</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest">
<h3>
<a
href="https://medium.com/patternfly-elements/using-patternfly-elements-web-components-in-your-react-app-fe079be262ed">Using
PatternFly Elements (web components) in your React App</a>
</h3>
<p>To get web components to work with React it’s pretty easy and straightforward. If you’d like to follow
along, go ahead and...</p>
<pfe-cta slot="pfe-card--footer">
<a
href="https://medium.com/patternfly-elements/using-patternfly-elements-web-components-in-your-react-app-fe079be262ed">Read
on Medium</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest">
<h3>
<a
href="https://medium.com/patternfly-elements/using-patternfly-elements-web-components-in-your-vue-app-340fc9a9d7e5">Using
PatternFly Elements (web components) in your Vue App</a>
</h3>
<p>To get web components to work with Vue, it’s pretty easy and straightforward. If you’d like to follow
along, go ahead and...</p>
<pfe-cta slot="pfe-card--footer">
<a
href="https://medium.com/patternfly-elements/using-patternfly-elements-web-components-in-your-vue-app-340fc9a9d7e5">Read
on Medium</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest">
<h3>
<a
href="https://medium.com/patternfly-elements/using-patternfly-elements-web-components-in-your-angular-app-4b18b1c9c363">Using
PatternFly Elements (web components) in your Angular App</a>
</h3>
<p>To get web components to work with Angular, there are a few steps that we need to take. If you’d like to
follow along, go ahead and...</p>
<pfe-cta slot="pfe-card--footer">
<a
href="https://medium.com/patternfly-elements/using-patternfly-elements-web-components-in-your-angular-app-4b18b1c9c363">Read
on Medium</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest">
<img overflow="left top right"
src="https://cdn-images-1.medium.com/fit/t/1600/480/1*VxME5U0fg6jyClhZBo-O3A.png" alt="">
<h3>
<a
href="https://medium.com/patternfly-elements/more-resilientweb-components-in-angular-or-anywhere-else-with-mutationobserver-72a91cd7cf22">More
Resilient Web Components in Angular (or anywhere else) with MutationObserver</a>
</h3>
<p>A real-world example of hardening your components against unknown contexts</p>
<pfe-cta slot="pfe-card--footer">
<a
href="https://medium.com/patternfly-elements/more-resilientweb-components-in-angular-or-anywhere-else-with-mutationobserver-72a91cd7cf22">Read
on Medium</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest">
<h3>
<a
href="https://medium.com/patternfly-elements/web-components-the-constructor-and-patternfly-elements-606bc51938c9">Web
Components: The Constructor and PatternFly Elements</a>
</h3>
<p>There’s not a lot of documentation on what you should or should not do in the constructor() of a web
component. Here we try to shed some light on the dos and don’ts and we also show the benefits of building
web components by extending...</p>
<pfe-cta slot="pfe-card--footer">
<a
href="https://medium.com/patternfly-elements/web-components-the-constructor-and-patternfly-elements-606bc51938c9">Read
on Medium</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest">
<img overflow="left top right"
src="https://cdn-images-1.medium.com/fit/t/1600/480/1*R29zV1u1Fj-s3gw1P_D5LQ.png" alt="">
<h3>
<a href="https://medium.com/patternfly-elements/patternfly-elements-writing-automated-tests-e5af412931dd">Writing
automated tests for PatternFly Elements</a>
</h3>
<p>Automated Tests (aka AT) are a blessing and a curse. You love them when they catch an unexpected change
before it breaks in production but when you have spent the last two weeks (or more) building...</p>
<pfe-cta slot="pfe-card--footer">
<a href="https://medium.com/patternfly-elements/patternfly-elements-writing-automated-tests-e5af412931dd">Read
on Medium</a>
</pfe-cta>
</pfe-card>
<pfe-card color="lightest">
<img overflow="left top right"
src="https://cdn-images-1.medium.com/fit/t/1600/480/1*6TbBJFAxhhi6K5WAbY5aCg.png" alt="">
<h3>
<a
href="https://medium.com/patternfly-elements/patternfly-elements-how-to-build-a-demo-component-448c32069a21">How
to build a demo component</a>
</h3>
<p>PatternFly Elements is an exciting new approach for building web components to meet our front-end needs at
Red Hat and beyond (yay open source!).</p>
<pfe-cta slot="pfe-card--footer">
<a
href="https://medium.com/patternfly-elements/patternfly-elements-how-to-build-a-demo-component-448c32069a21">Read
on Medium</a>
</pfe-cta>
</pfe-card>
</div>
</pfe-band>
</main>
<footer>
<pfe-band color="darkest">
<div class="pfe-l-grid pfe-m-gutters pfe-m-all-4-col">
<div>
<h3>Community</h3>
<ul>
<li>
<a href="https://github.com/patternfly/patternfly-elements">GitHub</a>
</li>
<li>
<a href="https://github.com/patternfly/patternfly-elements/blob/master/CONTRIBUTING.md">Contributing</a>
</li>
<li>
<a href="https://github.com/patternfly/patternfly-elements/blob/master/CODE_OF_CONDUCT.md">Code of
conduct</a>
</li>
<li>
<a href="https://www.redhat.com/mailman/listinfo/patternfly-elements-contribute">Contributors email
list</a>
</li>
</ul>
</div>
<div>
<h3>Resources</h3>
<ul>
<li>
<a href="https://patternfly.github.io/patternfly-elements/">Documentation</a>
</li>
<li>
<a href="https://patternfly.github.io/patternfly-elements/demo">Storybook</a>
</li>
<li>
<a href="https://medium.com/patternfly-elements">Medium</a>
</li>
</ul>
</div>
<div>
<a href="https://www.netlify.com">
<img src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg" alt="Deploys by Netlify" />
</a>
</div>
</div>
</pfe-band>
</footer>
</body>
</html>