Skip to content

Commit

Permalink
chore: move fonts and css to assets dir
Browse files Browse the repository at this point in the history
  • Loading branch information
viliusddd committed Jun 7, 2024
1 parent 4b9b44c commit 32130eb
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Touch Typing</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" type="text/css" href="styles/styles.css">
<link rel="stylesheet" type="text/css" href="src/assets/styles/styles.css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.1/chart.umd.js"></script>
<script src="src/index.js" type="module"></script>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions styles/styles.css → src/assets/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@

@font-face {
font-family: 'Ubuntu Mono';
src: url('/src/assets/UbuntuMono-Regular.ttf');
src: url('../fonts/UbuntuMono-Regular.ttf');
}

@font-face {
font-family: 'Ubuntu Mono';
src: url('/src/assets/UbuntuMono-Bold.ttf');
src: url('../fonts/UbuntuMono-Bold.ttf');
font-weight: bold;
}

Expand Down

0 comments on commit 32130eb

Please sign in to comment.