Skip to content
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
16 changes: 16 additions & 0 deletions src/components/home/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,22 @@ export default function MenuButton() {
</Link>
)}
</Menu.Item>
<Menu.Item>
{({ active }) => (
<Link href="/blog">
<a
className={classNames(
active
? 'bg-gray-100 text-gray-900 dark:bg-gray-700 dark:text-white'
: 'text-gray-700 hover:bg-gray-200 dark:text-gray-200 dark:hover:bg-gray-700',
'block w-full px-4 py-2 text-left text-base'
)}
>
Blog
</a>
</Link>
)}
</Menu.Item>
<Menu.Item>
{({ active }) => (
<Link href="/license">
Expand Down
13 changes: 9 additions & 4 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,28 @@ p {
@apply text-gray-500 dark:text-gray-300;
}

p a,.prose a {
@apply text-blue-500 dark:text-blue-300 no-underline hover:underline;
p a,
.prose a {
@apply text-blue-500 no-underline hover:underline dark:text-blue-300;
}

.prose p code,
li code {
@apply text-gray-700 dark:text-white bg-gray-200 dark:bg-gray-600;
@apply bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-white;
}

hr {
@apply border-gray-300 dark:border-gray-700;
}

thead tr th {
@apply text-gray-700 dark:text-white bg-gray-200 dark:bg-gray-600;
@apply bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-white;
}

.prose {
@apply text-gray-500 dark:text-gray-300;
}

.prose strong {
font-weight: 700;
}