diff --git a/package.json b/package.json index efbc9f6..df7e354 100755 --- a/package.json +++ b/package.json @@ -2,10 +2,10 @@ "name": "parcel-project-template", "version": "2.0.0", "description": "", - "homepage": "https://goitacademy.github.io/parcel-project-template", + "homepage": "https://Perslay.github.io/goit-js-hw-10", "scripts": { "start": "parcel src/*.html", - "build": "parcel build src/*.html --public-url /parcel-project-template/" + "build": "parcel build src/*.html --public-url /goit-js-hw-10/" }, "repository": { "type": "git", diff --git a/src/images/logo.png b/src/images/logo.png deleted file mode 100755 index a6ce651..0000000 Binary files a/src/images/logo.png and /dev/null differ diff --git a/src/index.html b/src/index.html index 92da07d..96c4ff7 100755 --- a/src/index.html +++ b/src/index.html @@ -1,15 +1,16 @@ - + - Page title - - + Homework 10 -

Example title

- - + +

Loading data, please wait...

+

Oops! Something went wrong! Try reloading the page!

+
+ + diff --git a/src/partials/example.html b/src/partials/example.html deleted file mode 100755 index f7f444c..0000000 --- a/src/partials/example.html +++ /dev/null @@ -1,37 +0,0 @@ -
-

HTML-partials

- - - - -

- The - - posthtml-include - - plugin allows you to add code from other HTML files (fragments) to HTML page - files. Fragments are stored in the src/partials folder. The - addition occurs when compiling page files, such as index.html. -

- -

- This example.html file is an example of such a snippet, with - the markup of a certain part of the main page. This is very convenient for - team development on student projects, when several people write in one HTML - file at once. -

- -

- The syntax for adding a fragment to the main file is: - <include src="./partials/filename.html"></include> -

- -
-
diff --git a/src/sass/_common.scss b/src/sass/_common.scss deleted file mode 100755 index dd493e4..0000000 --- a/src/sass/_common.scss +++ /dev/null @@ -1 +0,0 @@ -@import '~node_modules/modern-normalize/modern-normalize.css'; diff --git a/src/sass/_example.scss b/src/sass/_example.scss deleted file mode 100755 index 05c89b4..0000000 --- a/src/sass/_example.scss +++ /dev/null @@ -1,28 +0,0 @@ -.example { - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, - Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; - line-height: 1.5; - background-color: #fff; - color: #2f2f37; - max-width: 960px; - padding: 16px; -} - -.example code { - font-family: monospace; - font-size: 16px; - font-weight: 700; - background-color: #ff6b0a; - color: #fff; - padding: 2px 6px; - border-radius: 2px; -} - -.example .background { - height: 240px; - // ❗️❗️❗️ The path to images from a SASS file - // is always the same as from the css folder. - background-image: url('../images/logo.png'); - background-size: cover; - background-position: center; -} diff --git a/src/sass/index.scss b/src/sass/index.scss deleted file mode 100755 index 8d1a014..0000000 --- a/src/sass/index.scss +++ /dev/null @@ -1,2 +0,0 @@ -@import './common'; -@import './example';