Skip to content

Commit

Permalink
perf: Inline Bootstrap.css and fontawesome.css
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed Jul 20, 2024
1 parent 3d5391f commit edf3230
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/app-templates/smarty/head.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
<meta property="twitter:title" content="GeoKrety"/>
<meta property="twitter:description" content="{t}Open source item tracking for all geocaching platforms{/t}"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
{\GeoKrety\Assets::instance()->addCss(GK_CDN_BOOTSTRAP_CSS) && ''}
{\GeoKrety\Assets::instance()->addCss(GK_CDN_FONT_AWESOME_CSS) && ''}
{\GeoKrety\Assets::instance()->addCss(GK_CDN_FLAG_ICON_CSS) && ''}
{\GeoKrety\Assets::instance()->addCss(GK_CDN_LIBRARIES_PARSLEY_CSS_URL) && ''}
{\GeoKrety\Assets::instance()->addCss(GK_CDN_MAGNIFIC_POPUP_CSS) && ''}
Expand All @@ -32,4 +30,8 @@
{if \Multilang::instance()->current === 'inline-translation'}
{include file="js/_crowdin.tpl.html"}
{/if}
<style>
{include file="inline-Bootstrap-v3.3.7.css"}
{include file="inline-Font-Awesome-v4.7.0.css"}
</style>
</head>
9 changes: 9 additions & 0 deletions website/app-templates/smarty/inline-Bootstrap-v3.3.7.css

Large diffs are not rendered by default.

Loading

0 comments on commit edf3230

Please sign in to comment.