Skip to content

Commit

Permalink
Change font
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehmetali345Dev committed Aug 3, 2021
1 parent 78070a9 commit 17b34ed
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
8 changes: 7 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ export default {
},
modules: [
"@nuxtjs/svg",
'@nuxtjs/axios'
'@nuxtjs/axios',
'nuxt-webfontloader',
],
webfontloader: {
google: {
families: ['Noto Sans:400,700'] //Loads Lato font with weights 400 and 700
}
},
build: {
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"@eggsydev/vue-lanyard": "^1.1.2",
"@nuxtjs/axios": "^5.13.6",
"core-js": "^3.15.1",
"nuxt": "^2.15.7"
"nuxt": "^2.15.7",
"nuxt-webfontloader": "^1.1.0"
},
"devDependencies": {
"@nuxtjs/color-mode": "^2.0.10",
Expand Down
1 change: 1 addition & 0 deletions src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export default {
<style>
html {
scroll-behavior: smooth;
font-family: "Noto Sans", sans-serif;
}
@media screen and (max-device-width: 950px) {
.projects {
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5179,6 +5179,13 @@ num2fraction@^1.2.2:
resolved "https://registry.yarnpkg.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede"
integrity sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=

nuxt-webfontloader@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/nuxt-webfontloader/-/nuxt-webfontloader-1.1.0.tgz#68b47ffbeaee4c41969f42f57a86946e0c36715c"
integrity sha512-GyDgABmI0Oq54s2tA9SZC28TmHy2xGdWSXrfcGPPfDBVhgQQlGL5CJcAlvovcuhefzzZrzGgs35HIcv5qym4fQ==
dependencies:
webfontloader "^1.6.28"

nuxt-windicss@^1.1.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/nuxt-windicss/-/nuxt-windicss-1.2.1.tgz#28160279be3cff08066c8d48f8f88ccfd84d9a88"
Expand Down Expand Up @@ -7812,6 +7819,11 @@ watchpack@^1.7.4:
chokidar "^3.4.1"
watchpack-chokidar2 "^2.0.1"

webfontloader@^1.6.28:
version "1.6.28"
resolved "https://registry.yarnpkg.com/webfontloader/-/webfontloader-1.6.28.tgz#db786129253cb6e8eae54c2fb05f870af6675bae"
integrity sha1-23hhKSU8tujq5UwvsF+HCvZnW64=

webpack-bundle-analyzer@^4.4.1:
version "4.4.2"
resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.4.2.tgz#39898cf6200178240910d629705f0f3493f7d666"
Expand Down

1 comment on commit 17b34ed

@vercel
Copy link

@vercel vercel bot commented on 17b34ed Aug 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.