Skip to content

Commit

Permalink
Made homepage and todo more mobile friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
Xithrius committed Aug 21, 2023
1 parent 8d97d27 commit 5b3e7da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion site/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function Home() {
<link rel="icon" href="/logo.png" />
</Head>
<Container>
<main className="flex flex-1 flex-col items-center justify-center text-center">
<main className="flex flex-1 flex-col items-center justify-center text-center my-24">
<div className="text-[10vw]">
<Stamp />
</div>
Expand Down
14 changes: 8 additions & 6 deletions site/pages/todo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface todoProps {
}

const TodoList = ({ year, items }: todoProps) => (
<div className="min-h-full">
<div>
<div className="mb-5 flex justify-center text-3xl">{year}</div>
<table className="table-auto border-collapse">
<thead className="font-bold">
Expand Down Expand Up @@ -65,13 +65,15 @@ export default function Home() {
<link rel="icon" href="/logo.png" />
</Head>
<Container>
<main className="flex w-screen flex-wrap content-start items-center justify-center gap-10 p-10 text-[1rem]">
{todo.map((e) => {
return <TodoList key={e.year} year={e.year} items={e.items} />;
})}
<main className="flex w-screen flex-col flex-wrap items-center justify-center gap-10 p-10 text-[1rem]">
{todo
.map((e) => {
return <TodoList key={e.year} year={e.year} items={e.items} />;
})
.reverse()}
<ThemeSwitch />
<TopLeftNavigation href="/">
<Stamp/>
<Stamp />
</TopLeftNavigation>
</main>
</Container>
Expand Down

1 comment on commit 5b3e7da

@vercel
Copy link

@vercel vercel bot commented on 5b3e7da Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

xithrius-cloud – ./

xithrius-cloud-xithrius.vercel.app
xithrius.cloud
xithrius-cloud-git-main-xithrius.vercel.app

Please sign in to comment.