Skip to content

Commit 548cf4a

Browse files
author
Arghya Ghosh
authored
Merge pull request #138 from javaistic/dev
Update Menu & `font-weight`
2 parents 4819150 + c275383 commit 548cf4a

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

src/components/home/Menu.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@ export default function MenuButton() {
8080
</Link>
8181
)}
8282
</Menu.Item>
83+
<Menu.Item>
84+
{({ active }) => (
85+
<Link href="/blog">
86+
<a
87+
className={classNames(
88+
active
89+
? 'bg-gray-100 text-gray-900 dark:bg-gray-700 dark:text-white'
90+
: 'text-gray-700 hover:bg-gray-200 dark:text-gray-200 dark:hover:bg-gray-700',
91+
'block w-full px-4 py-2 text-left text-base'
92+
)}
93+
>
94+
Blog
95+
</a>
96+
</Link>
97+
)}
98+
</Menu.Item>
8399
<Menu.Item>
84100
{({ active }) => (
85101
<Link href="/license">

src/css/main.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,28 @@ p {
2727
@apply text-gray-500 dark:text-gray-300;
2828
}
2929

30-
p a,.prose a {
31-
@apply text-blue-500 dark:text-blue-300 no-underline hover:underline;
30+
p a,
31+
.prose a {
32+
@apply text-blue-500 no-underline hover:underline dark:text-blue-300;
3233
}
3334

3435
.prose p code,
3536
li code {
36-
@apply text-gray-700 dark:text-white bg-gray-200 dark:bg-gray-600;
37+
@apply bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-white;
3738
}
3839

3940
hr {
4041
@apply border-gray-300 dark:border-gray-700;
4142
}
4243

4344
thead tr th {
44-
@apply text-gray-700 dark:text-white bg-gray-200 dark:bg-gray-600;
45+
@apply bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-white;
4546
}
4647

4748
.prose {
4849
@apply text-gray-500 dark:text-gray-300;
4950
}
51+
52+
.prose strong {
53+
font-weight: 700;
54+
}

0 commit comments

Comments
 (0)