Skip to content

Commit e3d798c

Browse files
committed
Selección del Inversor (modularizable) con Radio Buttons
1 parent be3d443 commit e3d798c

File tree

6 files changed

+325
-214
lines changed

6 files changed

+325
-214
lines changed

content/componente-uno.md

Lines changed: 1 addition & 160 deletions
Original file line numberDiff line numberDiff line change
@@ -1,163 +1,4 @@
11
---
2-
title: Core Concepts
2+
title: Selección de Equipo Fotovoltaico
33
type: selComp1
44
---
5-
## StaticHttp
6-
7-
An h1 header
8-
============
9-
10-
Paragraphs are separated by a blank line.
11-
12-
2nd paragraph. *Italic*, **bold**, and `monospace`. Itemized lists
13-
look like:
14-
15-
* this one
16-
* that one
17-
* the other one
18-
19-
Note that --- not considering the asterisk --- the actual text
20-
content starts at 4-columns in.
21-
22-
> Block quotes are
23-
> written like so.
24-
>
25-
> They can span multiple paragraphs,
26-
> if you like.
27-
28-
Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., "it's all
29-
in chapters 12--14"). Three dots ... will be converted to an ellipsis.
30-
Unicode is supported. ☺
31-
32-
33-
34-
An h2 header
35-
------------
36-
37-
Here's a numbered list:
38-
39-
1. first item
40-
2. second item
41-
3. third item
42-
43-
Note again how the actual text starts at 4 columns in (4 characters
44-
from the left side). Here's a code sample:
45-
46-
# Let me re-iterate ...
47-
for i in 1 .. 10 { do-something(i) }
48-
49-
As you probably guessed, indented 4 spaces. By the way, instead of
50-
indenting the block, you can use delimited blocks, if you like:
51-
52-
~~~
53-
define foobar() {
54-
print "Welcome to flavor country!";
55-
}
56-
~~~
57-
58-
(which makes copying & pasting easier). You can optionally mark the
59-
delimited block for Pandoc to syntax highlight it:
60-
61-
~~~ python
62-
import time
63-
# Quick, count to ten!
64-
for i in range(10):
65-
# (but not *too* quick)
66-
time.sleep(0.5)
67-
print(i)
68-
~~~
69-
70-
### An h3 header ###
71-
72-
Now a nested list:
73-
74-
1. First, get these ingredients:
75-
76-
* carrots
77-
* celery
78-
* lentils
79-
80-
2. Boil some water.
81-
82-
3. Dump everything in the pot and follow
83-
this algorithm:
84-
85-
find wooden spoon
86-
uncover pot
87-
stir
88-
cover pot
89-
balance wooden spoon precariously on pot handle
90-
wait 10 minutes
91-
goto first step (or shut off burner when done)
92-
93-
Do not bump wooden spoon or it will fall.
94-
95-
Notice again how text always lines up on 4-space indents (including
96-
that last line which continues item 3 above).
97-
98-
Here's a link to [a website](http://foo.bar), to a [local
99-
doc](local-doc.html), and to a [section heading in the current
100-
doc](#an-h2-header). Here's a footnote [^1].
101-
102-
[^1]: Some footnote text.
103-
104-
Tables can look like this:
105-
106-
Name Size Material Color
107-
------------- ----- ------------ ------------
108-
All Business 9 leather brown
109-
Roundabout 10 hemp canvas natural
110-
Cinderella 11 glass transparent
111-
112-
Table: Shoes sizes, materials, and colors.
113-
114-
(The above is the caption for the table.) Pandoc also supports
115-
multi-line tables:
116-
117-
-------- -----------------------
118-
Keyword Text
119-
-------- -----------------------
120-
red Sunsets, apples, and
121-
other red or reddish
122-
things.
123-
124-
green Leaves, grass, frogs
125-
and other things it's
126-
not easy being.
127-
-------- -----------------------
128-
129-
A horizontal rule follows.
130-
131-
***
132-
133-
Here's a definition list:
134-
135-
apples
136-
: Good for making applesauce.
137-
138-
oranges
139-
: Citrus!
140-
141-
tomatoes
142-
: There's no "e" in tomatoe.
143-
144-
Again, text is indented 4 spaces. (Put a blank line between each
145-
term and its definition to spread things out more.)
146-
147-
Here's a "line block" (note how whitespace is honored):
148-
149-
| Line one
150-
| Line too
151-
| Line tree
152-
153-
and images can be specified like so:
154-
155-
![example image](example-image.jpg "An exemplary image")
156-
157-
Inline math equation: $\omega = d\phi / dt$. Display
158-
math should get its own line like so:
159-
160-
$$I = \int \rho R^{2} dV$$
161-
162-
And note that you can backslash-escape any punctuation characters
163-
which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc.

content/index.md

Lines changed: 154 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,160 @@ title: elm-pages-starter - a simple blog starter
33
type: home
44
---
55

6-
This is an example repo to get you up and running with `elm-pages`.
6+
An h1 header
7+
============
78

8-
The entrypoint file is `index.js`. That file imports `src/Main.elm`. The `content` folder is turned into your static pages. The rest is mostly determined by logic in the Elm code! Learn more with the resources below.
9+
Paragraphs are separated by a blank line.
910

10-
## Learn more about `elm-pages`
11+
2nd paragraph. *Italic*, **bold**, and `monospace`. Itemized lists
12+
look like:
1113

12-
- Documentation site: https://elm-pages.com
13-
- [Elm Package docs](https://package.elm-lang.org/packages/dillonkearns/elm-pages/latest/)
14-
- [`elm-pages` blog](https://elm-pages.com/blog)
14+
* this one
15+
* that one
16+
* the other one
17+
18+
Note that --- not considering the asterisk --- the actual text
19+
content starts at 4-columns in.
20+
21+
> Block quotes are
22+
> written like so.
23+
>
24+
> They can span multiple paragraphs,
25+
> if you like.
26+
27+
Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., "it's all
28+
in chapters 12--14"). Three dots ... will be converted to an ellipsis.
29+
Unicode is supported. ☺
30+
31+
32+
33+
An h2 header
34+
------------
35+
36+
Here's a numbered list:
37+
38+
1. first item
39+
2. second item
40+
3. third item
41+
42+
Note again how the actual text starts at 4 columns in (4 characters
43+
from the left side). Here's a code sample:
44+
45+
# Let me re-iterate ...
46+
for i in 1 .. 10 { do-something(i) }
47+
48+
As you probably guessed, indented 4 spaces. By the way, instead of
49+
indenting the block, you can use delimited blocks, if you like:
50+
51+
~~~
52+
define foobar() {
53+
print "Welcome to flavor country!";
54+
}
55+
~~~
56+
57+
(which makes copying & pasting easier). You can optionally mark the
58+
delimited block for Pandoc to syntax highlight it:
59+
60+
~~~ python
61+
import time
62+
# Quick, count to ten!
63+
for i in range(10):
64+
# (but not *too* quick)
65+
time.sleep(0.5)
66+
print(i)
67+
~~~
68+
69+
### An h3 header ###
70+
71+
Now a nested list:
72+
73+
1. First, get these ingredients:
74+
75+
* carrots
76+
* celery
77+
* lentils
78+
79+
2. Boil some water.
80+
81+
3. Dump everything in the pot and follow
82+
this algorithm:
83+
84+
find wooden spoon
85+
uncover pot
86+
stir
87+
cover pot
88+
balance wooden spoon precariously on pot handle
89+
wait 10 minutes
90+
goto first step (or shut off burner when done)
91+
92+
Do not bump wooden spoon or it will fall.
93+
94+
Notice again how text always lines up on 4-space indents (including
95+
that last line which continues item 3 above).
96+
97+
Here's a link to [a website](http://foo.bar), to a [local
98+
doc](local-doc.html), and to a [section heading in the current
99+
doc](#an-h2-header). Here's a footnote [^1].
100+
101+
[^1]: Some footnote text.
102+
103+
Tables can look like this:
104+
105+
Name Size Material Color
106+
------------- ----- ------------ ------------
107+
All Business 9 leather brown
108+
Roundabout 10 hemp canvas natural
109+
Cinderella 11 glass transparent
110+
111+
Table: Shoes sizes, materials, and colors.
112+
113+
(The above is the caption for the table.) Pandoc also supports
114+
multi-line tables:
115+
116+
-------- -----------------------
117+
Keyword Text
118+
-------- -----------------------
119+
red Sunsets, apples, and
120+
other red or reddish
121+
things.
122+
123+
green Leaves, grass, frogs
124+
and other things it's
125+
not easy being.
126+
-------- -----------------------
127+
128+
A horizontal rule follows.
129+
130+
***
131+
132+
Here's a definition list:
133+
134+
apples
135+
: Good for making applesauce.
136+
137+
oranges
138+
: Citrus!
139+
140+
tomatoes
141+
: There's no "e" in tomatoe.
142+
143+
Again, text is indented 4 spaces. (Put a blank line between each
144+
term and its definition to spread things out more.)
145+
146+
Here's a "line block" (note how whitespace is honored):
147+
148+
| Line one
149+
| Line too
150+
| Line tree
151+
152+
and images can be specified like so:
153+
154+
![example image](example-image.jpg "An exemplary image")
155+
156+
Inline math equation: $\omega = d\phi / dt$. Display
157+
math should get its own line like so:
158+
159+
$$I = \int \rho R^{2} dV$$
160+
161+
And note that you can backslash-escape any punctuation characters
162+
which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc.

src/Shared.elm

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Shared exposing (Model, Msg(..), PageView, RenderedBody, SharedMsg(..), StaticData, template, UsuarioStatus(..))
1+
module Shared exposing (Model, Msg(..), PageView, RenderedBody, SharedMsg(..), StaticData, UsuarioStatus(..), template)
22

33
import Browser.Dom as Dom
44
import Html exposing (Html, div)
@@ -212,20 +212,17 @@ view stars page model toMsg pageView =
212212
[ div
213213
[ class "max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8" ]
214214
[ Html.h1
215-
[ class "text-lg leading-6 font-semibold text-gray-900" ]
216-
[ Html.text "Dashboard" ]
215+
[ class "text-lg lg:text-2xl leading-6 font-bold text-gray-800" ]
216+
[ Html.text pageView.title ]
217217
]
218218
]
219219
, Html.main_
220220
[]
221-
[ div
222-
[ class "max-w-7xl mx-auto sm:px-6 lg:px-8" ]
223-
((incrementView model
224-
|> Html.map toMsg
225-
)
226-
:: pageView.body
227-
)
228-
]
221+
((incrementView model
222+
|> Html.map toMsg
223+
)
224+
:: pageView.body
225+
)
229226
, viewFooter
230227
]
231228
, title = pageView.title
@@ -262,7 +259,7 @@ myNav modelo page =
262259
menu
263260

264261
TemplateType.Home { menu } ->
265-
menu
262+
menu
266263

267264
myLogoAndLinks : Html msg
268265
myLogoAndLinks =

src/Template/Home.elm

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,11 @@ view model sharedModel allMetadata staticPayload rendered =
259259
[ div [ class "columna cero" ]
260260
[ counterView sharedModel
261261
, Html.text "Aquí estaba el listado de la documentación"
262-
, div [ class "primera columna" ]
263-
[ Palette.heading 1 [ Html.text staticPayload.metadata.title ]
264-
, div [ class "segunda columna" ]
265-
[ tocView staticPayload.path (Tuple.first rendered)
266-
, div
267-
[ class "tercer columna" ]
268-
(Tuple.second rendered |> List.map (Html.map never))
269-
]
262+
, div [ class "segunda columna" ]
263+
[ tocView staticPayload.path (Tuple.first rendered)
264+
, div
265+
[ class "tercer columna" ]
266+
(Tuple.second rendered |> List.map (Html.map never))
270267
]
271268
, div
272269
[ class "max-w-7xl mx-auto sm:px-6 lg:px-8" ]

0 commit comments

Comments
 (0)