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

refactor: margin #42

Merged
merged 2 commits into from
Aug 5, 2023
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
19 changes: 0 additions & 19 deletions .github/mergeable.yml

This file was deleted.

2 changes: 1 addition & 1 deletion components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function Footer() {
];

return (
<footer class="flex flex-col md:flex-row w-full gap-8 md:gap-16 px-8 py-8 text-sm">
<footer class="flex flex-col md:flex-row w-full gap-8 md:gap-16 px-4 py-8 text-sm">
<div class="flex-1">
<div class="flex items-center gap-1">
<Campfire class="inline-block" />
Expand Down
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function Header({ title }: { title: string }) {
{ name: <IconActivity />, href: "https://9renpoto.github.io/upptime/" },
];
return (
<header class="w-full py-6 px-8 flex flex-col md:flex-row gap-4">
<header class="w-full py-6 px-4 flex flex-col md:flex-row gap-4">
<div class="flex items-center flex-1">
<Campfire />
<a href="/">
Expand Down
2 changes: 1 addition & 1 deletion routes/entry/[...all].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function PostPage(props: PageProps<Post>) {
<style dangerouslySetInnerHTML={{ __html: CSS }} />
</Head>
<main class="flex-grow max-w-screen-md w-full px-4 pt-4 mx-auto">
<h1 class="text-5xl font-bold">{post.title}</h1>
<h1 class="text-2xl font-bold">{post.title}</h1>
<time class="text-gray-500">
{new Date(post.publishedAt).toLocaleDateString("en-us", {
year: "numeric",
Expand Down
2 changes: 1 addition & 1 deletion routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function PostCard({ post }: { post: Post }) {
return (
<div class="flex-grow py-8 border(t gray-200)">
<a class="sm:col-span-2" href={`/entry/${post.slug}`}>
<h3 class="text(3xl gray-900) font-bold">
<h3 class="text(2xl gray-900) font-bold">
{post.title}
</h3>
<time class="text-gray-500">
Expand Down