-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtitle.js
More file actions
26 lines (22 loc) · 702 Bytes
/
Copy pathtitle.js
File metadata and controls
26 lines (22 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import soundWrapper from "./sound.js";
import pushishka from "./pushishka.js";
import restartButton from "./restart.js";
import appendChildren from "./multiple_appendchild.js";
import createLayout from "./create_layout.js";
import { commonCSSClassPrefix } from "./constants.js";
const titleText = createLayout({
elementname: "titleText",
classname: `${commonCSSClassPrefix}_title_text`,
tag: "p",
textcontent: "keep the warmth"
});
const title = createLayout({
elementname: "title",
classname: `${commonCSSClassPrefix}_title`,
tag: "div"
});
appendChildren({
elementAppendChildrenTo: title,
children: [soundWrapper, titleText, pushishka, restartButton],
});
export default title;