1
0
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:
2024-03-30 13:20:30 +05:30
parent d085c84d03
commit d2c0f902d1
2 changed files with 10 additions and 2 deletions
+6 -1
View File
@@ -26,7 +26,12 @@ jobs:
node-version: 16 node-version: 16
cache: "npm" cache: "npm"
cache-dependency-path: ./package-lock.json 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 - name: Install elm-land and node packages
run: npm install run: npm install
- name: build - name: build
run: make all run: make
+4 -1
View File
@@ -1,8 +1,9 @@
module Components.Footer exposing (..) module Components.Footer exposing (..)
import Html exposing (Html) 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 Utils.Constants exposing (IconLink, Link, footerLinks)
import Html.Attributes exposing (rel)
singleLink : Link -> Html msg singleLink : Link -> Html msg
@@ -10,6 +11,8 @@ singleLink link =
Html.a Html.a
[ href link.url [ href link.url
, class "underline decoration-cyan-500 hover:decoration-pink-500 text-xl" , class "underline decoration-cyan-500 hover:decoration-pink-500 text-xl"
, target "_blank"
, rel "noopener noreferrer"
] ]
[ Html.text link.text ] [ Html.text link.text ]