release: WRNexusJS 0.2.51
This commit is contained in:
@@ -1 +1,12 @@
|
||||
component ErrorState { props { code = "500" title = "Something went wrong" description = "Please try again." actionLabel = "Try again" actionHref = "/" } view { <div class="mx-auto max-w-2xl px-4 py-24 text-center"><div class="text-8xl font-black text-violet-100 dark:text-violet-950">{code}</div><h1 class="-mt-4 text-3xl font-black">{title}</h1><p class="mt-4 text-slate-500">{description}</p><a href="{actionHref}" class="mt-8 inline-flex min-h-12 items-center rounded-xl bg-violet-600 px-5 font-semibold text-white">{actionLabel}</a></div> } }
|
||||
component ErrorState {
|
||||
props {
|
||||
code = "500"
|
||||
title = "Something went wrong"
|
||||
description = "Please try again."
|
||||
actionLabel = "Try again"
|
||||
actionHref = "/"
|
||||
}
|
||||
view {
|
||||
<div class="mx-auto max-w-2xl px-4 py-24 text-center"><div class="text-8xl font-black text-violet-100 dark:text-violet-950">{code}</div><h1 class="-mt-4 text-3xl font-black">{title}</h1><p class="mt-4 text-slate-500">{description}</p><a href="{actionHref}" class="mt-8 inline-flex min-h-12 items-center rounded-xl bg-violet-600 px-5 font-semibold text-white">{actionLabel}</a></div>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user