Skip to content

Commit

Permalink
#178: Logo font
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Sep 14, 2020
1 parent 694943c commit bee592f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions site/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
['link', {rel: 'preload', href: '/fonts/poppins-v12-latin-900.woff', as: 'font', type: 'font/woff', crossorigin: 'true'}],
['link', {rel: 'preload', href: '/fonts/GalaxieCopernicus-Book.woff', as: 'font', type: 'font/woff', crossorigin: 'true'}],
['link', {rel: 'preload', href: '/fonts/GalaxieCopernicus-Medium.woff', as: 'font', type: 'font/woff', crossorigin: 'true'}],
['link', {rel: 'preload', href: '/fonts/AvenirNext-Heavy.woff', as: 'font', type: 'font/woff', crossorigin: 'true'}],
['link', {rel: 'preload', href: '//unpkg.com/fullpage.js/dist/fullpage.min.css', as: 'style', crossorigin: 'true'}],
['link', {rel: 'preconnect', href: '//js.hs-scripts.com/6864374.js', crossorigin: 'true'}],
['link', {rel: 'preconnect', href: 'https://www.google-analytics.com/analytics.js', crossorigin: 'true'}],
Expand Down
Binary file added site/.vuepress/public/fonts/AvenirNext-Heavy.woff
Binary file not shown.
Binary file not shown.
3 changes: 2 additions & 1 deletion site/.vuepress/theme/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,9 @@ nav
text-transform uppercase
a
font-weight bold
font-family -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif
font-family "AvenirNext", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif
text-decoration none
letter-spacing -0.2px
.right-title
display none
Expand Down
7 changes: 7 additions & 0 deletions site/.vuepress/theme/styles/index.styl
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
// .vuepress/style.styl, your extra styles.

@font-face
font-family 'AvenirNext'
src url('/fonts/AvenirNext-Heavy.woff') format('woff'), url('/fonts/AvenirNext-Heavy.woff2') format('woff2')
font-style normal
font-display swap
font-weight 600

@font-face
font-family GalaxieCopernicus
src url("/fonts/GalaxieCopernicus-Book.eot")
Expand Down

0 comments on commit bee592f

Please sign in to comment.