Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions bin/dev-logs.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
// dev-logs.php
// Used by `composer run dev` as the "logs" process in concurrently.
// On Windows, keeps the slot alive; on Unix, runs pail.
if (PHP_OS_FAMILY === 'Windows') {
while (true) { usleep(100000); }
} else {
passthru('php artisan pail --timeout=0');
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve --host=localhost\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve --host=localhost\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php bin/dev-logs.php\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
],
"lint": [
"pint --parallel"
Expand Down
21 changes: 20 additions & 1 deletion resources/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,28 @@
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';

@font-face {
font-family: 'Anek Bangla';
font-style: normal;
font-display: swap;
font-weight: 100 800;
font-stretch: 75% 125%;
src: url('../fonts/anek-bangla-bengali.woff2') format('woff2-variations');
unicode-range:
U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6,
U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D,
U+20B9, U+25CC, U+A8F1;
}

@theme inline {
--font-sans:
Instrument Sans, ui-sans-serif, system-ui, sans-serif,
Instrument Sans, 'Anek Bangla', ui-sans-serif, system-ui, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
}

@layer base {
body {
font-stretch: 96%;
}
}
Binary file added resources/fonts/anek-bangla-bengali.woff2
Binary file not shown.