Skip to content

Commit

Permalink
feat(components): no underline
Browse files Browse the repository at this point in the history
Signed-off-by: captain-Akshay <[email protected]>
  • Loading branch information
captain-Akshay committed Apr 23, 2024
1 parent 0443679 commit 8a221f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/custom/SetupPrerequisite/SetupPrerequisite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface SetupItem {
heading: string;
description: string;
Icon: JSX.Element;
onClick: () => void;
url: string;
}
interface SetupPreReqProps {
Steps: SetupItem[];
Expand All @@ -24,7 +24,7 @@ const SetupPreReq: React.FC<SetupPreReqProps> = ({ Steps, PrerequisiteLine }) =>
<ContainerCardWrapper id="Set up">
{Steps.map((item) => {
return (
<Card>
<Card href={item.url} target="_blank">
<CardHeader>
<h2>{item.heading}</h2>
{item.Icon}
Expand Down
5 changes: 3 additions & 2 deletions src/custom/SetupPrerequisite/style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ const SetupPreReqWrapper = styled('div')({
const ContainerCardWrapper = styled('div')(({ theme }) => ({
display: 'flex',
cursor: 'pointer',
'& div': {
'& a': {
color: theme.palette.text.primary,
margin: '1rem'
}
}));

const Card = styled('div')(({ theme }) => ({
const Card = styled('a')(({ theme }) => ({
padding: '2rem',
textDecoration: 'none',
background: theme.palette.mode === 'light' ? '#EEEEEE' : '#212121',
maxWidth: '20rem',
minHeight: '21.5rem',
Expand Down

0 comments on commit 8a221f5

Please sign in to comment.