-
Notifications
You must be signed in to change notification settings - Fork 11
Tag implementation #302
base: master
Are you sure you want to change the base?
Tag implementation #302
Changes from 9 commits
e27d5c1
0992af9
47e7588
9184a02
65ea518
433df46
049ff01
cebfe5c
50a96a9
d2684c3
c7c675c
4f8742d
ec37f62
27704b8
83ec775
8f03403
1a17733
fb7b4ec
9973823
99be361
23b1585
a1e9e08
eaba593
7d82d08
65e4130
d5ed851
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,16 +11,6 @@ | |
| <time datetime="{{date format="YYYY-MM-DD"}}"> | ||
| {{date format="D MMM YYYY"}} | ||
| </time> | ||
| <span> | ||
| Tags: | ||
| {{#foreach tags}} | ||
| <span class="gh-post-meta-content-item"> | ||
| <a href={{url}}> | ||
| {{name}} | ||
| </a> | ||
| </span> | ||
| {{/foreach}} | ||
| </span> | ||
| <span> | ||
| Written by: | ||
| {{#foreach authors}} | ||
|
|
@@ -31,6 +21,19 @@ | |
| </span> | ||
| {{/foreach}} | ||
| </span> | ||
| <span> | ||
| {{reading_time}} | ||
| </span> | ||
| </span> | ||
|
|
||
| <span class="flex flex-wrap content-center gap-4 justify-center"> | ||
| {{#foreach tags}} | ||
| <div class="flex-none text-base text-black hover:underline border-2 border-black hover:border-yellow-500 rounded-full px-3"> | ||
| <a href={{url}}> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On second thought, I think having underline for this doesn't fit well... could you add a class to disable the underline on hover?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, can the text here be of the same colour as the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "same colour as the span above?" Im not sure which element youre referring to. It could be:
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm referring to the light grey color. Apologies for the ambiguity!
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
| {{name}} | ||
| </a> | ||
| </div> | ||
| {{/foreach}} | ||
| </span> | ||
|
|
||
| {{#if custom_excerpt}} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,17 @@ module.exports = { | |
| ], | ||
| darkMode: false, // or 'media' or 'class' | ||
| theme: { | ||
| extend: {}, | ||
| extend: { | ||
| typography: { | ||
| DEFAULT: { | ||
| css: { | ||
| a: { | ||
| textDecoration: "none", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not a big fan of this as it leaves users with no visual indication of hyperlinks, and makes life difficult if we don't use other colours to distinguish.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we revert the changes in
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| variants: { | ||
| extend: {}, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good if, on hover, the background darkens slightly. See https://material-ui.com/components/chips/ for an example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done