web: minor ui fixes

This commit is contained in:
Abdullah Atta
2023-11-25 15:19:45 +05:00
parent cfc3a8341c
commit 04125bbb98
4 changed files with 20 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ function SearchBox({ onSearch }) {
id="search"
name="search"
type="text"
sx={{ m: 0, mx: 2, mt: 1 }}
sx={{ m: 0, mx: 2, mt: 1, mb: 1 }}
placeholder="Type your query here"
onChange={debounce((e) => onSearch(e.target.value), 250)}
action={{

View File

@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { Text, Flex, Button, Image, Box } from "@theme-ui/components";
import { Text, Flex, Button, Image, Box, Link } from "@theme-ui/components";
import Dialog from "../components/dialog";
import {
Pro,
@@ -417,9 +417,21 @@ function CrossPlatform() {
return (
<Flex my={4} sx={{ alignItems: "center" }}>
{isMacStoreApp() ? null : (
<Image src={GooglePlay} sx={{ flexShrink: 0, width: 135 }} />
<Link
href="https://play.google.com/store/apps/details?id=com.streetwriters.notesnook"
target="_blank"
rel="noopener noreferrer"
>
<Image src={GooglePlay} sx={{ flexShrink: 0, width: 135 }} />
</Link>
)}
<Image src={AppleStore} sx={{ flexShrink: 0, width: 110 }} />
<Link
href="https://apps.apple.com/us/app/notesnook-take-private-notes/id1544027013"
target="_blank"
rel="noopener noreferrer"
>
<Image src={AppleStore} sx={{ flexShrink: 0, width: 110 }} />
</Link>
</Flex>
);
}

View File

@@ -108,7 +108,8 @@ function PasswordDialog(props) {
sx={{
fontSize: "body",
fontFamily: "body",
alignItems: "center"
alignItems: "center",
color: "paragraph"
}}
>
<Checkbox id={check.key} name={check.key} />

View File

@@ -127,6 +127,8 @@ export function Importer() {
<Link
href="https://help.notesnook.com/importing-notes/import-notes-from-evernote"
target="_blank"
rel="noopener noreferrer"
sx={{ color: "accent" }}
>
import guide
</Link>{" "}