Added 404 page + Improvements.

This commit is contained in:
Daniel
2022-06-06 08:28:03 +04:30
parent 32cb7e80c8
commit ac73f4fe09
6 changed files with 40 additions and 13 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
import { useState } from 'react';
import '../styles/AddItem.css';
import '../styles/SendItem.css';
import TagSelection from './TagSelection';
import addItem from '../modules/send';
@@ -38,13 +38,13 @@ const AddItem = ({onExit, reFetch, tags, SetLoader}) => {
<fieldset className='box'>
<legend >New bookmark</legend>
<div className='AddItem-content'>
<h3><span style={{color:"red"}}>* </span>Link:</h3>
<input onChange={SetLink} className="AddItem-input" type="search" placeholder="e.g. https://example.com/"/>
<h3>Name:</h3>
<input onChange={SetName} className="AddItem-input" type="search" placeholder="e.g. Example Tutorial"/>
<h3>Link:</h3>
<input onChange={SetLink} className="AddItem-input" type="search" placeholder="e.g. https://example.com/"/>
<h3>Tags:</h3>
<TagSelection setTags={SetTags} tags={tags} />
<button onClick={newItem} className="upload-btn">Upload &#xf093;</button>
<button onClick={newItem} className="send-btn">Add &#xf067;</button>
</div>
</fieldset>
</>