Skip to content

Commit

Permalink
Merge pull request #2369 from JohnDuprey/dev
Browse files Browse the repository at this point in the history
Home page tweaks
  • Loading branch information
JohnDuprey authored Apr 26, 2024
2 parents 70dbbca + 6c8fbbc commit e535b39
Show file tree
Hide file tree
Showing 2 changed files with 311 additions and 254 deletions.
5 changes: 4 additions & 1 deletion src/components/layout/CippContentCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { CCard, CCardBody, CCardHeader, CCardTitle } from '@coreui/react'

export default function CippContentCard({
title,
titleType = 'small',
children,
icon,
button,
Expand All @@ -14,7 +15,9 @@ export default function CippContentCard({
return (
<CCard className={`content-card h-100 ${className ?? ''}`}>
<CCardHeader className="d-flex justify-content-between align-items-center">
<CCardTitle>{title}</CCardTitle>
<CCardTitle>
{titleType === 'big' ? <h3 className="underline mb-3">{title}</h3> : title}
</CCardTitle>
{icon ? <FontAwesomeIcon icon={icon} /> : null}
{button ? button : null}
</CCardHeader>
Expand Down
Loading

0 comments on commit e535b39

Please sign in to comment.