Skip to content

Commit

Permalink
Use @import for google fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmielnik committed Feb 2, 2020
1 parent ad435c0 commit 50d62c8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ https://cv.kamilmielnik.com/
## Scripts

### `npm run build`
Generate CSS & JS bundles in `./build/`
Run production build and place the output in `./build/`

### `npm run createPdf`
Generate PDF version of the CV based on files in `./build/`
### `npm run clean`
Remove `./build/` directory

### `npm run deploy`
Copy files from `./build/` to a remote server (setup via variables in `.env`)

### `npm run publish`
Run `build`, `createPdf` & `deploy` scripts one by one
Run `clean`, `build`, & `deploy` scripts one by one

### `npm start`
Run development server with hot-reload
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cv",
"version": "1.5.6",
"version": "1.5.7",
"description": "Kamil Mielnik's Curriculum Vitae",
"engines": {
"node": ">=12.4.0"
Expand Down
4 changes: 3 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
<meta name="robots" content="index, follow, notranslate, noimageindex">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300|Open+Sans:400,700&amp;subset=latin-ext&display=swap">
<style>
@import url('https://fonts.googleapis.com/css?family=Lato:300|Open+Sans:400,700&subset=latin-ext&display=swap');
</style>
</head>
<body>
<div id="app"></div>
Expand Down

0 comments on commit 50d62c8

Please sign in to comment.