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

feat(whatislove-dev): add search html element to index page wd-275 #653

Merged
merged 2 commits into from
Jun 18, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading