mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-03 23:30:09 +05:30
fix links and github action
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:
@@ -26,7 +26,12 @@ jobs:
|
||||
node-version: 16
|
||||
cache: "npm"
|
||||
cache-dependency-path: ./package-lock.json
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.124.1'
|
||||
extended: true
|
||||
- name: Install elm-land and node packages
|
||||
run: npm install
|
||||
- name: build
|
||||
run: make all
|
||||
run: make
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
module Components.Footer exposing (..)
|
||||
|
||||
import Html exposing (Html)
|
||||
import Html.Attributes exposing (class, href, src)
|
||||
import Html.Attributes exposing (class, href, src, target)
|
||||
import Utils.Constants exposing (IconLink, Link, footerLinks)
|
||||
import Html.Attributes exposing (rel)
|
||||
|
||||
|
||||
singleLink : Link -> Html msg
|
||||
@@ -10,6 +11,8 @@ singleLink link =
|
||||
Html.a
|
||||
[ href link.url
|
||||
, class "underline decoration-cyan-500 hover:decoration-pink-500 text-xl"
|
||||
, target "_blank"
|
||||
, rel "noopener noreferrer"
|
||||
]
|
||||
[ Html.text link.text ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user