Skip to content

Commit

Permalink
improve mobile design
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie85270 committed Jan 22, 2021
1 parent 9faae76 commit 5374ffe
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
build/
out/
out/
.DS_STORE
2 changes: 1 addition & 1 deletion components/site/section/SectionDesc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const SectionDesc = ({ title, items, id, hasCommingSoon }: Props) => {
return (
<div
key={section.title}
className="hover:opacity-100 border rounded-lg w-1/3 m-2 md:m-0 md:w-1/5"
className="hover:opacity-100 border rounded-lg w-full sm:w-1/3 m-2 md:m-0 md:w-1/5"
>
<Link href={section.link}>
<a className="">
Expand Down
22 changes: 12 additions & 10 deletions pages/started/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,18 @@ const StartedPage: FC = () => {
</svg>
Once Tailwind CSS is installed, you can get started!
</p>
<Link href="/components">
<a className="w-44 mb-4 px-4 py-3 mt-8 text-base font-medium rounded-md text-center text-white bg-gray-800 hover:bg-gray-700">
&#129513; See components!
</a>
</Link>
<Link href="/templates">
<a className="w-44 mb-4 px-4 py-3 ml-4 text-base font-medium rounded-md text-center text-white bg-gray-800 hover:bg-gray-700">
&#127912; See templates!
</a>
</Link>
<div className="md:flex md:items-center md:space-x-4">
<Link href="/components">
<a className="w-auto block mb-4 px-4 py-3 text-base font-medium rounded-md text-center text-white bg-gray-800 hover:bg-gray-700">
&#129513; See components!
</a>
</Link>
<Link href="/templates">
<a className="w-auto block mb-4 px-4 py-3 text-base font-medium rounded-md text-center text-white bg-gray-800 hover:bg-gray-700">
&#127912; See templates!
</a>
</Link>
</div>
</div>
</div>
<div
Expand Down

0 comments on commit 5374ffe

Please sign in to comment.