Skip to content

Commit

Permalink
feat(whatislove-dev): add search html element to index page wd-275 (#653
Browse files Browse the repository at this point in the history
)

* style(careers-whatislove-dev): edit lit eslint plugin style in config wd-275

* feat(whatislove-dev): add search html element to index page wd-275
  • Loading branch information
what1s1ove committed Jun 18, 2024
1 parent d74ae02 commit 2059f0a
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 30 deletions.
2 changes: 1 addition & 1 deletion apps/careers-whatislove-dev/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let ignoresConfig = {
/** @type {FlatConfig} */
let litConfig = {
plugins: {
lit: lit,
lit,
},
rules: /** @type {RulesRecord} */ (lit.configs.all.rules),
}
Expand Down
1 change: 1 addition & 0 deletions apps/whatislove-dev/.w3c-validator
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/When the “srcset” attribute has any image candidate string with a width descriptor, the “sizes” attribute must also be specified./
/Element “search” not allowed as child of element “section” in this context./
65 changes: 36 additions & 29 deletions apps/whatislove-dev/src/pages/index/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -74,35 +74,42 @@ stickersCount: 0
<div class="main__row main__row--experience-stickers box">
<section class="experience">
<h2 class="experience__title">Experience</h2>
<form class="experience__form" action="/timeline">
<label class="experience__form-label">
<input
class="experience__form-control visually-hidden"
type="radio"
name="type"
value="position"
checked
/>
Positions
</label>
<label class="experience__form-label">
<input
class="experience__form-control visually-hidden"
type="radio"
name="type"
value="certificate"
/>
Certificates
</label>
<label class="experience__form-label">
<input class="experience__form-control visually-hidden" type="radio" name="type" value="meetup" />
Meetups
</label>
<label class="experience__form-label">
<input class="experience__form-control visually-hidden" type="radio" name="type" value="book" />
Book
</label>
</form>
<search class="experience__form-wrapper">
<form class="experience__form" action="/timeline">
<label class="experience__form-label">
<input
class="experience__form-control visually-hidden"
type="radio"
name="type"
value="position"
checked
/>
Positions
</label>
<label class="experience__form-label">
<input
class="experience__form-control visually-hidden"
type="radio"
name="type"
value="certificate"
/>
Certificates
</label>
<label class="experience__form-label">
<input
class="experience__form-control visually-hidden"
type="radio"
name="type"
value="meetup"
/>
Meetups
</label>
<label class="experience__form-label">
<input class="experience__form-control visually-hidden" type="radio" name="type" value="book" />
Book
</label>
</form>
</search>
<div class="experience__timeline-wrapper scroll-shadows">
<ul class="experience__timeline-list timeline timeline--loading timeline--columns"></ul>
</div>
Expand Down

0 comments on commit 2059f0a

Please sign in to comment.