mkbrut 0.3.0 → 0.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c82504e23c5bf5270d84b01b7717c8842cfbdec2a09c61976fdf3d2ec7d2d040
4
- data.tar.gz: 4ac6e8c52d140a5e2b83378e9de8b79c0089a7612de3c3286c80d0dcaeb93357
3
+ metadata.gz: 847d6f7efc89998a82712ddf8cb57f606b718479fd06b28057c668b096794519
4
+ data.tar.gz: 1e603967946eccb5744c173c02b19f42ad8596d390d2dcf9bf68fd07693b045f
5
5
  SHA512:
6
- metadata.gz: 4ff91f6a6f3297e9ae8eea8e82cdd2a689165bb57b41a81fc2246d8b1235131d506c56368b9cce9fb7a16da121cee83bc76dd0f7342756e88de2088b6b701cf9
7
- data.tar.gz: 5b59bf2ed9c33a33f0e961e34b00195818dba5666bd7b92a00f008ee4b1556d79472921d4adc192e2ed08a3790d3f5e2c58585760d7c172bbe9ba6497cc7ed34
6
+ metadata.gz: 92a6f6c3f1309aa69c73a394bff444984ee605f3a5434e59ddeb767db91798e65350aeb474525a27618868ccefcc2b805f09ccd1c81fbd332ef06b979b936f30
7
+ data.tar.gz: c5c7f161f8a67c805892aa7c4fe393ad9b53d92cb2bad22d32edacf7bb2f152dc54546b6f1e1a624eab1bb59a50d93e9522527a09c61c7899406949bf66a2ed9
@@ -50,18 +50,19 @@ end},
50
50
  code: %{
51
51
  #{ @erb_binding.prefix }_example(
52
52
  transform: "upper",
53
- class: [ "ff-sans",
53
+ class: [ "pos-fixed",
54
+ "bottom-0",
55
+ "left-0",
56
+ "w-100",
57
+ "ff-sans",
54
58
  "lh-title",
55
59
  "tracked",
56
60
  "f-5",
57
61
  "f-6-ns",
58
- "bg-green-100",
59
- "red-900",
60
62
  "tc",
61
63
  "pa-3",
62
64
  "mt-3",
63
- "db",
64
- ]
65
+ "db", ]
65
66
  ) do
66
67
  "We Like the Web"
67
68
  end
@@ -1,3 +1,3 @@
1
1
  module MKBrut
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -0,0 +1,62 @@
1
+ class HomePage < AppPage
2
+ def page_template
3
+ # The duplication and excessive class sizes here are to
4
+ # make it easier for you to remove this when you start working
5
+ # on your app. There are pros and cons to how this code
6
+ # is written, so don't take this is as a directive on how to
7
+ # build your app. You do you!
8
+ img(src: "/static/images/LogoPylon.png",
9
+ class: "dn db-ns pos-fixed top-0 left-0 h-100vh w-auto z-2")
10
+
11
+ header(class: "flex flex-column items-center justify-center h-100vh") do
12
+ div(class: "flex flex-column flex-row-ns items-center justify-center gap-3") do
13
+ img(src: "/static/images/LogoTransit.png", class: "h-5")
14
+ div do
15
+ h1(class: "ff-sans ma-0 lh-title f-5 tc tl-ns flex flex-column flex-row-ns items-center gap-2") do
16
+ plain("Welcome to Brut")
17
+ end
18
+ h2(class: "ff-sans ma-0 lh-title f-3 fw-normal tc tl-ns") do
19
+ plain("v")
20
+ plain(Gem.loaded_specs["brut"].version.to_s)
21
+ end
22
+
23
+ end
24
+ end
25
+ nav(class: [ "ff-sans",
26
+ "flex",
27
+ "flex-column",
28
+ "flex-row-ns",
29
+ "items-center",
30
+ "justify-start",
31
+ "gap-3",
32
+ "mt-3",
33
+ ]) do
34
+ a(href: "https://brutrb.com",
35
+ target: "_blank",
36
+ class: "f-3 red-300 tdu tdn-ns hover-tdu-ns"
37
+ ) do
38
+ code { "brutrb.com" }
39
+ end
40
+ span(role: "separator", class: "dn di-ns f-3 red-300") do
41
+ raw(safe "&#x2299;")
42
+ end
43
+ a(href: "https://brutrb.com/api/index.html",
44
+ target: "_blank",
45
+ class: "f-3 red-300 tdu tdn-ns hover-tdu-ns"
46
+ ) do
47
+ "API Docs"
48
+ end
49
+ span(role: "separator", class: "dn di-ns f-3 red-300") do
50
+ raw(safe "&#x2299;")
51
+ end
52
+ a(href: "http://localhost:6504",
53
+ target: "_blank",
54
+ class: "f-3 red-300 tdu tdn-ns hover-tdu-ns"
55
+ ) do
56
+ "Local OpenTelemetry"
57
+ end
58
+ end
59
+ end
60
+
61
+ end
62
+ end
@@ -52,6 +52,11 @@ services:
52
52
  # This exposes ports from this running container to your localhost.
53
53
  # In this case, we expose 6502, where the app runs, and 6503, where
54
54
  # the test server runs.
55
+ #
56
+ # To change this, the port before the colon is where the app
57
+ # will be available on your localhost. The port AFTER the colon is where
58
+ # the app runs in the container. So: change the port before the colon, and
59
+ # don't change the one after.
55
60
  ports:
56
61
  - "6502:6502"
57
62
  - "6503:6503"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkbrut
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Copeland
@@ -109,6 +109,8 @@ files:
109
109
  - templates/Base/app/src/front_end/fonts/monaspace-xenon.ttf
110
110
  - templates/Base/app/src/front_end/forms/app_form.rb
111
111
  - templates/Base/app/src/front_end/handlers/app_handler.rb
112
+ - templates/Base/app/src/front_end/images/LogoPylon.png
113
+ - templates/Base/app/src/front_end/images/LogoTransit.png
112
114
  - templates/Base/app/src/front_end/images/apple-touch-icon-120x120.png
113
115
  - templates/Base/app/src/front_end/images/apple-touch-icon-152x152.png
114
116
  - templates/Base/app/src/front_end/images/apple-touch-icon-167x167.png
@@ -119,7 +121,7 @@ files:
119
121
  - templates/Base/app/src/front_end/js/index.js
120
122
  - templates/Base/app/src/front_end/layouts/default_layout.rb.erb
121
123
  - templates/Base/app/src/front_end/pages/app_page.rb
122
- - templates/Base/app/src/front_end/pages/home_page.rb.erb
124
+ - templates/Base/app/src/front_end/pages/home_page.rb
123
125
  - templates/Base/app/src/front_end/support/app_session.rb
124
126
  - templates/Base/app/src/front_end/svgs/README.md
125
127
  - templates/Base/app/src/front_end/svgs/comment-button.svg
@@ -1,54 +0,0 @@
1
- class HomePage < AppPage
2
- def page_template
3
- # The duplication and excessive class sizes here are to
4
- # make it easier for you to remove this when you start working
5
- # on your app. There are pros and cons to how this code
6
- # is written, so don't take this is as a directive on how to
7
- # build your app. You do you!
8
- div(class: "flex flex-column items-center justify-center h-80vh") do
9
- img(src: "/static/images/icon.png", class: "h-50")
10
- h1(class: "ff-sans ma-0 lh-title f-5") do
11
- "Welcome to Brut"
12
- end
13
- h2(class: "ff-sans ma-0 lh-title f-4 fw-normal") do
14
- plain("Version ")
15
- plain(Gem.loaded_specs["brut"].version.to_s)
16
- end
17
-
18
- nav(class: [ "ff-sans",
19
- "flex",
20
- "flex-column",
21
- "flex-row-ns",
22
- "items-center",
23
- "justify-between",
24
- "gap-3",
25
- "mt-3",
26
- "ph-3"
27
- ]) do
28
- a(href: "https://brutrb.com",
29
- target: "_blank",
30
- class: "f-3 red-300 tdu tdn-ns hover-tdu-ns") do
31
- code { "brutrb.com" }
32
- end
33
- span(role: "separator",
34
- class: "dn di-ns f-3 red-300") do
35
- raw(safe "&#10019;")
36
- end
37
- a(href: "https://brutrb.com/api/index.html",
38
- target: "_blank",
39
- class: "f-3 red-300 tdu tdn-ns hover-tdu-ns") do
40
- "API Docs"
41
- end
42
- span(role: "separator",
43
- class: "dn di-ns f-3 red-300") do
44
- raw(safe "&#10019;")
45
- end
46
- a(href: "http://localhost:6504",
47
- target: "_blank",
48
- class: "f-3 red-300 tdu tdn-ns hover-tdu-ns") do
49
- "Local OpenTelemetry"
50
- end
51
- end
52
- end
53
- end
54
- end