chore: placeholder for local collections in welcome page (#22)

This commit is contained in:
Anoop M D 2022-10-09 22:20:52 +05:30
parent fba3f24568
commit c8957f5555
2 changed files with 13 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { IconPlus, IconUpload, IconFiles } from '@tabler/icons';
import { IconPlus, IconUpload, IconFiles, IconFolders } from '@tabler/icons';
import { useDispatch } from 'react-redux';
import { createCollection } from 'providers/ReduxStore/slices/collections';
import Bruno from 'components/Bruno';
@ -38,10 +38,19 @@ const Welcome = () => {
<div className="flex items-center ml-6">
<IconFiles size={18} strokeWidth={2}/><span className="label ml-2">Add Collection to Workspace</span>
</div>
{/* not in mvp */}
{/* <div className="flex items-center ml-6">
<div className="flex items-center ml-6">
<IconUpload size={18} strokeWidth={2}/><span className="label ml-2">Import Collection</span>
</div> */}
</div>
</div>
<div className="uppercase font-semibold create-request mt-10 pt-6">Local Collections</div>
<div className="mt-4 flex items-center collection-options">
<div className="flex items-center">
<IconPlus size={18} strokeWidth={2}/><span className="label ml-2" onClick={() => setModalOpen(true)}>Create Collection</span>
</div>
<div className="flex items-center ml-6">
<IconFolders size={18} strokeWidth={2}/><span className="label ml-2">Open Collection</span>
</div>
</div>
</StyledWrapper>

View File

@ -2,9 +2,6 @@
"name": "@usebruno/bruno-tauri",
"private": true,
"main": "src/index.js",
"bin": {
"tauri": "./bin/tauri"
},
"scripts": {
"dev": "node src/next-server.js",
"dev:tauri": "tauri dev"