diff --git a/custom.d.ts b/custom.d.ts index b707078..ec9057b 100644 --- a/custom.d.ts +++ b/custom.d.ts @@ -1,6 +1,5 @@ declare module '*.svg' { - import { url } from 'src/types/url'; - const content: url; + const content: string; export default content; } diff --git a/package.json b/package.json index 0aaa0f9..42d4b80 100644 --- a/package.json +++ b/package.json @@ -52,13 +52,13 @@ "optimize-css-assets-webpack-plugin": "^5.0.3", "postcss-loader": "^3.0.0", "prettier": "^1.19.1", + "raw-loader": "^4.0.2", "resolve-url-loader": "^3.1.1", "responsive-loader": "^1.2.0", "sass": "^1.26.10", "sass-loader": "^8.0.2", "sharp": "^0.23.4", "style-loader": "^1.2.1", - "svg-url-loader": "^3.0.3", "terser-webpack-plugin": "^2.3.8", "ts-loader": "^6.2.2", "typescript": "^3.9.7", diff --git a/src/page/footer/footer.html.ts b/src/page/footer/footer.html.ts index 76c92d4..770aeaa 100644 --- a/src/page/footer/footer.html.ts +++ b/src/page/footer/footer.html.ts @@ -1,44 +1,36 @@ import { Footer } from '../../types/portfolio'; - import './footer.scss'; +import cvIcon from '../../static/icons/cv.svg'; +import emailIcon from '../../static/icons/email.svg'; import { html } from '../../types/html'; export const generate = ({ title, email, - curiumVitaes, + curriculaVitae, lastEditText, lastEdit, }: Footer): html => ` - + `; diff --git a/src/static/icons/cv.svg b/src/static/icons/cv.svg new file mode 100644 index 0000000..1455470 --- /dev/null +++ b/src/static/icons/cv.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/static/icons/email.svg b/src/static/icons/email.svg new file mode 100644 index 0000000..c9ad225 --- /dev/null +++ b/src/static/icons/email.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/static/icons/github.svg b/src/static/icons/github.svg new file mode 100644 index 0000000..538b919 --- /dev/null +++ b/src/static/icons/github.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/static/icons/info.svg b/src/static/icons/info.svg new file mode 100644 index 0000000..c61b8c5 --- /dev/null +++ b/src/static/icons/info.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/static/icons/loading.svg b/src/static/icons/loading.svg new file mode 100644 index 0000000..7057118 --- /dev/null +++ b/src/static/icons/loading.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/static/icons/open.svg b/src/static/icons/open.svg new file mode 100644 index 0000000..e3636bc --- /dev/null +++ b/src/static/icons/open.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/static/icons/play-button.svg b/src/static/icons/play-button.svg index d3c46ed..7768984 100644 --- a/src/static/icons/play-button.svg +++ b/src/static/icons/play-button.svg @@ -1,5 +1,5 @@ - - +