mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+10
-12
@@ -24,13 +24,10 @@ view model =
|
|||||||
[]
|
[]
|
||||||
, div [ class "foo-support__message" ] [ model.support_message ]
|
, div [ class "foo-support__message" ] [ model.support_message ]
|
||||||
, div [ class "foo-error__message" ] [ model.error_message ]
|
, div [ class "foo-error__message" ] [ model.error_message ]
|
||||||
, div [ class "foo-support__message" ]
|
, withSpacing (div [ class "foo-support__message" ])
|
||||||
[ a [ href "https://avinal.space/pages/about-me" ] [ text "About me" ]
|
[ a [ href "https://avinal.space/pages/about-me" ] [ text "About me" ]
|
||||||
, text " "
|
|
||||||
, a [ href "https://avinal.space/posts" ] [ text "Blog" ]
|
, a [ href "https://avinal.space/posts" ] [ text "Blog" ]
|
||||||
, text " "
|
|
||||||
, a [ href "https://avinal.space/pages/projects" ] [ text "Projects" ]
|
, a [ href "https://avinal.space/pages/projects" ] [ text "Projects" ]
|
||||||
, text " "
|
|
||||||
, a [ href "https://gsoc.avinal.space" ] [ text "GSoC" ]
|
, a [ href "https://gsoc.avinal.space" ] [ text "GSoC" ]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
@@ -41,11 +38,16 @@ type Msg
|
|||||||
= Nothing
|
= Nothing
|
||||||
|
|
||||||
|
|
||||||
|
withSpacing : (List (Html msg) -> Html msg) -> List (Html msg) -> Html msg
|
||||||
|
withSpacing element =
|
||||||
|
List.intersperse (text " ") >> element
|
||||||
|
|
||||||
|
|
||||||
notFound : String -> Model
|
notFound : String -> Model
|
||||||
notFound error =
|
notFound error =
|
||||||
{ support_message = default.support_message
|
{ support_message = default.support_message
|
||||||
, error_message =
|
, error_message =
|
||||||
span []
|
withSpacing (span [])
|
||||||
[ i [ class "fa-solid fa-triangle-exclamation foo-term-yellow" ] []
|
[ i [ class "fa-solid fa-triangle-exclamation foo-term-yellow" ] []
|
||||||
, text "I could not find anything on this"
|
, text "I could not find anything on this"
|
||||||
, i [ class "fa-solid fa-link" ] []
|
, i [ class "fa-solid fa-link" ] []
|
||||||
@@ -59,20 +61,16 @@ notFound error =
|
|||||||
default : Model
|
default : Model
|
||||||
default =
|
default =
|
||||||
{ support_message =
|
{ support_message =
|
||||||
span []
|
withSpacing (span [])
|
||||||
[ a [ href "https://github.com/avinal" ] [ i [ class "fa-brands fa-github" ] [] ]
|
[ a [ href "https://github.com/avinal" ] [ i [ class "fa-brands fa-github" ] [] ]
|
||||||
, text " "
|
|
||||||
, a [ href "https://www.linked.com/in/avinal" ] [ i [ class "fa-brands fa-linkedin" ] [] ]
|
, a [ href "https://www.linked.com/in/avinal" ] [ i [ class "fa-brands fa-linkedin" ] [] ]
|
||||||
, text " "
|
|
||||||
, a [ href "https://instagram.com/avinal.k" ] [ i [ class "fa-brands fa-instagram" ] [] ]
|
, a [ href "https://instagram.com/avinal.k" ] [ i [ class "fa-brands fa-instagram" ] [] ]
|
||||||
, text " "
|
, a [ href "https://meet.avinal.space" ] [ i [ class "fa-solid fa-calandar-days" ] [] ]
|
||||||
, a [ href "" ] [ i [ class "fa-solid fa-calandar-days" ] [] ]
|
|
||||||
, a [ href "mailto:ripple+blog@avinal.space" ] [ i [ class "fa-solid fa-envelope" ] [] ]
|
, a [ href "mailto:ripple+blog@avinal.space" ] [ i [ class "fa-solid fa-envelope" ] [] ]
|
||||||
, text " "
|
|
||||||
, a [ href "https://avinal.space/terminal" ] [ i [ class "fa-solid fa-terminal" ] [] ]
|
, a [ href "https://avinal.space/terminal" ] [ i [ class "fa-solid fa-terminal" ] [] ]
|
||||||
]
|
]
|
||||||
, error_message =
|
, error_message =
|
||||||
span []
|
withSpacing (span [])
|
||||||
[ text "I'm Avinal, and I work at Red Hat"
|
[ text "I'm Avinal, and I work at Red Hat"
|
||||||
, i [ class "fa-brands fa-redhat foo-term-red" ] []
|
, i [ class "fa-brands fa-redhat foo-term-red" ] []
|
||||||
, text "as an Associate Software Engineer for Hybrid Cloud Engineering."
|
, text "as an Associate Software Engineer for Hybrid Cloud Engineering."
|
||||||
|
|||||||
Reference in New Issue
Block a user