Skip to content

Commit

Permalink
Tweak tag sizes & styling
Browse files Browse the repository at this point in the history
  • Loading branch information
breadthe committed Jan 31, 2024
1 parent 5bb4895 commit 738aa08
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
// font pixel size for tag cloud
function tagSize (?int $count): int {
if ($count <= 2) {
return 10;
} elseif ($count <= 5) {
return 12;
} elseif ($count <= 5) {
return 13;
} elseif ($count <= 10) {
return 14;
} elseif ($count <= 15) {
return 16;
return 15;
} elseif ($count <= 20) {
return 18;
return 16;
} elseif ($count <= 25) {
return 20;
return 18;
} elseif ($count <= 30) {
return 22;
return 20;
} elseif ($count > 30) {
return 24;
return 22;
} else {
return 16;
}
Expand Down
2 changes: 1 addition & 1 deletion source/_layouts/tag.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@endpush

@section('hero')
<x-hero :title="$page->title" :description="$page->description" />
<x-hero title="{{ '#' . $page->title }}" :description="$page->description" />
@endsection

@section('body')
Expand Down
2 changes: 1 addition & 1 deletion source/_tags/apex-charts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
extends: _layouts.tag
title: ApexCharts
title: Apex-Charts
description: Data visualization and charting with ApexCharts.
---

Expand Down
2 changes: 1 addition & 1 deletion source/_tags/dev-tools.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
extends: _layouts.tag
title: DevTools
title: Dev-Tools
description: Developer tools.
---

Expand Down
2 changes: 1 addition & 1 deletion source/_tags/side-project.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
extends: _layouts.tag
title: Side Project
title: Side-Project
description: Discussions on the many fun side projects I've worked on over the years.
---

Expand Down

0 comments on commit 738aa08

Please sign in to comment.