1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-03 23:30:09 +05:30

fix text size and colors

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2022-09-15 21:56:35 +05:30
parent e46f0dfbbe
commit 3840e00bec
3 changed files with 18 additions and 13 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+5 -5
View File
@@ -5,20 +5,20 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./mdn-style.min.css">
<link rel="stylesheet" href="./foo-style.min.css">
<link rel="stylesheet" href="/mdn-style.min.css">
<link rel="stylesheet" href="/foo-style.min.css">
<title>Document</title>
<script src="./redirect.js"></script>
<script src="/redirect.js"></script>
<script src="https://kit.fontawesome.com/7a57741988.js" crossorigin="anonymous"></script>
</head>
<body>
<div id="app"></div>
<script src="./app.js"></script>
<script src="/app.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="./prism.js"></script>
<script src="/prism.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script>
var app = Elm.Main.init({ node: document.getElementById("app") });
+12 -7
View File
@@ -1,7 +1,7 @@
module Splash exposing (..)
import Html exposing (Html, a, div, i, img, p, span, text)
import Html.Attributes exposing (alt, class, height, href, src, style, width)
import Html exposing (Html, a, div, i, img, span, text)
import Html.Attributes exposing (alt, class, height, href, src, width)
type alias Model =
@@ -38,6 +38,11 @@ type Msg
= Nothing
{-| How to get whitespace between html tags?
Link: <https://stackoverflow.com/a/55827562/11143805>
-}
withSpacing : (List (Html msg) -> Html msg) -> List (Html msg) -> Html msg
withSpacing element =
List.intersperse (text " ") >> element
@@ -50,9 +55,9 @@ notFound error =
withSpacing (span [])
[ i [ class "fa-solid fa-triangle-exclamation foo-term-yellow" ] []
, text "I could not find anything on this"
, i [ class "fa-solid fa-link" ] []
, text error
, text ". If you think this is a mistake, please contact me."
, i [ class "fa-solid fa-link foo-term-red" ] []
, a [ href error ] [ text error ]
, text "If you think this is a mistake, please contact me."
, i [ class "fa-solid fa-triangle-exclamation foo-term-yellow" ] []
]
}
@@ -63,9 +68,9 @@ default =
{ support_message =
withSpacing (span [])
[ a [ href "https://github.com/avinal" ] [ i [ class "fa-brands fa-github" ] [] ]
, a [ href "https://www.linked.com/in/avinal" ] [ i [ class "fa-brands fa-linkedin" ] [] ]
, a [ href "https://www.linkedin.com/in/avinal" ] [ i [ class "fa-brands fa-linkedin" ] [] ]
, a [ href "https://instagram.com/avinal.k" ] [ i [ class "fa-brands fa-instagram" ] [] ]
, a [ href "https://meet.avinal.space" ] [ i [ class "fa-solid fa-calandar-days" ] [] ]
, a [ href "https://meet.avinal.space" ] [ i [ class "fa-solid fa-calendar-days" ] [] ]
, a [ href "mailto:ripple+blog@avinal.space" ] [ i [ class "fa-solid fa-envelope" ] [] ]
, a [ href "https://avinal.space/terminal" ] [ i [ class "fa-solid fa-terminal" ] [] ]
]