forked from extern/bruno
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 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 { useDispatch } from 'react-redux';
|
||||||
import { createCollection } from 'providers/ReduxStore/slices/collections';
|
import { createCollection } from 'providers/ReduxStore/slices/collections';
|
||||||
import Bruno from 'components/Bruno';
|
import Bruno from 'components/Bruno';
|
||||||
@ -38,10 +38,19 @@ const Welcome = () => {
|
|||||||
<div className="flex items-center ml-6">
|
<div className="flex items-center ml-6">
|
||||||
<IconFiles size={18} strokeWidth={2}/><span className="label ml-2">Add Collection to Workspace</span>
|
<IconFiles size={18} strokeWidth={2}/><span className="label ml-2">Add Collection to Workspace</span>
|
||||||
</div>
|
</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>
|
<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>
|
</div>
|
||||||
|
|
||||||
</StyledWrapper>
|
</StyledWrapper>
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
"name": "@usebruno/bruno-tauri",
|
"name": "@usebruno/bruno-tauri",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"bin": {
|
|
||||||
"tauri": "./bin/tauri"
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node src/next-server.js",
|
"dev": "node src/next-server.js",
|
||||||
"dev:tauri": "tauri dev"
|
"dev:tauri": "tauri dev"
|
||||||
|
Loading…
Reference in New Issue
Block a user