Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: 色を変えてみた #100

Merged
merged 1 commit into from
Mar 15, 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: 1 addition & 1 deletion src/components/atoms/CopyLight.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
const thisYear: number = new Date().getFullYear();
---

<small class="text-yellow-700">
<small class="text-gray-200">
&copy; {thisYear} yukky all right reserved.
</small>
2 changes: 1 addition & 1 deletion src/components/molecules/PostCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { title, description, createdAt, url } = Astro.props;
const dateTypeCreatedAt = new Date(createdAt);
---

<section class="my-5 py-2 w-full bg-amber-50 dark:bg-gray-500 shadow-xl px-8 md:h-60 rounded-lg">
<section class="my-5 py-2 w-full bg-white dark:bg-gray-500 shadow-xl px-8 md:h-60 rounded-lg">
<a href={url} class="w-full hover:opacity-50" data-astro-prefetch>
<div class="flex flex-row justify-between pb-2 md:pb-5">
<div class="flex flex-col">
Expand Down
2 changes: 1 addition & 1 deletion src/components/organisms/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import CopyLight from "../atoms/CopyLight.astro";
---

<footer
class="bg-orange-500 h-16 flex flex-row items-center justify-center dark:bg-slate-700"
class="bg-yellow-900 h-16 flex flex-row items-center justify-center dark:bg-slate-700"
>
<CopyLight />
</footer>
2 changes: 1 addition & 1 deletion src/components/organisms/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import MenuButton from "./MenuButton.astro";
---

<header
class="bg-orange-500 h-20 flex flex-row items-center dark:bg-slate-700 w-screen"
class="bg-yellow-900 h-20 flex flex-row items-center dark:bg-slate-700 w-screen"
>
<Logo />
<HeaderNavigation />
Expand Down
2 changes: 1 addition & 1 deletion src/components/organisms/PostCards.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const posts = await getPosts({

<article class="w-full py-5">
<h1 class="text-center text-4xl font-bold py-5 dark:text-white">記事一覧</h1>
<div class="md:rounded-3xl bg-white dark:bg-neutral-700 p-5">
<div class="md:rounded-3x dark:bg-neutral-700 p-5">
{
posts.contents.map((post) => (
<PostCard
Expand Down
Loading