New blog and homepage focus
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m43s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m43s
This commit is contained in:
@@ -26,6 +26,41 @@ import { config } from "../config";
|
||||
{config.personalInfo.tagline}
|
||||
</h2>
|
||||
|
||||
{
|
||||
config.personalInfo.currentFocus && (
|
||||
<>
|
||||
<h3 class="text-lg sm:text-2xl font-bold">
|
||||
{config.homepageSections.currentFocus.title}
|
||||
</h3>
|
||||
|
||||
<div class="flex flex-wrap gap-2 justify-center mx-6">
|
||||
{config.personalInfo.currentFocus.map((focus) => {
|
||||
const badgeClass =
|
||||
focus.style === "primary"
|
||||
? "badge badge-primary"
|
||||
: focus.style === "secondary"
|
||||
? "badge badge-secondary"
|
||||
: focus.style === "accent"
|
||||
? "badge badge-accent"
|
||||
: focus.style === "neutral"
|
||||
? "badge badge-neutral"
|
||||
: focus.style === "info"
|
||||
? "badge badge-info"
|
||||
: focus.style === "success"
|
||||
? "badge badge-success"
|
||||
: focus.style === "warning"
|
||||
? "badge badge-warning"
|
||||
: focus.style === "error"
|
||||
? "badge badge-error"
|
||||
: "badge";
|
||||
|
||||
return <span class={badgeClass}>{focus.label}</span>;
|
||||
})}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
<h3 class="text-lg sm:text-2xl font-bold">
|
||||
{config.homepageSections.socialLinks.title}
|
||||
</h3>
|
||||
|
||||
Reference in New Issue
Block a user