feat: increase gallery grid from 4 to 5 columns per row on desktopfeat: increase gallery grid from 4 to 5 columns per row on desktop
This commit is contained in:
15
resources/js/entry-search.jsx
Normal file
15
resources/js/entry-search.jsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import SearchBar from './Search/SearchBar'
|
||||
|
||||
function mount() {
|
||||
const container = document.getElementById('topbar-search-root')
|
||||
if (!container) return
|
||||
createRoot(container).render(<SearchBar />)
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', mount)
|
||||
} else {
|
||||
mount()
|
||||
}
|
||||
Reference in New Issue
Block a user