Skip to content

Commit

Permalink
fix: not loaded font
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew4Coding committed Oct 11, 2024
1 parent 4ffee6f commit ea06a98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
3 changes: 3 additions & 0 deletions static/styles/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:root {
font-family: "Poppins", sans-serif;
}
17 changes: 2 additions & 15 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,11 @@
<link rel="stylesheet" href="{% static "styles/main.css" %}">
<link rel="shortcut icon" type="image/png" href="{% static 'assets/icon.png' %}" >
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
'Manrope' : ['Manrope', 'sans-serif'],
'Poppins' : ['Poppins', 'sans-serif'],
'Inter' : ['Inter', 'sans-serif'],
},
}
}3
}
</script>
<script src="{% static "js/index.js" %}"></script>
<script src="{% static "js/index.js " %}"></script>

{% block meta %}{% endblock meta %}
</head>
<body class="font-Poppins">
<body>
<main class="p-20 flex flex-col">
{% include "ds/navbar.html" %}
{% block content %}{% endblock content%}
Expand Down

0 comments on commit ea06a98

Please sign in to comment.