File tree Expand file tree Collapse file tree 3 files changed +35
-12
lines changed Expand file tree Collapse file tree 3 files changed +35
-12
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ extension Page {
18
18
public var title : String { " Erik Bautista Santibanez " }
19
19
public var desc : String {
20
20
"""
21
+ A software developer specialized in mobile and web applications.
21
22
"""
22
23
}
23
24
public var lang : String { " en " }
Original file line number Diff line number Diff line change @@ -139,10 +139,33 @@ private struct UserView: HTML {
139
139
}
140
140
} content: {
141
141
// div {
142
+ // p {
143
+ // """
144
+ // I'm a passionate software developer who builds applications using Swift and modern web technologies.
145
+ // """
146
+ // }
147
+ // div {
148
+ // button {
149
+ // "Resume"
150
+ // }
151
+
152
+ // button {
153
+ // "GitHub"
154
+ // }
155
+
156
+ // button {
157
+ // "LinkedIn"
158
+ // }
159
+
160
+ // button {
161
+ // "Contact"
162
+ // }
163
+ // }
164
+ // .inlineStyle("display", "flex")
165
+ // .inlineStyle("flex-direction", "row")
166
+ // .inlineStyle("gap", "1.125rem")
142
167
// }
143
- // .inlineStyle("display", "flex")
144
- // .inlineStyle("flex-direction", "row")
145
- // .inlineStyle("gap", "1.125rem")
168
+ // .inlineStyle("padding", "0 1.5rem 1.5rem")
146
169
EmptyHTML ( )
147
170
}
148
171
}
@@ -264,7 +287,7 @@ private struct PostsView: HTML {
264
287
}
265
288
}
266
289
. inlineStyle ( " color " , " #7A7A7A " )
267
- . inlineStyle ( " font-size " , " 0.86em " )
290
+ . inlineStyle ( " font-size " , " 0.7em " )
268
291
. inlineStyle ( " margin-top " , " 0.75rem " )
269
292
}
270
293
}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public struct NotFoundPage: Page {
34
34
private struct InnerView : HTML {
35
35
let codeLang : Expression < CodeLang ? >
36
36
37
- private static let notFoundDescription = " The asset or page does not exist. "
37
+ private static let notFoundDescription = " The asset or page could not be found "
38
38
39
39
var body : some HTML {
40
40
section {
@@ -57,23 +57,22 @@ private struct InnerView: HTML {
57
57
if let lang {
58
58
pre {
59
59
code {
60
+ """
61
+ // 404 ERROR
62
+ // \( Self . notFoundDescription) \n
63
+ """
64
+
60
65
switch lang {
61
66
case . swift:
62
67
"""
63
- // 404 ERROR
64
- // \( Self . notFoundDescription)
65
68
throw Error.notFound
66
69
"""
67
70
case . rust:
68
71
"""
69
- // 404 ERROR
70
- // \( Self . notFoundDescription)
71
72
panic!( " Not found " );
72
73
"""
73
74
case . typescript:
74
75
"""
75
- // 404 ERROR
76
- // \( Self . notFoundDescription)
77
76
throw new Error( " Not found " );
78
77
"""
79
78
}
@@ -91,7 +90,7 @@ private struct InnerView: HTML {
91
90
92
91
p { Self . notFoundDescription }
93
92
. inlineStyle ( " color " , " #d0d0d0 " )
94
- . inlineStyle ( " font-weight " , " 500 " )
93
+ . inlineStyle ( " font-weight " , " normal " )
95
94
}
96
95
}
97
96
. inlineStyle ( " padding " , " 160px 32px " )
You can’t perform that action at this time.
0 commit comments