Skip to content

Commit

Permalink
fix(Client/Core): Home Page - Feature Style
Browse files Browse the repository at this point in the history
  • Loading branch information
IntelligentQuantum committed Jul 22, 2023
1 parent f597d06 commit 8089fcc
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const BlogsCard = () =>
alt='WoW CMS 3'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</span>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const BlogsHot = ({ active, item }: Props) =>
alt={ item.alt }
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
<div>
<span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const BlogsNew = ({ active, item }: Props) =>
alt={ item.alt }
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const CommentHeader =
alt='MasterCard'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</div>

Expand Down
5 changes: 3 additions & 2 deletions apps/client/src/components/features/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ const Features = ({ index, item }: Props) =>
<span>
<span>
<Image
src={ `${ apiData.path }/account/uploaded-image/feature/${ item.image }` }
alt={ item.title }
src={ `${ apiData.path }account/uploaded-image/feature/${ item.image }` }
alt={ item['title_' + locale] }
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</span>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const Footer = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'contain' }}
sizes={'100'}
/>
</span>

Expand Down Expand Up @@ -110,6 +111,7 @@ const Footer = () =>
alt='Paypal'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</Link>
</li>
Expand All @@ -120,6 +122,7 @@ const Footer = () =>
alt='MasterCard'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</Link>
</li>
Expand All @@ -130,6 +133,7 @@ const Footer = () =>
alt='Paypal'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</Link>
</li>
Expand All @@ -140,6 +144,7 @@ const Footer = () =>
alt='Paypal'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</Link>
</li>
Expand All @@ -150,6 +155,7 @@ const Footer = () =>
alt='Paypal'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</Link>
</li>
Expand All @@ -160,6 +166,7 @@ const Footer = () =>
alt='Paypal'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</Link>
</li>
Expand All @@ -170,6 +177,7 @@ const Footer = () =>
alt='Paypal'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</Link>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const Navbar = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'contain' }}
sizes={'100'}
/>
</span>

Expand Down Expand Up @@ -82,6 +83,7 @@ const Navbar = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'contain' }}
sizes={'100'}
/>
</span>

Expand Down
30 changes: 0 additions & 30 deletions apps/client/src/data/faq.data.json

This file was deleted.

32 changes: 0 additions & 32 deletions apps/client/src/data/features.data.json

This file was deleted.

3 changes: 3 additions & 0 deletions apps/client/src/pages/blogs/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ const Blog = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</span>
</span>
Expand All @@ -223,6 +224,7 @@ const Blog = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</span>
<div>
Expand Down Expand Up @@ -387,6 +389,7 @@ const Blog = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
</span>
<div>
Expand Down
5 changes: 5 additions & 0 deletions apps/client/src/pages/blogs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const Blogs = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
<div>
<span>
Expand Down Expand Up @@ -120,6 +121,7 @@ const Blogs = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
<div>
<span>
Expand Down Expand Up @@ -156,6 +158,7 @@ const Blogs = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
<div>
<span>
Expand Down Expand Up @@ -192,6 +195,7 @@ const Blogs = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
<div>
<span>
Expand Down Expand Up @@ -228,6 +232,7 @@ const Blogs = () =>
alt='WoW CMS'
fill
style={{ objectFit: 'cover' }}
sizes={'100'}
/>
<div>
<span>
Expand Down
4 changes: 3 additions & 1 deletion apps/client/src/styles/pages/home.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@
flex-direction: column;
gap: 2rem;

max-width: 40%;
width: 40%;

@media only screen and (max-width: 850px)
{
Expand All @@ -1165,6 +1165,8 @@
line-height: 2.75rem;
font-weight: 500;
font-size: 2rem;
max-width: 95%;
word-break: break-all;
}
}

Expand Down

0 comments on commit 8089fcc

Please sign in to comment.