mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-23 07:09:01 +01:00
chore: placeholder for local collections in welcome page (#22)
This commit is contained in:
parent
fba3f24568
commit
c8957f5555
@ -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>
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user