Skip to content

Commit

Permalink
Remove all external dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianPrieber committed Nov 26, 2022
1 parent 1287fae commit 5600ac0
Show file tree
Hide file tree
Showing 56 changed files with 271 additions and 8 deletions.
2 changes: 1 addition & 1 deletion resources/views/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function themeAsset($path){
<script src="{{ asset('studio/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/fontawesome.css') }}" />

<link href="//fonts.bunny.net/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
@include('layouts.fonts')
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">
@if(file_exists(base_path("littlelink/images/avatar.png" )))
Expand Down
265 changes: 265 additions & 0 deletions resources/views/layouts/fonts.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,265 @@
<style>
/* cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-400-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-400-normal.woff')}} ) format('woff');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-ext-400-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-ext-400-normal.woff')}} ) format('woff');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* greek */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-greek-400-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-greek-400-normal.woff')}} ) format('woff');
unicode-range: U+0370-03FF;
}
/* greek-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-greek-ext-400-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-greek-ext-400-normal.woff')}} ) format('woff');
unicode-range: U+1F00-1FFF;
}
/* hebrew */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-hebrew-400-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-hebrew-400-normal.woff')}} ) format('woff');
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-latin-400-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-latin-400-normal.woff')}} ) format('woff');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-latin-ext-400-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-latin-ext-400-normal.woff')}} ) format('woff');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* vietnamese */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-vietnamese-400-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-vietnamese-400-normal.woff')}} ) format('woff');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-600-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-600-normal.woff')}} ) format('woff');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-ext-600-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-ext-600-normal.woff')}} ) format('woff');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* greek */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-greek-600-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-greek-600-normal.woff')}} ) format('woff');
unicode-range: U+0370-03FF;
}
/* greek-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-greek-ext-600-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-greek-ext-600-normal.woff')}} ) format('woff');
unicode-range: U+1F00-1FFF;
}
/* hebrew */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-hebrew-600-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-hebrew-600-normal.woff')}} ) format('woff');
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-latin-600-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-latin-600-normal.woff')}} ) format('woff');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-latin-ext-600-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-latin-ext-600-normal.woff')}} ) format('woff');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* vietnamese */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-vietnamese-600-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-vietnamese-600-normal.woff')}} ) format('woff');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-800-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-800-normal.woff')}} ) format('woff');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-ext-800-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-cyrillic-ext-800-normal.woff')}} ) format('woff');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* greek */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-greek-800-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-greek-800-normal.woff')}} ) format('woff');
unicode-range: U+0370-03FF;
}
/* greek-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-greek-ext-800-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-greek-ext-800-normal.woff')}} ) format('woff');
unicode-range: U+1F00-1FFF;
}
/* hebrew */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-hebrew-800-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-hebrew-800-normal.woff')}} ) format('woff');
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-latin-800-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-latin-800-normal.woff')}} ) format('woff');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-latin-ext-800-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-latin-ext-800-normal.woff')}} ) format('woff');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* vietnamese */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
font-stretch: 100%;
font-display: swap;
src: url({{ asset('studio/fonts/OpenSans/open-sans-vietnamese-800-normal.woff2')}} ) format('woff2'), url({{ asset('studio/fonts/OpenSans/open-sans-vietnamese-800-normal.woff')}} ) format('woff');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
</style>
2 changes: 1 addition & 1 deletion resources/views/layouts/installing.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@stack('installer-head')

<title>LittleLink Custom setup</title>
<link href="//fonts.bunny.net/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
@include('layouts.fonts')
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/bootstrap-icons.css') }}">
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">
<link rel="stylesheet" href="{{ asset('littlelink/css/brands.css') }}">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/updater.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@stack('updater-head')

<title>Update</title>
<link href="//fonts.bunny.net/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
@include('layouts.fonts')
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">
<link rel="stylesheet" href="{{ asset('littlelink/css/brands.css') }}">
<link rel="stylesheet" href="{{ asset('littlelink/css/hover-min.css') }}">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/littlelink.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function themeAsset($path){
<script src="{{ asset('studio/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/fontawesome.css') }}" />

<link href="//fonts.bunny.net/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
@include('layouts.fonts')
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">
@if(file_exists(base_path("littlelink/images/avatar.png" )))
Expand Down
2 changes: 1 addition & 1 deletion resources/views/maintenance.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<script src="{{ asset('studio/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/fontawesome.css') }}" />

<link href="//fonts.bunny.net/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
@include('layouts.fonts')
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">
@if(file_exists(base_path("littlelink/images/avatar.png" )))
Expand Down
2 changes: 1 addition & 1 deletion resources/views/pages.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<title>{{ config('app.name') }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//fonts.bunny.net/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
@include('layouts.fonts')
<style>@font-face{font-family:'ll';src:url({{ asset('littlelink/fonts/littlelink-custom.otf') }}) format("opentype")}</style>
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">
<link rel="stylesheet" href="{{ asset('littlelink/css/brands.css') }}">
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 0 additions & 2 deletions themes/stargazer/skeleton-auto.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
*/

@import url(https://fonts.bunny.net/css?family=roboto:400,500,700,900);

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
Expand Down

0 comments on commit 5600ac0

Please sign in to comment.