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

Release v1.1.2 #38

Merged
merged 4 commits into from
Jan 1, 2025
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
Binary file modified app/favicon.ico
Binary file not shown.
8 changes: 2 additions & 6 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ const RootLayout: FC<Readonly<Props>> = ({ children }) => {
enableSystem
disableTransitionOnChange
>
<div className="flex flex-col h-dvh">
<Header />
<div className="flex-grow p-4 md:px-6 overflow-auto">
{children}
</div>
</div>
<Header />
<main className="mt-16 p-4 md:px-6">{children}</main>
</ThemeProvider>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion app/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const runtime = "edge";

export default function NotFound() {
return (
<div className="flex h-full flex-col items-center justify-center bg-background text-foreground">
<div className="flex min-h-dvh -mt-24 flex-col items-center justify-center bg-background text-foreground">
<div className="space-y-4 text-center">
<h1 className="font-extrabold text-4xl tracking-tight lg:text-5xl">
404
Expand Down
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const runtime = "edge";

export default async function Home() {
return (
<div className="grid grid-cols-1 md:grid-cols-3 gap-8 h-full pt-24 px-4 text-accent-foreground md:items-center justify-items-center">
<div className="grid grid-cols-1 md:grid-cols-3 gap-8 h-full pt-24 px-4 text-accent-foreground md:items-center justify-items-center -mt-16">
<div className="col-span-1 w-full max-w-md text-center space-y-2">
<div className="space-y-8">
<h1 className="font-bold text-2xl text-blue-600 lg:text-5xl">
Expand Down
2 changes: 1 addition & 1 deletion app/recap/[user]/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const runtime = "edge";

export default function ErrorPage() {
return (
<div className="flex h-full flex-col items-center justify-center bg-background text-foreground">
<div className="flex min-h-dvh -mt-24 flex-col items-center justify-center bg-background text-foreground">
<div className="space-y-4 text-center">
<p className="text-lg">ユーザーの情報を取得できませんでした。</p>
<Separator className="mx-auto w-40" />
Expand Down
12 changes: 6 additions & 6 deletions app/recap/components/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ export const Header: FC = () => {
<SessionProvider>
<header
className={cn(
"flex h-16 items-center justify-between bg-background border-b dark:shadow-current p-6",
"fixed top-0 left-0 right-0 flex h-16 items-center justify-between bg-background border-b dark:shadow-current px-6 py-4 z-50",
isOnTop && "hidden",
)}
>
<div className="flex items-center gap-2">
<Breadcrumbs />
</div>
<div className="flex items-center gap-6">
<div className="flex items-center gap-4">
<Link
href="https://github.com/namidapoo/dev-recap"
target="_blank"
Expand All @@ -35,15 +35,15 @@ export const Header: FC = () => {
<Image
src={GitHubWhite}
alt="GitHub"
width={20}
height={20}
width={30}
height={30}
className="hidden dark:block"
/>
<Image
src={GitHubBlack}
alt="GitHub"
width={20}
height={20}
width={30}
height={30}
className="dark:hidden"
/>
</Link>
Expand Down
4 changes: 2 additions & 2 deletions app/recap/components/user-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export const UserButton: FC = () => {
<DropdownMenuTrigger asChild>
<Button
variant="ghost"
className="relative h-8 w-8 border rounded-full"
className="relative h-10 w-10 border rounded-full"
>
<Avatar className="h-8 w-8">
<Avatar className="h-9 w-9">
{session.user.image && (
<AvatarImage
src={session.user.image}
Expand Down
2 changes: 1 addition & 1 deletion app/recap/loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const runtime = "edge";
export default function Loader() {
return (
<div
className="flex h-full items-center justify-center"
className="flex min-h-dvh -mt-24 items-center justify-center"
aria-label="読み込み中"
>
<div className="h-10 w-10 animate-spin rounded-full border-4 border-blue-700 border-t-transparent" />
Expand Down
Loading