Skip to content

Commit

Permalink
Try to fix fonts for local dev too
Browse files Browse the repository at this point in the history
  • Loading branch information
otaviocv committed Dec 7, 2024
1 parent f71bfd3 commit 2ead694
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"test:unit": "vitest",
"test": "npm run test:unit -- --run",
"gh-pages": "npm run build && npx gh-pages -d build"
"test": "npm run test:unit -- --run"
},
"devDependencies": {
"@eslint/compat": "^1.2.3",
Expand All @@ -23,7 +22,6 @@
"eslint": "^9.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
"gh-pages": "^6.2.0",
"globals": "^15.0.0",
"prettier": "^3.3.2",
"prettier-plugin-svelte": "^3.2.6",
Expand Down
17 changes: 13 additions & 4 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
<p class="right">
───────── <br>
<a class="bold darkblue" href="https://x.com/otaviocv">twitter</a><br>
<a href="https://www.youtube.com/@otaviocv">youtube</a><br>
<a href="https://www.linkedin.com/in/otaviocv/">linkedin</a><br>
<a class="bold darkred" href="https://www.youtube.com/@otaviocv">youtube</a><br>
<a class="bold darkpurple" href="https://www.linkedin.com/in/otaviocv/">linkedin</a><br>
─────────
</p>

</div>

<br>
Expand Down Expand Up @@ -71,7 +72,7 @@
font-weight: 400;
font-stretch: normal;
font-style: normal;
src: url('$fonts/WOFF2/IosevkaTerm-Regular.woff2') format('woff2'), url('$fonts/TTF/IosevkaTerm-Regular.ttf') format('truetype');
src: url('fonts/WOFF2/IosevkaTerm-Regular.woff2') format('woff2'), url('fonts/TTF/IosevkaTerm-Regular.ttf') format('truetype');
}
@font-face {
Expand All @@ -80,7 +81,7 @@
font-weight: 700;
font-stretch: normal;
font-style: normal;
src: url('$fonts/WOFF2/IosevkaTerm-Bold.woff2') format('woff2'), url('$fonts/TTF/IosevkaTerm-Bold.ttf') format('truetype');
src: url('fonts/WOFF2/IosevkaTerm-Bold.woff2') format('woff2'), url('fonts/TTF/IosevkaTerm-Bold.ttf') format('truetype');
}
a:link, a:visited, a:hover, a:active {
Expand Down Expand Up @@ -126,5 +127,13 @@ h1 {
color: #00A3FF;
}
.darkred {
color: #FF006B;
}
.darkpurple {
color: #CC00FF;
}
</style>

0 comments on commit 2ead694

Please sign in to comment.