Compare commits

..

1 commit

Author SHA1 Message Date
0849830be2
chore: remove font files other than woff2
woff2 has such a high support percentage that the others are no longer needed: https://caniuse.com/?search=woff
2025-05-05 22:47:22 +02:00
10 changed files with 9 additions and 20 deletions

View file

@ -30,13 +30,10 @@ class ExportController extends Controller
}
array_push($list, ["heatRating" => $rating, "ratingCount" => $count]);
}
return view(
'front.exports',
[
'title' => "Exports",
'list' => $list
]
);
return view('front.exports', [
'title' => "Exports",
'list' => $list
]);
}
//
@ -80,7 +77,7 @@ class ExportController extends Controller
}
header('Content-Type: text/csv');
header('Content-Disposition: attachment; filename=' . $type . "-" . $percent . ".csv");
header('Content-Disposition: attachment; filename=' . $type . "-" . $percent);
echo implode(',', $columns) . PHP_EOL;
foreach ($list as $item) {

View file

@ -1,36 +1,28 @@
/* RUBIK */
@font-face {
font-family: rubik;
src: url("fonts/Rubik/rubik-light.ttf") format("truetype"),
url("fonts/Rubik/rubik-light.woff") format("woff"),
url("fonts/Rubik/rubik-light.woff2") format("woff2");
src: url("fonts/Rubik/rubik-light.woff2") format("woff2");
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: rubik;
src: url("fonts/Rubik/rubik-regular.ttf") format("truetype"),
url("fonts/Rubik/rubik-regular.woff") format("woff"),
url("fonts/Rubik/rubik-regular.woff2") format("woff2");
src: url("fonts/Rubik/rubik-regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: rubik;
src: url("fonts/Rubik/rubik-medium.ttf") format("truetype"),
url("fonts/Rubik/rubik-medium.woff") format("woff"),
url("fonts/Rubik/rubik-medium.woff2") format("woff2");
src: url("fonts/Rubik/rubik-medium.woff2") format("woff2");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: rubik;
src: url("fonts/Rubik/rubik-bold.ttf") format("truetype"),
url("fonts/Rubik/rubik-bold.woff") format("woff"),
url("fonts/Rubik/rubik-bold.woff2") format("woff2");
src: url("fonts/Rubik/rubik-bold.woff2") format("woff2");
font-weight: 600;
font-style: normal;
}