* Simplify article show page reactions * Clean up styling and adjust zen mode logic * Remove unused variables * Update app/views/articles/_actions.html.erb Co-Authored-By: Nick Taylor <nick@iamdeveloper.com> * Small style mods * Slight padding change * Finalize new show page button design
9 lines
286 B
JavaScript
9 lines
286 B
JavaScript
import { h, render } from 'preact';
|
|
import { Search } from '../src/components/Search';
|
|
import 'focus-visible'
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
const root = document.getElementById('nav-search-form-root');
|
|
|
|
render(<Search />, root, root.firstElementChild);
|
|
});
|