tested working in production, update news

This commit is contained in:
Youwen Wu 2024-02-12 21:33:54 -08:00
parent ba2d6acd25
commit 595d1771d5
2 changed files with 7 additions and 7 deletions

View file

@ -13,13 +13,15 @@ export default function News() {
<br className='my-4' /> <br className='my-4' />
<ul className='text-slate-50 px-6 list-disc'> <ul className='text-slate-50 px-6 list-disc'>
<li key={1}> <li key={1}>
eeXiv 1.0 has been released! All basic features like search and eeXiv 2.0 has been released! The site should feel significantly more
document viewing are available. responsive. Data cacheing has also been implemented so search results
and documents will load instantly the second time.
</li> </li>
<li key={2}>eeXiv is currently under active development!</li> <li key={2}>Mobile support is currently in beta.</li>
<li key={3}> <li key={3}>
There may be major updates, breaking changes, or weird bugs. Report eeXiv is currently under active development! There may be major
bugs, suggest new features, or give us feedback at{' '} 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'> <a href='https://github.com/team-1280/eexiv-2/issues' target='_blank'>
our issue tracker. our issue tracker.
</a> </a>

View file

@ -17,7 +17,6 @@ export default function SearchBar() {
const setSearchBarStore = useSearchBarStore((state) => state.setSearchInput) const setSearchBarStore = useSearchBarStore((state) => state.setSearchInput)
const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => { const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {
event.preventDefault()
navigate(`/search?q=${searchBarStore.split(' ').join('+')}`) navigate(`/search?q=${searchBarStore.split(' ').join('+')}`)
} }
@ -27,7 +26,6 @@ export default function SearchBar() {
const handleKeyPress = (e: React.KeyboardEvent<HTMLInputElement>) => { const handleKeyPress = (e: React.KeyboardEvent<HTMLInputElement>) => {
if (e.key === 'Enter') { if (e.key === 'Enter') {
e.preventDefault()
navigate(`/search?q=${searchBarStore.split(' ').join('+')}`) navigate(`/search?q=${searchBarStore.split(' ').join('+')}`)
} }
} }