create project uses button

This commit is contained in:
Eric Lewis 2024-02-26 17:02:53 -05:00
parent efc10d3d7e
commit cb614c8d8f
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ import { OctokitProvider } from '../context/OctokitContext';
const OrgSlug = () => { const OrgSlug = () => {
return ( return (
<div className="grid grid-cols-5 h-screen bg-light-blue-50"> <div className="grid grid-cols-5 h-screen bg-snowball-50">
<> <>
<div className="h-full"> <div className="h-full">
<Sidebar /> <Sidebar />

View File

@ -1,11 +1,13 @@
import React, { useCallback, useEffect, useState } from 'react'; import React, { useCallback, useEffect, useState } from 'react';
import { Link, useParams } from 'react-router-dom'; import { Link, useParams } from 'react-router-dom';
import { Project } from 'gql-client'; import { Project } from 'gql-client';
import { Button } from 'components/shared/Button';
import { Button, Typography, Chip } from '@material-tailwind/react'; import { Typography, Chip } from '@material-tailwind/react';
import ProjectCard from '../../components/projects/ProjectCard'; import ProjectCard from '../../components/projects/ProjectCard';
import { useGQLClient } from '../../context/GQLClientContext'; import { useGQLClient } from '../../context/GQLClientContext';
import { PlusIcon } from 'components/shared/CustomIcon';
const Projects = () => { const Projects = () => {
const client = useGQLClient(); const client = useGQLClient();
@ -40,9 +42,7 @@ const Projects = () => {
</div> </div>
<div> <div>
<Link to="projects/create"> <Link to="projects/create">
<Button className="rounded-full" color="blue" placeholder={''}> <Button leftIcon={<PlusIcon />}>Create project</Button>
Create project
</Button>
</Link> </Link>
</div> </div>
</div> </div>