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

minor performance improvements

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2023-03-28 14:13:20 +05:30
parent 8e3d4b408f
commit e6753e137d
6 changed files with 20 additions and 20 deletions
+11 -11
View File
@@ -18,7 +18,7 @@
"head": {}, "head": {},
"body": {} "body": {}
}, },
"title": "Avinal | Personal Website", "title": "Avinal Kumar | Personal Website",
"meta": [ "meta": [
{ {
"charset": "UTF-8" "charset": "UTF-8"
@@ -45,7 +45,7 @@
}, },
{ {
"name": "description", "name": "description",
"content": "Associate Software Engineer at Red Hat | Open Source Contributor" "content": "I am a Software Engineer Associate at Red Hat, specialising in hybrid cloud engineering. I have been involved with Google's Summer of Code and Google Season of Docs programmes as a mentor and contributor to Open Source for many years. For fun, I like to play around with cutting-edge areas of computer science; at the moment, I'm learning about Elm. GNU/Linux and free/open-source software are two of my favourite things."
}, },
{ {
"property": "og:type", "property": "og:type",
@@ -61,11 +61,11 @@
}, },
{ {
"property": "og:description", "property": "og:description",
"content": "Associate Software Engineer at Red Hat | Open Source Contributor" "content": "I am a Software Engineer Associate at Red Hat, specialising in hybrid cloud engineering. I have been involved with Google's Summer of Code and Google Season of Docs programmes as a mentor and contributor to Open Source for many years. For fun, I like to play around with cutting-edge areas of computer science; at the moment, I'm learning about Elm. GNU/Linux and free/open-source software are two of my favourite things"
}, },
{ {
"property": "og:image", "property": "og:image",
"content": "/images/avinal-meta.png" "content": "https://avinal.space/images/avinal-meta.png"
}, },
{ {
"property": "twitter:card", "property": "twitter:card",
@@ -81,16 +81,16 @@
}, },
{ {
"property": "twitter:description", "property": "twitter:description",
"content": "Associate Software Engineer at Red Hat | Open Source Contributor" "content": "I am a Software Engineer Associate at Red Hat, specialising in hybrid cloud engineering. I have been involved with Google's Summer of Code and Google Season of Docs programmes as a mentor and contributor to Open Source for many years. For fun, I like to play around with cutting-edge areas of computer science; at the moment, I'm learning about Elm. GNU/Linux and free/open-source software are two of my favourite things"
}, },
{ {
"property": "twitter:image", "property": "twitter:image",
"content": "/images/avinal-meta.png" "content": "https://avinal.space/images/avinal-meta.png"
} }
], ],
"link": [ "link": [
{ {
"rel": "stylesheet", "defer rel": "stylesheet",
"href": "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css", "href": "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css",
"integrity": "sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w==", "integrity": "sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w==",
"crossorigin": "anonymous", "crossorigin": "anonymous",
@@ -126,14 +126,14 @@
"href": "/safari-pinned-tab.svg", "href": "/safari-pinned-tab.svg",
"color": "#5bbad5" "color": "#5bbad5"
} }
,{
"rel": "canonical",
"href": "https://avinal.space"
}
], ],
"script": [ "script": [
{ {
"defer src": "https://cdn.jsdelivr.net/npm/marked/marked.min.js" "defer src": "https://cdn.jsdelivr.net/npm/marked/marked.min.js"
},
{
"data-goatcounter": "https://avinal.goatcounter.com/count",
"async src": "//gc.zgo.at/count.js"
} }
] ]
}, },
+1 -1
View File
@@ -28,7 +28,7 @@ footerLinksToSide =
Html.div [ class "fixed bottom-0 left-0 bg-neutral-900 z-20 p-4 w-full md:flex md:items-center md:justify-between md:p-4" ] Html.div [ class "fixed bottom-0 left-0 bg-neutral-900 z-20 p-4 w-full md:flex md:items-center md:justify-between md:p-4" ]
[ Html.ul [ class "flex flex-wrap items-center mt-3 text-xl sm:mt-0 text-gray-400" ] [ Html.ul [ class "flex flex-wrap items-center mt-3 text-xl sm:mt-0 text-gray-400" ]
(List.map singleLink <| (List.map singleLink <|
{ text = "Home", url = "/" } { text = "Home", url = "https://avinal.space" }
:: footerLinks :: footerLinks
) )
] ]
+1 -1
View File
@@ -60,7 +60,7 @@ type alias Model =
, generating : Bool , generating : Bool
} }
cellSize : Int
cellSize = cellSize =
10 10
+1 -1
View File
@@ -233,7 +233,7 @@ errorView error =
[ class " text-gray-400" [ class " text-gray-400"
] ]
[ Html.a [ Html.a
[ href "../posts" [ href "https://avinal.space/posts"
, rel "referrer noopener" , rel "referrer noopener"
, class "underline" , class "underline"
] ]
+5 -5
View File
@@ -17,10 +17,10 @@ type alias IconLink =
footerLinks : List Link footerLinks : List Link
footerLinks = footerLinks =
[ { text = "About", url = "/pages/about-me" } [ { text = "About", url = "https://avinal.space/pages/about-me" }
, { text = "Blog", url = "/posts" } , { text = "Blog", url = "https://avinal.space/posts" }
, { text = "Projects", url = "/pages/projects" } , { text = "Projects", url = "https://avinal.space/pages/projects" }
, { text = "GSoC", url = "/posts/gsoc" } , { text = "GSoC", url = "https://avinal.space/posts/gsoc" }
] ]
@@ -31,7 +31,7 @@ iconLinks =
, { url = "https://instagram.com/avinal.k", icon = "fa-brands fa-instagram" } , { url = "https://instagram.com/avinal.k", icon = "fa-brands fa-instagram" }
, { url = "https://twitter.com/Avinal_", icon = "fa-brands fa-twitter" } , { url = "https://twitter.com/Avinal_", icon = "fa-brands fa-twitter" }
, { url = "mailto:ripple@avinal.space", icon = "fa-solid fa-envelope" } , { url = "mailto:ripple@avinal.space", icon = "fa-solid fa-envelope" }
, { url = "/meet", icon = "fa-solid fa-video" } , { url = "https://avinal.space/meet", icon = "fa-solid fa-video" }
] ]
+1 -1
View File
@@ -57,7 +57,7 @@ authenticated pages.
-} -}
none : View msg none : View msg
none = none =
{ title = "Avinal | Personal Website" { title = "Avinal Kumar | Personal Website"
, body = [] , body = []
} }