Skip to content

Commit

Permalink
Merge pull request #16 from winc1980/fix-blog-style
Browse files Browse the repository at this point in the history
Fix blog style
  • Loading branch information
fumaSuzuki authored Oct 2, 2024
2 parents bf808e5 + 3c56cdb commit f66de44
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/layouts/BlogLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,6 @@ if (database.Icon && database.Icon.Type === 'file') {

/* Hack */
overflow-x: hidden;

-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
}

Expand Down
26 changes: 24 additions & 2 deletions src/pages/works/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,33 @@ const og_image = ''
</section>
<section id="works-list-cards" class="p-works-list-cards">
<div class="l-container">
<h2>Webサイト制作</h2>
<h2>Webサイト制作(案件)</h2>
<ul>
{
response.contents.map((content: any) =>
content.product_category[0] != 'Webアプリ開発' ? (
content.product_category[0] != 'Webアプリ開発' &&
content.product_category[0] != 'Webサイト制作(自由制作)' ? (
<li>
<a href={'/works/' + content.id}>
<Image
src={content.pc_image.url}
alt={content.title + 'のPC画像'}
width={content.pc_image.width}
height={content.pc_image.height}
/>
</a>
<p>{content.product_category}</p>
<a href={'/works/' + content.id}>{content.title}</a>
</li>
) : null
)
}
</ul>
<h2>Webサイト制作(自由制作)</h2>
<ul>
{
response.contents.map((content: any) =>
content.product_category[0] === 'Webサイト制作(自由制作)' ? (
<li>
<a href={'/works/' + content.id}>
<Image
Expand Down

0 comments on commit f66de44

Please # to comment.