diff --git a/packages/frontend/src/components/Sidebar.tsx b/packages/frontend/src/components/Sidebar.tsx index f8d14cff..5246d4eb 100644 --- a/packages/frontend/src/components/Sidebar.tsx +++ b/packages/frontend/src/components/Sidebar.tsx @@ -1,6 +1,8 @@ import React from 'react'; import { Link, NavLink } from 'react-router-dom'; +import { Card, CardBody, Typography } from '@material-tailwind/react'; + const Sidebar = () => { return (
@@ -10,13 +12,17 @@ const Sidebar = () => {

Snowball

-
Organization
+ + + Organization + +
(isActive ? 'text-blue-500' : '')} > - Projects + Projects
@@ -24,7 +30,7 @@ const Sidebar = () => { to="/settings" className={({ isActive }) => (isActive ? 'text-blue-500' : '')} > - Settings + Settings
diff --git a/packages/frontend/src/components/projects/ProjectCard.tsx b/packages/frontend/src/components/projects/ProjectCard.tsx index fa312696..25125700 100644 --- a/packages/frontend/src/components/projects/ProjectCard.tsx +++ b/packages/frontend/src/components/projects/ProjectCard.tsx @@ -6,6 +6,7 @@ import { MenuHandler, MenuList, MenuItem, + Typography, } from '@material-tailwind/react'; import { relativeTime } from '../../utils/time'; @@ -21,10 +22,12 @@ const ProjectCard: React.FC = ({ project }) => {
{project.icon}
- - {project.name} + + {project.name} + + {project.domain} + -

{project.domain}

@@ -36,12 +39,14 @@ const ProjectCard: React.FC = ({ project }) => {
-
-

{project.latestCommit.message}

-

+

+ + {project.latestCommit.message} + + {relativeTime(project.latestCommit.createdAt)} on{' '} {project.latestCommit.branch} -

+
); diff --git a/packages/frontend/src/components/projects/ProjectSearch.tsx b/packages/frontend/src/components/projects/ProjectSearch.tsx index b2d5e1fc..baf37937 100644 --- a/packages/frontend/src/components/projects/ProjectSearch.tsx +++ b/packages/frontend/src/components/projects/ProjectSearch.tsx @@ -57,12 +57,16 @@ const ProjectSearch = ({ onChange }: ProjectsSearchProps) => {
-

Suggestions

+
+ + Suggestions + +
{items.map((item, index) => ( = ({ repository }) => { return ( -
+
^

diff --git a/packages/frontend/src/components/projects/create/RepositoryList.tsx b/packages/frontend/src/components/projects/create/RepositoryList.tsx index 63a8e783..a0579a9f 100644 --- a/packages/frontend/src/components/projects/create/RepositoryList.tsx +++ b/packages/frontend/src/components/projects/create/RepositoryList.tsx @@ -38,7 +38,7 @@ const RepositoryList = () => { return (

-
+