Browse Source

Layout file update - head section updated

test-gpt-generated
Roman Axelrod 4 years ago
parent
commit
ef6fb7344a
  1. 2
      README.md
  2. 3
      layouts/page-container.hbs
  3. 3
      layouts/page.hbs
  4. 2
      package.json
  5. 16
      src/styles/template.scss
  6. 16
      src/template.hbs

2
README.md

@ -9,7 +9,7 @@ npm install
Run development environment:
```
npm component-dev
npm start
```
# Block Structure

3
layouts/page-container.hbs

@ -1,5 +1,8 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ config.cssUrl }}">
<link rel="stylesheet" href="styles/template.min.css">
</head>

3
layouts/page.hbs

@ -1,5 +1,8 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ config.cssUrl }}">
<link rel="stylesheet" href="styles/template.min.css">
</head>

2
package.json

@ -2,7 +2,7 @@
"name": "axe-web-component",
"version": "1.0.1",
"scripts": {
"start": "NODE_ENV=production node server.js",
"start": "component-dev",
"dev": "NODE_ENV=development node server.js"
},
"license": "ISC",

16
src/styles/template.scss

@ -9,11 +9,9 @@
*
*/
.clients {
background-color: red;
//color: white;
.template {
padding: 1rem;
&__sub_level {
// EXAMPLE OF BREAKPOINTS
@media (min-width: 600px) {
@ -36,9 +34,15 @@
// Desktop
}
&__header {
border-bottom: 2px solid red;
&-heading {
// Heading
}
}
&__sub_level_two {
//
&__content {
// Content
}
}

16
src/template.hbs

@ -1,13 +1,9 @@
<section class="template clients">
<div class="clients__intro"><h2 class="clients__title title">{{title}}</h2></div>
<section class="template">
<header class="template__header">
<h1 class="template__header-heading">Ready!</h1>
</header>
<div class="clients__content">
<div class="clients__content-text"><p>{{phrase}}</p></div>
<div class="template__content">
<p>Review the `/data` folder with JSON data files.</p>
</div>
<footer class="clients__actions actions">
<a href="{{ url }}" target="_self" class="btn btn--secondary">{{ cta_text }}</a>
</footer>
</section>
<img src="images/demo.jpeg" alt="">

Loading…
Cancel
Save