Skip to content

Commit

Permalink
chore: update files
Browse files Browse the repository at this point in the history
  • Loading branch information
haru52 committed Jul 6, 2024
1 parent aa97ce0 commit 857ced2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
5 changes: 4 additions & 1 deletion src/app/[userScreenName]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ export default async function Page({
</div>
</div>
{session?.user.id === user.id && (
<Link href={`${user.screenName}/edit`} className="btn btn-primary">
<Link
href={`${user.screenName}/edit`}
className="btn btn-primary rounded-full"
>
プロフィールを編集
</Link>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/app/_components/[userScreenName]/edit-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export function EditForm({ user }: { user: User }) {
<input
type="submit"
value={isPending ? "保存中…" : "保存"}
className="btn btn-primary btn-block"
className="btn btn-primary btn-block rounded-full"
disabled={isPending}
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/_components/post-edit-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function PostEditForm({
<input
type="submit"
value={updatePost.isPending ? "保存中…" : "保存"}
className="btn btn-primary"
className="btn btn-primary rounded-full"
disabled={updatePost.isPending}
/>
<button
Expand Down
2 changes: 1 addition & 1 deletion src/app/_components/socials/create-social-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function CreateSocialForm() {
<input
type="submit"
value={isPending ? "作成中…" : "作成"}
className="btn btn-primary btn-block"
className="btn btn-primary btn-block rounded-full"
disabled={isPending}
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/socials/new/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CreateSocialForm } from "~/app/_components/socials/create-social-form";
export default function Page() {
return (
<div className="container prose mx-auto mb-10 mt-5 px-4">
<h1>ソーシャルを作成</h1>
<h1 className="text-center">ソーシャルを作成</h1>
<CreateSocialForm />
</div>
);
Expand Down
5 changes: 4 additions & 1 deletion src/app/socials/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ export default async function Page() {
<div className="container prose mx-auto mb-10 mt-5 px-4">
<h1 className="text-center">ソーシャル</h1>
{session !== null && (
<Link href="/socials/new" className="btn btn-primary w-full">
<Link
href="/socials/new"
className="btn btn-primary w-full rounded-full"
>
ソーシャルを作成
</Link>
)}
Expand Down

0 comments on commit 857ced2

Please sign in to comment.