Skip to content

Commit

Permalink
Load all CSS at once.
Browse files Browse the repository at this point in the history
  • Loading branch information
natebass committed Oct 6, 2023
1 parent 8b60df5 commit 1a8248f
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 283 deletions.
6 changes: 0 additions & 6 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
<!--
Default application footer.
-->
{%block head%}
<link rel="stylesheet" type="text/css" href="/public/css/footer.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">
{%endblock%}
<footer>
<div class="footerContainerTop">
<div class="footerMessage">
Expand Down
9 changes: 7 additions & 2 deletions _includes/layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@
<title>{{ title }}</title>
<link rel="icon" href="/public/img/favicon.ico">
<!-- Load application CSS and Javascript -->
<link rel="stylesheet" href="/public/css/main.scss">
<link rel="stylesheet" href="/public/css/main.css">
<link rel="stylesheet" href="/public/css/home.css">
<link rel="stylesheet" type="text/css" href="/public/css/footer.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/public/css/navigation-bar.css">
<script src="/public/js/app.js" type="module" async></script>
<!-- SEO meta data-->
<script type="application/ld+json">
Expand All @@ -28,7 +34,6 @@
}
</script>
<!-- Load page CSS and Javascript -->
{% block head %}{% endblock %}
</head>
<body>
<!--Load page layout-->
Expand Down
3 changes: 0 additions & 3 deletions _includes/layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
<!--
Home layout with navigation bar and footer.
-->
{%block head%}
<link rel="stylesheet" href="/public/css/home.scss">
{%endblock%}
<div class="">
<div class="w-full">
{% include "navigation-bar.html" %}
Expand Down
7 changes: 2 additions & 5 deletions _includes/navigation-bar.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
<!--
Default application navigation bar.
-->
{%block head%}
<link rel="stylesheet" href="/public/css/navigation-bar.scss">
{%endblock%}
<header class="w-full">
<div class="nav-main-toolbar">
<div class="container mx-auto flex items-end flex-nowrap">
<div class="nav-left-container">
<a class="nav-left-section" href="home">
<img src="/public/img/opensac_black_logo_01.png" alt="Open Sacramento logo" height="100" width="200">
<img src="/public/img/Open Sac - Black Logo.png" alt="Open Sacramento logo" height="100" width="200">
</a>
</div>

Expand Down Expand Up @@ -39,7 +36,7 @@
</div>
</div>

<div class="nav-toolbar-extended">
<div class="hidden nav-toolbar-extended">
<nav class="nav-extended-container-mobile container mx-auto" role="navigation">
<ul>
<li class="nav-extended-mobile-section">
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 0 additions & 14 deletions public/css/main.scss

This file was deleted.

File renamed without changes.
Binary file added public/img/Open Sac - Black Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
117 changes: 0 additions & 117 deletions styles/footer.scss

This file was deleted.

30 changes: 0 additions & 30 deletions styles/home.scss

This file was deleted.

14 changes: 0 additions & 14 deletions styles/main.scss

This file was deleted.

92 changes: 0 additions & 92 deletions styles/navigation-bar.scss

This file was deleted.

0 comments on commit 1a8248f

Please sign in to comment.