⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
Design improvements.
Daniel91d72e0c0f3e
diff --git a/src/App.js b/src/App.jsindex 01bafcba..08535ed7 100644--- a/src/App.js+++ b/src/App.js@@ -83,15 +83,16 @@ function App() {return (<div className="App">+ <div className='content'><div className="head"><input className="search" type="search" placeholder=" Search" onChange={search}/>- <button className="btn" onClick={() => setNewBox(true)}></button>+ <button className="add-btn btn" onClick={() => setNewBox(true)}></button></div><p className="results">{numberOfResults > 0 ? numberOfResults + ' Bookmarks found' : null}</p><button className='btn' onClick={() => setFilterBox(true)}></button>- <button className='btn' onClick={() => setSortBox(true)}></button>+ <button className='btn' style={{marginLeft: '10px'}} onClick={() => setSortBox(true)}></button><List SetLoader={SetLoader} data={filteredData} tags={tags} reFetch={fetchData} />{numberOfResults === 0 ? <NoResults /> : null}@@ -120,6 +121,7 @@ function App() {{loader ? <Loader /> : null}</div>+ </div>);}diff --git a/src/componets/AddItem.js b/src/componets/AddItem.jsindex fc22d1a6..bda66dbc 100644--- a/src/componets/AddItem.js+++ b/src/componets/AddItem.js@@ -36,7 +36,7 @@ const AddItem = ({onExit, reFetch, tags, SetLoader}) => {<><div className='add-overlay' onClick={abort}></div><fieldset className='box'>- <legend >New bookmark</legend>+ <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/"/>diff --git a/src/styles/App.css b/src/styles/App.cssindex 581c0907..f3e7a7b6 100644--- a/src/styles/App.css+++ b/src/styles/App.css@@ -2,6 +2,15 @@min-height: 100vh;background-color: #1f2c38;color: white;+ display: flex;+}++.content {+ width: 100%;+ padding: 20px;+ max-width: 1200px;+ margin-left: auto;+ margin-right: auto;}.head {@@ -9,13 +18,12 @@}.search {- margin: 20px 20px 0px 20px;padding: 10px;font-family: 'Font Awesome 5 Free';font-size: 1.2rem;padding-left: 10px;border: none;- width: 20%;+ width: 35%;min-width: 300px;color: white;background-color:#273949;@@ -29,7 +37,6 @@.btn {position: relative;border-radius: 100%;- margin: 20px 20px 0px auto;font-family: 'Font Awesome 5 Free';width: 40px;height: 40px;@@ -43,6 +50,10 @@transition: background-color 0.1s;}+.add-btn {+ margin-left: auto;+}+.btn:hover {background-color: rgb(76, 117, 170);}@@ -56,7 +67,7 @@ textarea:focus, input:focus{}.results {- margin: 20px 20px 0px 30px;+ margin: 20px 20px 0px 5px;display: inline-block;}diff --git a/src/styles/Filters.css b/src/styles/Filters.cssindex 4845a86e..ff086ed1 100644--- a/src/styles/Filters.css+++ b/src/styles/Filters.css@@ -48,7 +48,7 @@}.filter label:active {- box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;+ box-shadow: 0px 0px 10px rgb(83, 143, 255);}@keyframes fadein {diff --git a/src/styles/List.css b/src/styles/List.cssindex a83526bd..95ed7258 100644--- a/src/styles/List.css+++ b/src/styles/List.css@@ -24,12 +24,12 @@}.list-row {+ margin-top: 20px;display: flex;justify-content: space-between;align-items: center;background-color:#273949;box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;- margin: 20px;}.list-row:hover img {@@ -110,7 +110,9 @@}.tags div::before {- content: "#";++ color: rgb(35, 112, 156);+ content: "# ";}.num {diff --git a/src/styles/Sort.css b/src/styles/Sort.cssindex 9cc9dc75..aba8e0d1 100644--- a/src/styles/Sort.css+++ b/src/styles/Sort.css@@ -52,7 +52,7 @@}.sort-by-btn:active {- box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;+ box-shadow: 0px 0px 10px rgb(83, 143, 255);}@keyframes fadein {diff --git a/src/styles/index.css b/src/styles/index.cssindex b44e7440..a0e413d1 100644--- a/src/styles/index.css+++ b/src/styles/index.css@@ -10,5 +10,5 @@ body {}*::selection {- background-color: rgba(255, 255, 0, 0.6);+ background-color: rgba(115, 192, 255, 0.9);}\ No newline at end of file