mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 23:35:30 +08:00
Merge branch '3.x' into dont-require-tenant-to-get-billing-url
This commit is contained in:
@@ -11,7 +11,7 @@ class BunnyFontProvider implements Contracts\FontProvider
|
||||
public function getHtml(string $family, ?string $url = null): Htmlable
|
||||
{
|
||||
$family = Str::kebab($family);
|
||||
$url ??= "https://fonts.bunny.net/css?family={$family}:400,500;600,700&display=swap";
|
||||
$url ??= "https://fonts.bunny.net/css?family={$family}:400,500,600,700&display=swap";
|
||||
|
||||
return new HtmlString("
|
||||
<link rel=\"preconnect\" href=\"https://fonts.bunny.net\">
|
||||
|
||||
Reference in New Issue
Block a user