mirror of
https://github.com/Spythere/spythere-portfolio.git
synced 2026-05-04 22:18:19 +00:00
fix(about): invalid p tag descendant
This commit is contained in:
@@ -54,22 +54,22 @@ export const StyledAbout = styled.section`
|
|||||||
|
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
background-color: ${({ theme }) => theme.colors['600']};
|
background-color: ${({ theme }) => theme.colors['600']};
|
||||||
|
}
|
||||||
|
|
||||||
.stat-item-icon {
|
.stat-item-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
background-color: ${({ theme }) => theme.colors['600']};
|
background-color: ${({ theme }) => theme.colors['600']};
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
.stat-item-text {
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: ${deviceSize.md}) {
|
@media screen and (max-width: ${deviceSize.md}) {
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ function AboutSection() {
|
|||||||
|
|
||||||
<h2>{t('about.brief-1-title')}</h2>
|
<h2>{t('about.brief-1-title')}</h2>
|
||||||
|
|
||||||
<p>{t('about.brief-1-content')}</p>
|
<div className="stat-item-text">{t('about.brief-1-content')}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="stat-item">
|
<div className="stat-item">
|
||||||
@@ -77,7 +77,7 @@ function AboutSection() {
|
|||||||
|
|
||||||
<h2>{t('about.brief-2-title')}</h2>
|
<h2>{t('about.brief-2-title')}</h2>
|
||||||
|
|
||||||
<p>{t('about.brief-2-content')}</p>
|
<div className="stat-item-text">{t('about.brief-2-content')}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="stat-item">
|
<div className="stat-item">
|
||||||
@@ -87,7 +87,7 @@ function AboutSection() {
|
|||||||
|
|
||||||
<h2>{t('about.brief-3-title')}</h2>
|
<h2>{t('about.brief-3-title')}</h2>
|
||||||
|
|
||||||
<p>{t('about.brief-3-content')}</p>
|
<div className="stat-item-text">{t('about.brief-3-content')}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="stat-item">
|
<div className="stat-item">
|
||||||
@@ -97,14 +97,14 @@ function AboutSection() {
|
|||||||
|
|
||||||
<h2>{t('about.brief-4-title')}</h2>
|
<h2>{t('about.brief-4-title')}</h2>
|
||||||
|
|
||||||
<p>
|
<div className="stat-item-text">
|
||||||
<div>
|
<div>
|
||||||
<FaVuejs size={30} color="seagreen" /> Vue
|
<FaVuejs size={30} color="seagreen" /> Vue
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<SiNestjs size={30} color="#fc466b" /> NestJS
|
<SiNestjs size={30} color="#fc466b" /> NestJS
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</StyledAbout>
|
</StyledAbout>
|
||||||
|
|||||||
Reference in New Issue
Block a user