Skip to content

Commit

Permalink
style: adjust Home Summary and SkillCard
Browse files Browse the repository at this point in the history
  • Loading branch information
martapanc committed Feb 14, 2024
1 parent d24d64d commit 9a2a01d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/molecules/SkillCard/SkillCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const SkillCard = ({ skill }: SkillCardProps) => {
))}
</div>

<h3>{skill.title}</h3>
<h3 className='text-2xl font-semibold my-1'>{skill.title}</h3>

<span className='skill-description text-justify font-light'>
<ReactMarkdown>{skill.description}</ReactMarkdown>
Expand Down
3 changes: 2 additions & 1 deletion src/components/organisms/home/Summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Link from 'next/link';
import React from 'react';
import ReactMarkdown from 'react-markdown';
import reactStringReplace from 'react-string-replace';
import rehypeRaw from 'rehype-raw';

import clsxm from '@/lib/clsxm';

Expand Down Expand Up @@ -77,7 +78,7 @@ const Summary = ({ homePage }: SummaryProps) => {
<p className='mb-4'>{introduction_2}</p>

{introductionParts.map((introPart, id) => (
<ReactMarkdown key={id} className='mb-4'>
<ReactMarkdown key={id} className='mb-4' rehypePlugins={[rehypeRaw]}>
{introPart}
</ReactMarkdown>
))}
Expand Down
4 changes: 4 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -299,4 +299,8 @@
opacity: 0;
}
}

.strong {
font-weight: 550;
}
}
3 changes: 3 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export default {
950: 'rgb(var(--tw-color-primary-950) / <alpha-value>)',
},
dark: '#0c1018',
fontWeight: {
strong: '550',
},
},
keyframes: {
flicker: {
Expand Down

0 comments on commit 9a2a01d

Please sign in to comment.