Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix blog style #16

Merged
merged 3 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading