@d-zero/scaffold 5.0.0-alpha.9 → 5.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/.clineignore +6 -0
  2. package/.clinerules +17 -0
  3. package/.gitignore +12 -2
  4. package/.husky/pre-commit +1 -0
  5. package/.stylelintrc +26 -1
  6. package/.textlintignore +1 -0
  7. package/.textlintrc.js +9 -1
  8. package/.vscode/settings.json +3 -8
  9. package/.yarnrc.yml +3 -0
  10. package/CHANGELOG.md +251 -0
  11. package/__assets/_libs/.markuplintrc +1 -1
  12. package/__assets/_libs/component/bge-contents.css +7 -0
  13. package/__assets/_libs/component/{_c-card-list.scss → c-card-list.css} +2 -4
  14. package/__assets/_libs/component/c-card.css +104 -0
  15. package/__assets/_libs/component/c-content-index.css +8 -0
  16. package/__assets/_libs/component/{_c-content-main.scss → c-content-main.css} +55 -57
  17. package/__assets/_libs/component/c-footer.css +41 -0
  18. package/__assets/_libs/component/c-header.css +94 -0
  19. package/__assets/_libs/component/{_c-media-list.scss → c-media-list.css} +1 -3
  20. package/__assets/_libs/component/c-media.css +113 -0
  21. package/__assets/_libs/component/{_c-nav-breadcrumb.scss → c-nav-breadcrumb.css} +9 -11
  22. package/__assets/_libs/component/c-nav-global.css +115 -0
  23. package/__assets/_libs/component/{_c-nav-sitemap.scss → c-nav-sitemap.css} +27 -34
  24. package/__assets/_libs/component/c-page-home.css +43 -0
  25. package/__assets/_libs/component/c-page-sub.css +63 -0
  26. package/__assets/_libs/component/c-pagination.css +98 -0
  27. package/__assets/_libs/component/{_c-title-page.scss → c-title-page.css} +0 -2
  28. package/__assets/_libs/data/bge-blocks.html +2101 -0
  29. package/__assets/_libs/data/blocks.html +1 -31
  30. package/__assets/_libs/data/blocks.js +6 -0
  31. package/__assets/_libs/mixin/meta.pug +2 -2
  32. package/__assets/_libs/script/index.ts +3 -0
  33. package/__assets/_libs/style/base/root.css +83 -0
  34. package/__assets/_libs/style/general/{_all.scss → all.css} +0 -6
  35. package/__assets/_libs/style/general/{_body.scss → body.css} +1 -3
  36. package/__assets/_libs/style/general/{_button.scss → button.css} +0 -2
  37. package/__assets/_libs/style/general/{_img.scss → img.css} +0 -2
  38. package/__assets/htdocs/__tmpl/.markuplintrc +1 -1
  39. package/__assets/htdocs/__tmpl/000_home.pug +5 -5
  40. package/__assets/htdocs/__tmpl/100_sub.pug +7 -7
  41. package/__assets/htdocs/__tmpl/200_blog_index.pug +9 -9
  42. package/__assets/htdocs/__tmpl/210_blog_index.pug +9 -9
  43. package/__assets/htdocs/__tmpl/300_form_input.pug +8 -8
  44. package/__assets/htdocs/__tmpl/301_form_confirm.pug +21 -19
  45. package/__assets/htdocs/__tmpl/302_form_complete.pug +7 -7
  46. package/__assets/htdocs/__tmpl/index.pug +0 -6
  47. package/__assets/htdocs/css/bge_style.css +9 -0
  48. package/__assets/htdocs/css/style.css +23 -0
  49. package/__assets/htdocs/js/script.ts +3 -0
  50. package/__assets/htdocs/sub-folder.test/build.test.pug +9 -0
  51. package/__assets/htdocs/sub-folder.test/css/style.css +5 -0
  52. package/__assets/htdocs/sub-folder.test/index.pug +1 -1
  53. package/__assets/htdocs/sub-folder.test/js/script.ts +2 -0
  54. package/__info/print.txt +6 -0
  55. package/ai-tasks/create-component.md +127 -0
  56. package/ai-tasks/create-page.md +110 -0
  57. package/ai-tasks/page-to-burger.md +68 -0
  58. package/cspell.json +7 -1
  59. package/eleventy.config.mjs +65 -0
  60. package/eslint.config.js +19 -0
  61. package/lint-staged.config.mjs +10 -2
  62. package/markuplint.config.js +36 -0
  63. package/package.json +33 -24
  64. package/prh.yaml +3 -0
  65. package/tsconfig.json +1 -0
  66. package/.eslintrc.cjs +0 -3
  67. package/.markuplintrc +0 -3
  68. package/__assets/_libs/component/_c-card.scss +0 -106
  69. package/__assets/_libs/component/_c-content-index.scss +0 -8
  70. package/__assets/_libs/component/_c-footer.scss +0 -43
  71. package/__assets/_libs/component/_c-header.scss +0 -96
  72. package/__assets/_libs/component/_c-media.scss +0 -115
  73. package/__assets/_libs/component/_c-nav-global.scss +0 -117
  74. package/__assets/_libs/component/_c-page-home.scss +0 -45
  75. package/__assets/_libs/component/_c-page-sub.scss +0 -65
  76. package/__assets/_libs/component/_c-pagination.scss +0 -100
  77. package/__assets/_libs/data/blocks-burger.html +0 -4161
  78. package/__assets/_libs/data/blocks.cjs +0 -6
  79. package/__assets/_libs/style/base/_root.scss +0 -30
  80. package/__assets/_libs/style/theme/_color.scss +0 -4
  81. package/__assets/_libs/style/theme/_dimension.scss +0 -53
  82. package/__assets/_libs/style/theme/_font.scss +0 -2
  83. package/__assets/_libs/style/theme/_index.scss +0 -3
  84. package/__assets/htdocs/.eslintrc +0 -10
  85. package/__assets/htdocs/@static/empty +0 -0
  86. package/__assets/htdocs/@static/img/empty +0 -0
  87. package/__assets/htdocs/css/style.scss +0 -32
  88. package/__assets/htdocs/sub-folder.test/css/style.scss +0 -7
  89. package/__assets/htdocs/sub-folder.test/js/script.js +0 -9
  90. package/eleventy.config.cjs +0 -25
  91. /package/__assets/_libs/component/{_c-card.pug → c-card.pug} +0 -0
  92. /package/__assets/_libs/component/{_c-footer.pug → c-footer.pug} +0 -0
  93. /package/__assets/_libs/component/{_c-header.pug → c-header.pug} +0 -0
  94. /package/__assets/_libs/component/{_c-media.pug → c-media.pug} +0 -0
  95. /package/__assets/_libs/component/{_c-nav-breadcrumb.pug → c-nav-breadcrumb.pug} +0 -0
  96. /package/__assets/_libs/component/{_c-nav-global.pug → c-nav-global.pug} +0 -0
  97. /package/__assets/_libs/component/{_c-nav-sitemap.pug → c-nav-sitemap.pug} +0 -0
  98. /package/__assets/_libs/component/{_c-pagination.pug → c-pagination.pug} +0 -0
  99. /package/__assets/_libs/component/{_c-title-page.pug → c-title-page.pug} +0 -0
@@ -44,37 +44,7 @@
44
44
  <p>blockquote</p>
45
45
  </blockquote>
46
46
 
47
- <p>
48
- 通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s
49
- ><sub>下付き文字</sub><sup>上付き文字</sup
50
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
51
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
52
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
53
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
54
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
55
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
56
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
57
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
58
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
59
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
60
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
61
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
62
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
63
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
64
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
65
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
66
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
67
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
68
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
69
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
70
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
71
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
72
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
73
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
74
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
75
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
76
- ><a href="./">リンクテキスト</a>
77
- </p>
47
+ <p>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a></p>
78
48
 
79
49
  <table>
80
50
  <caption>
@@ -0,0 +1,6 @@
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
+
4
+ export default fs.readFileSync(path.resolve(import.meta.dirname, './blocks.html'), {
5
+ encoding: 'utf8',
6
+ });
@@ -17,5 +17,5 @@ mixin meta(title)
17
17
  meta(name="twitter:image" content="__OGP用画像__")
18
18
  link(rel="shortcut icon" href="/favicon.png")
19
19
  link(rel="apple-touch-icon" href="/img/apple-touch-icon.png")
20
- link(href="/css/style.scss" rel="stylesheet")
21
- script(src="/js/script.ts" type="module")
20
+ link(href="/css/style.css" rel="stylesheet")
21
+ script(src="/js/script.js" type="module")
@@ -1,3 +1,6 @@
1
+ /**
2
+ *
3
+ */
1
4
  export function helloWorld() {
2
5
  console.log('Hello, world!'); // eslint-disable-line no-console
3
6
  }
@@ -0,0 +1,83 @@
1
+ :root {
2
+ --lightest-color: #fff;
3
+ --darkest-color: #333;
4
+
5
+ /* 配色 */
6
+ --base-font-color: var(--darkest-color);
7
+ --border-color: var(--darkest-color);
8
+
9
+ /* タイポグラフィ */
10
+ --base-font-size: 16px;
11
+ --base-line-height: 1.8;
12
+
13
+ /* フォントファミリー */
14
+ --font-family-body: sans-serif;
15
+ --font-family-heading: helvetica, var(--font-family-body);
16
+
17
+ /* 見出し調和数列スケーリング */
18
+
19
+ /* @see https://standard.shiftbrain.com/blog/music-math-typography */
20
+ --font-size-h1: calc(1em * 8 / 2);
21
+ --font-size-h2: calc(1em * 8 / 3);
22
+ --font-size-h3: calc(1em * 8 / 4);
23
+ --font-size-h4: calc(1em * 8 / 5);
24
+ --font-size-h5: calc(1em * 8 / 6);
25
+ --font-size-h6: calc(1em * 8 / 7);
26
+ }
27
+
28
+ /* ----------------------------------------
29
+ *
30
+ * カスタムメディア
31
+ *
32
+ * ---------------------------------------- */
33
+
34
+ /* xsのみ = xs以下 */
35
+ @custom-media --xs (width < 576px);
36
+
37
+ /* smのみ */
38
+ @custom-media --sm (576px <= width < 768px);
39
+
40
+ /* mdのみ */
41
+ @custom-media --md (768px <= width < 992px);
42
+
43
+ /* lgのみ */
44
+ @custom-media --lg (992px <= width < 1200px);
45
+
46
+ /* xlのみ */
47
+ @custom-media --xl (1200px <= width < 1400px);
48
+
49
+ /* 2xlのみ = xl超え */
50
+ @custom-media --xxl (1400px <= width);
51
+
52
+ /* xs以下 = xsのみ */
53
+ @custom-media --xs-lte (width < 576px);
54
+
55
+ /* sm以下 */
56
+ @custom-media --sm-lte (width < 768px);
57
+
58
+ /* md以下 */
59
+ @custom-media --md-lte (width < 992px);
60
+
61
+ /* lg以下 */
62
+ @custom-media --lg-lte (width < 1200px);
63
+
64
+ /* xl以下 */
65
+ @custom-media --xl-lte (width < 1400px);
66
+
67
+ /* xs超え */
68
+ @custom-media --xs-gt (576px <= width);
69
+
70
+ /* sm超え */
71
+ @custom-media --sm-gt (768px <= width);
72
+
73
+ /* md超え */
74
+ @custom-media --md-gt (992px <= width);
75
+
76
+ /* lg超え */
77
+ @custom-media --lg-gt (1200px <= width);
78
+
79
+ /* xl超え */
80
+ @custom-media --xl-gt (1400px <= width);
81
+
82
+ /* high resolution */
83
+ @custom-media --hr (2dppx <= resolution);
@@ -1,5 +1,3 @@
1
- @use '../theme' as *;
2
-
3
1
  /* stylelint-disable selector-max-universal -- this is universal selector rules */
4
2
  * {
5
3
  &,
@@ -7,9 +5,5 @@
7
5
  &::after {
8
6
  box-sizing: border-box;
9
7
  }
10
-
11
- &::selection {
12
- background-color: initial;
13
- }
14
8
  }
15
9
  /* stylelint-enable selector-max-universal */
@@ -1,10 +1,8 @@
1
- @use '../theme' as *;
2
-
3
1
  body {
4
2
  padding: 0;
5
3
  margin: 0;
6
4
  font-family: var(--font-family-body);
7
- font-size: 1rem;
5
+ font-size: var(--base-font-size);
8
6
  line-height: var(--base-line-height);
9
7
  color: var(--base-font-color);
10
8
  }
@@ -1,5 +1,3 @@
1
- @use '../theme' as *;
2
-
3
1
  button {
4
2
  border-radius: 0;
5
3
  }
@@ -1,5 +1,3 @@
1
- @use '../theme' as *;
2
-
3
1
  img {
4
2
  min-inline-size: 0;
5
3
  min-block-size: 0;
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": ["../../../.markuplintrc"],
2
+ "extends": ["../../../markuplint.config.js"],
3
3
  "nodeRules": [
4
4
  {
5
5
  "selector": "link, script",
@@ -1,20 +1,20 @@
1
1
  html(lang="ja")
2
2
  head
3
3
  include /mixin/meta.pug
4
- +meta('__サイトタイトル__')
4
+ +meta("__サイトタイトル__")
5
5
  body.c-page-home
6
6
  .c-page-home__base
7
7
  .c-page-home__header
8
8
  - const isHome = true;
9
- include /component/_c-header.pug
9
+ include /component/c-header.pug
10
10
  .c-page-home__nav-global
11
- include /component/_c-nav-global.pug
11
+ include /component/c-nav-global.pug
12
12
 
13
13
  .c-page-home__main
14
14
  main
15
15
  h2 メイン
16
16
 
17
17
  .c-page-home__nav-sitemap
18
- include /component/_c-nav-sitemap.pug
18
+ include /component/c-nav-sitemap.pug
19
19
  .c-page-home__footer
20
- include /component/_c-footer.pug
20
+ include /component/c-footer.pug
@@ -1,23 +1,23 @@
1
1
  html(lang="ja")
2
2
  head
3
3
  include /mixin/meta.pug
4
- +meta('__ページタイトル__ | __サイトタイトル__')
4
+ +meta("__ページタイトル__ | __サイトタイトル__")
5
5
  body.c-page-sub
6
6
  .c-page-sub__base
7
7
  .c-page-sub__header
8
- include /component/_c-header.pug
8
+ include /component/c-header.pug
9
9
  .c-page-sub__nav-global
10
- include /component/_c-nav-global.pug
10
+ include /component/c-nav-global.pug
11
11
  .c-page-sub__main
12
12
  main
13
13
  article.c-page-sub__content
14
14
  .c-page-sub__title-page
15
- include /component/_c-title-page.pug
15
+ include /component/c-title-page.pug
16
16
  .c-page-sub__nav-breadcrumb
17
- include /component/_c-nav-breadcrumb.pug
17
+ include /component/c-nav-breadcrumb.pug
18
18
  .c-page-sub__content-main
19
19
  .c-content-main !{ blocks }
20
20
  .c-page-sub__nav-sitemap
21
- include /component/_c-nav-sitemap.pug
21
+ include /component/c-nav-sitemap.pug
22
22
  .c-page-sub__footer
23
- include /component/_c-footer.pug
23
+ include /component/c-footer.pug
@@ -1,21 +1,21 @@
1
1
  html(lang="ja")
2
2
  head
3
3
  include /mixin/meta.pug
4
- +meta('__ページタイトル__ | __サイトタイトル__')
4
+ +meta("__ページタイトル__ | __サイトタイトル__")
5
5
  body.c-page-sub
6
6
  .c-page-sub__base
7
7
  .c-page-sub__header
8
- include /component/_c-header.pug
8
+ include /component/c-header.pug
9
9
  .c-page-sub__nav-global
10
- include /component/_c-nav-global.pug
10
+ include /component/c-nav-global.pug
11
11
 
12
12
  .c-page-sub__main
13
13
  main
14
14
  article.c-page-sub__content
15
15
  .c-page-sub__title-page
16
- include /component/_c-title-page.pug
16
+ include /component/c-title-page.pug
17
17
  .c-page-sub__nav-breadcrumb
18
- include /component/_c-nav-breadcrumb.pug
18
+ include /component/c-nav-breadcrumb.pug
19
19
  .c-page-sub__content-index
20
20
  .c-content-index
21
21
  .c-content-index__categories
@@ -30,11 +30,11 @@ html(lang="ja")
30
30
  .c-content-index__body
31
31
  .c-media-list
32
32
  each article in data.articles
33
- include /component/_c-media.pug
33
+ include /component/c-media.pug
34
34
  .c-page-sub__pagination
35
- include /component/_c-pagination.pug
35
+ include /component/c-pagination.pug
36
36
 
37
37
  .c-page-sub__nav-sitemap
38
- include /component/_c-nav-sitemap.pug
38
+ include /component/c-nav-sitemap.pug
39
39
  .c-page-sub__footer
40
- include /component/_c-footer.pug
40
+ include /component/c-footer.pug
@@ -1,21 +1,21 @@
1
1
  html(lang="ja")
2
2
  head
3
3
  include /mixin/meta.pug
4
- +meta('__ページタイトル__ | __サイトタイトル__')
4
+ +meta("__ページタイトル__ | __サイトタイトル__")
5
5
  body.c-page-sub
6
6
  .c-page-sub__base
7
7
  .c-page-sub__header
8
- include /component/_c-header.pug
8
+ include /component/c-header.pug
9
9
  .c-page-sub__nav-global
10
- include /component/_c-nav-global.pug
10
+ include /component/c-nav-global.pug
11
11
 
12
12
  .c-page-sub__main
13
13
  main
14
14
  article.c-page-sub__content
15
15
  .c-page-sub__title-page
16
- include /component/_c-title-page.pug
16
+ include /component/c-title-page.pug
17
17
  .c-page-sub__nav-breadcrumb
18
- include /component/_c-nav-breadcrumb.pug
18
+ include /component/c-nav-breadcrumb.pug
19
19
  .c-page-sub__content-index
20
20
  .c-content-index
21
21
  .c-content-index__categories
@@ -30,11 +30,11 @@ html(lang="ja")
30
30
  .c-content-index__body
31
31
  .c-card-list
32
32
  each article in data.articles
33
- include /component/_c-card.pug
33
+ include /component/c-card.pug
34
34
  .c-page-sub__pagination
35
- include /component/_c-pagination.pug
35
+ include /component/c-pagination.pug
36
36
 
37
37
  .c-page-sub__nav-sitemap
38
- include /component/_c-nav-sitemap.pug
38
+ include /component/c-nav-sitemap.pug
39
39
  .c-page-sub__footer
40
- include /component/_c-footer.pug
40
+ include /component/c-footer.pug
@@ -1,26 +1,26 @@
1
1
  html(lang="ja")
2
2
  head
3
3
  include /mixin/meta.pug
4
- +meta('__ページタイトル__ | __サイトタイトル__')
4
+ +meta("__ページタイトル__ | __サイトタイトル__")
5
5
  body.c-page-sub
6
6
  .c-page-sub__base
7
7
  .c-page-sub__header
8
- include /component/_c-header.pug
8
+ include /component/c-header.pug
9
9
  .c-page-sub__nav-global
10
- include /component/_c-nav-global.pug
10
+ include /component/c-nav-global.pug
11
11
 
12
12
  .c-page-sub__main
13
13
  main
14
14
  .c-page-sub__content
15
15
  .c-page-sub__title-page
16
- include /component/_c-title-page.pug
16
+ include /component/c-title-page.pug
17
17
  .c-page-sub__nav-breadcrumb
18
- include /component/_c-nav-breadcrumb.pug
18
+ include /component/c-nav-breadcrumb.pug
19
19
  .c-page-sub__content-main
20
20
  .c-content-main
21
21
  // CMS要件: メールフォーム概要
22
22
  .cc-form-description
23
- p こちらのフォームよりご応募ください。<br>記入いただいた内容を検討の上、弊社人事担当者よりメールにてご返信いたします。
23
+ p こちらのフォームよりご応募ください。記入いただいた内容を検討の上、弊社人事担当者よりメールにてご返信いたします。
24
24
  // CMS要件: メールフォーム概要ここまで
25
25
 
26
26
  form#MailMessageIndexForm.cc-form(
@@ -564,6 +564,6 @@ html(lang="ja")
564
564
  value="__TOKEN__")
565
565
 
566
566
  .c-page-sub__nav-sitemap
567
- include /component/_c-nav-sitemap.pug
567
+ include /component/c-nav-sitemap.pug
568
568
  .c-page-sub__footer
569
- include /component/_c-footer.pug
569
+ include /component/c-footer.pug
@@ -1,21 +1,21 @@
1
1
  html(lang="ja")
2
2
  head
3
3
  include /mixin/meta.pug
4
- +meta('__ページタイトル__ | __サイトタイトル__')
4
+ +meta("__ページタイトル__ | __サイトタイトル__")
5
5
  body.c-page-sub
6
6
  .c-page-sub__base
7
7
  .c-page-sub__header
8
- include /component/_c-header.pug
8
+ include /component/c-header.pug
9
9
  .c-page-sub__nav-global
10
- include /component/_c-nav-global.pug
10
+ include /component/c-nav-global.pug
11
11
 
12
12
  .c-page-sub__main
13
13
  main
14
14
  .c-page-sub__content
15
15
  .c-page-sub__title-page
16
- include /component/_c-title-page.pug
16
+ include /component/c-title-page.pug
17
17
  .c-page-sub__nav-breadcrumb
18
- include /component/_c-nav-breadcrumb.pug
18
+ include /component/c-nav-breadcrumb.pug
19
19
  .c-page-sub__content-main
20
20
  .c-content-main
21
21
  .cc-form-description
@@ -32,18 +32,19 @@ html(lang="ja")
32
32
  input#MailMessageMode(type="hidden" name="data[MailMessage][mode]")
33
33
  .cc-form-field-list
34
34
  .cc-form-fieldset
35
- .cc-form-fieldset-heading
36
- span フィールドグループ名
37
- span.required 必須
38
- .cc-form-fieldset-body
39
- .mail-field(data-type="text")
40
- span.mail-before-attachment 前見出し
41
- span.mail-input __入力内容__
42
- span.mail-after-attachment 後見出し
43
- .mail-field(data-type="text")
44
- span.mail-before-attachment
45
- span.mail-input __入力内容__
46
- span.mail-after-attachment 後見出し
35
+ div
36
+ .cc-form-fieldset-heading
37
+ span フィールドグループ名
38
+ span.required 必須
39
+ .cc-form-fieldset-body
40
+ .mail-field(data-type="text")
41
+ span.mail-before-attachment 前見出し
42
+ span.mail-input __入力内容__
43
+ span.mail-after-attachment 後見出し
44
+ .mail-field(data-type="text")
45
+ span.mail-before-attachment
46
+ span.mail-input __入力内容__
47
+ span.mail-after-attachment 後見出し
47
48
  .cc-form-fieldset
48
49
  div
49
50
  .cc-form-fieldset-heading
@@ -203,9 +204,10 @@ html(lang="ja")
203
204
  span.mail-input __ファイル名__
204
205
  span.mail-after-attachment 後見出し
205
206
  .cc-form-submit
207
+ button(type="submit"): span 入力画面に戻る
206
208
  button(type="submit"): span 送信する
207
209
 
208
210
  .c-page-sub__nav-sitemap
209
- include /component/_c-nav-sitemap.pug
211
+ include /component/c-nav-sitemap.pug
210
212
  .c-page-sub__footer
211
- include /component/_c-footer.pug
213
+ include /component/c-footer.pug
@@ -1,27 +1,27 @@
1
1
  html(lang="ja")
2
2
  head
3
3
  include /mixin/meta.pug
4
- +meta('__ページタイトル__ | __サイトタイトル__')
4
+ +meta("__ページタイトル__ | __サイトタイトル__")
5
5
  body.c-page-sub
6
6
  .c-page-sub__base
7
7
  .c-page-sub__header
8
- include /component/_c-header.pug
8
+ include /component/c-header.pug
9
9
  .c-page-sub__nav-global
10
- include /component/_c-nav-global.pug
10
+ include /component/c-nav-global.pug
11
11
 
12
12
  .c-page-sub__main
13
13
  main
14
14
  .c-page-sub__content
15
15
  .c-page-sub__title-page
16
- include /component/_c-title-page.pug
16
+ include /component/c-title-page.pug
17
17
  .c-page-sub__nav-breadcrumb
18
- include /component/_c-nav-breadcrumb.pug
18
+ include /component/c-nav-breadcrumb.pug
19
19
  .c-page-sub__content-main
20
20
  .c-content-main
21
21
  .cc-form-description
22
22
  p 送信ありがとうございました。
23
23
 
24
24
  .c-page-sub__nav-sitemap
25
- include /component/_c-nav-sitemap.pug
25
+ include /component/c-nav-sitemap.pug
26
26
  .c-page-sub__footer
27
- include /component/_c-footer.pug
27
+ include /component/c-footer.pug
@@ -11,12 +11,6 @@ html(lang="ja")
11
11
  .list-group-item a {
12
12
  display: block;
13
13
  }
14
- script(type="module").
15
- document.querySelectorAll("a").forEach((a) => {
16
- if (a.hostname === "localhost") {
17
- a.pathname = a.pathname.replace(/\.html$/, "/");
18
- }
19
- });
20
14
  body
21
15
  .c-content-main
22
16
  main.container
@@ -0,0 +1,9 @@
1
+ @import 'kiso.css' layer(reset);
2
+ @import '@/style/base/root.css' layer(base);
3
+ @import '@/style/general/all.css' layer(general);
4
+ @import '@/style/general/body.css' layer(general);
5
+ @import '@/style/general/button.css' layer(general);
6
+ @import '@/style/general/img.css' layer(general);
7
+ @import '@/component/bge-contents.css';
8
+
9
+ @layer reset, base, general;
@@ -0,0 +1,23 @@
1
+ @import 'kiso.css' layer(reset);
2
+ @import '@/style/base/root.css' layer(base);
3
+ @import '@/style/general/all.css' layer(general);
4
+ @import '@/style/general/body.css' layer(general);
5
+ @import '@/style/general/button.css' layer(general);
6
+ @import '@/style/general/img.css' layer(general);
7
+ @import '@/component/c-page-home.css';
8
+ @import '@/component/c-page-sub.css';
9
+ @import '@/component/c-header.css';
10
+ @import '@/component/c-footer.css';
11
+ @import '@/component/c-nav-global.css';
12
+ @import '@/component/c-nav-sitemap.css';
13
+ @import '@/component/c-nav-breadcrumb.css';
14
+ @import '@/component/c-title-page.css';
15
+ @import '@/component/c-pagination.css';
16
+ @import '@/component/c-card-list.css';
17
+ @import '@/component/c-card.css';
18
+ @import '@/component/c-media-list.css';
19
+ @import '@/component/c-media.css';
20
+ @import '@/component/c-content-index.css';
21
+ @import '@/component/c-content-main.css';
22
+
23
+ @layer reset, base, general;
@@ -1,3 +1,6 @@
1
+ import 'invokers-polyfill';
2
+ import 'dialog-toggle-events-polyfill';
3
+
1
4
  import { helloWorld } from '@/script/index.js';
2
5
 
3
6
  helloWorld();
@@ -0,0 +1,9 @@
1
+ html(lang="ja")
2
+ head
3
+ meta(charset="UTF-8")
4
+ title テストファイル
5
+ meta(name="viewport" content="width=device-width, initial-scale=1.0")
6
+ meta(http-equiv="X-UA-Compatible" content="ie=edge")
7
+ body
8
+ //- 画像取得テスト
9
+ p: img(src="/img/pict-star.test.png" alt="イラスト: 黄色い星型図形")
@@ -0,0 +1,5 @@
1
+ @import 'kiso.css' layer(reset);
2
+ @import '@/style/base/root.css';
3
+ @import '@/style/general/all.css';
4
+ @import '@/style/general/body.css';
5
+ @import '@/style/general/button.css';
@@ -2,7 +2,7 @@ include /mixin/meta.pug
2
2
 
3
3
  html(lang="ja")
4
4
  head
5
- +meta('__テスト用ファイル__')
5
+ +meta("__テスト用ファイル__")
6
6
  body
7
7
  main
8
8
  h1 Hello World!
@@ -0,0 +1,2 @@
1
+ // eslint-disable-next-line no-console
2
+ console.log('このスクリプトは、サブフォルダのテスト用です。');
@@ -0,0 +1,6 @@
1
+ # @see https://www.npmjs.com/package/@d-zero/print
2
+
3
+ https://www.d-zero.co.jp
4
+ https://www.digital.go.jp
5
+ https://www.google.co.jp
6
+ https://www.apple.com/jp/