Skip to content

Commit 3b65ce7

Browse files
committed
font
1 parent ee2fcc8 commit 3b65ce7

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

resources/js/pages/Welcome.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ function handleImageError() {
1717
</script>
1818

1919
<template>
20-
<Head title="Welcome" />
20+
<Head title="Welcome">
21+
<link rel="preconnect" href="https://fonts.bunny.net" />
22+
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
23+
</Head>
2124
<div class="bg-gray-50 text-black/50 dark:bg-black dark:text-white/50">
2225
<img id="background" class="absolute -left-20 top-0 max-w-[877px]" src="https://laravel.com/assets/img/welcome/background.svg" />
2326
<div class="relative flex min-h-screen flex-col items-center justify-center selection:bg-[#FF2D20] selection:text-white">

resources/views/app.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
<title inertia>{{ config('app.name', 'Laravel') }}</title>
88

9-
<!-- Scripts -->
9+
<link rel="preconnect" href="https://fonts.bunny.net" />
10+
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
11+
1012
@routes
1113
@vite(['resources/js/app.ts'])
1214
@inertiaHead

tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
theme: {
1313
extend: {
1414
fontFamily: {
15-
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
15+
sans: ['Figtree', ...defaultTheme.fontFamily.sans],
1616
},
1717
borderRadius: {
1818
lg: 'var(--radius)',

0 commit comments

Comments
 (0)