tested working in production, update news
This commit is contained in:
parent
ba2d6acd25
commit
595d1771d5
2 changed files with 7 additions and 7 deletions
|
@ -13,13 +13,15 @@ export default function News() {
|
|||
<br className='my-4' />
|
||||
<ul className='text-slate-50 px-6 list-disc'>
|
||||
<li key={1}>
|
||||
eeXiv 1.0 has been released! All basic features like search and
|
||||
document viewing are available.
|
||||
eeXiv 2.0 has been released! The site should feel significantly more
|
||||
responsive. Data cacheing has also been implemented so search results
|
||||
and documents will load instantly the second time.
|
||||
</li>
|
||||
<li key={2}>eeXiv is currently under active development!</li>
|
||||
<li key={2}>Mobile support is currently in beta.</li>
|
||||
<li key={3}>
|
||||
There may be major updates, breaking changes, or weird bugs. Report
|
||||
bugs, suggest new features, or give us feedback at{' '}
|
||||
eeXiv is currently under active development! There may be major
|
||||
updates, breaking changes, or weird bugs. Report bugs, suggest new
|
||||
features, or give us feedback at{' '}
|
||||
<a href='https://github.com/team-1280/eexiv-2/issues' target='_blank'>
|
||||
our issue tracker.
|
||||
</a>
|
||||
|
|
|
@ -17,7 +17,6 @@ export default function SearchBar() {
|
|||
const setSearchBarStore = useSearchBarStore((state) => state.setSearchInput)
|
||||
|
||||
const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {
|
||||
event.preventDefault()
|
||||
navigate(`/search?q=${searchBarStore.split(' ').join('+')}`)
|
||||
}
|
||||
|
||||
|
@ -27,7 +26,6 @@ export default function SearchBar() {
|
|||
|
||||
const handleKeyPress = (e: React.KeyboardEvent<HTMLInputElement>) => {
|
||||
if (e.key === 'Enter') {
|
||||
e.preventDefault()
|
||||
navigate(`/search?q=${searchBarStore.split(' ').join('+')}`)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue