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

fix homepage links and update information

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>

rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
2024-03-30 13:36:20 +05:30
parent d2c0f902d1
commit 05c967c5a8
3 changed files with 13 additions and 7 deletions
+5 -2
View File
@@ -3,12 +3,13 @@ module Layouts.Home exposing (Model, Msg, Props, layout)
import Components.Footer exposing (iconLinkToCenter)
import Effect exposing (Effect)
import Html exposing (Html)
import Html.Attributes exposing (class, href)
import Html.Attributes exposing (class, href, target, rel)
import Layout exposing (Layout)
import Route exposing (Route)
import Shared
import Utils.Constants exposing (..)
import View exposing (View)
import Html.Attributes exposing (target)
type alias Props =
@@ -74,6 +75,8 @@ view { toContentMsg, model, content } =
Html.a
[ href link.url
, class "underline decoration-cyan-500 hover:decoration-pink-500 inline-flex text-xl p-3"
, target "_blank"
, rel "noopener noreferrer"
]
[ Html.text link.text ]
in
@@ -82,7 +85,7 @@ view { toContentMsg, model, content } =
[ Html.section [ class "flex items-center justify-center flex-col h-screen text-gray-400" ]
[ Html.header [ class "object-cover object-center p-8" ] content.body
, iconLinkToCenter
, Html.div [ class "text-center text-xl p-2" ] [ Html.text "I'm Avinal and I work at Red Hat as an Associate Software Engineer for Hybrid Cloud Engineering." ]
, Html.div [ class "text-center text-xl p-2" ] [ Html.text "Avinal Kumar, Software Engineer II at Red Hat, Open Sourcerer" ]
, Html.footer [ class "flex justify-center flex-wrap" ]
(List.map footerLinkToCenter Utils.Constants.footerLinks)
]
+1 -1
View File
@@ -110,7 +110,7 @@ view model =
Html.li [ class "mb-10 ml-6" ]
[ Html.span [ class "absolute flex items-center justify-center w-6 h-6 bg-pink-600 ring-pink-900 rounded-full -left-3 ring-8" ]
[ Html.text <| String.left 1 edu.institution ]
, Html.h3 [ class "flex items-center mb-1 text-2xl font-semibold" ] [ Html.text <| edu.studyType ++ " at " ++ edu.institution ]
, Html.h3 [ class "flex items-center mb-1 text-xl font-semibold" ] [ Html.text <| edu.studyType ++ " at " ++ edu.institution ]
, Html.time [ class "block mb-2 text font-normal leading-none text-gray-500", datetime edu.startDate ]
[ Html.text <| getFormattedDate edu.startDate False ++ " - " ++ getFormattedDate edu.endDate False ]
, Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [ Html.text edu.area ]