diff --git a/src/Components/Footer.elm b/src/Components/Footer.elm index 1ad05ef..b43f006 100644 --- a/src/Components/Footer.elm +++ b/src/Components/Footer.elm @@ -25,7 +25,7 @@ footerLinksToSide = Html.div [ class "fixed bottom-0 left-0 bg-neutral-900 p-4 w-full border-t border-cyan-500" ] [ Html.div [ class "mx-auto flex justify-center space-x-6 text-gray-400" ] (List.map singleLink <| - { text = "Home", url = "https://avinal.space" } + { text = "Home", url = "/" } :: footerLinks ) ] diff --git a/src/Pages/NotFound_.elm b/src/Pages/NotFound_.elm index 3295756..ae54b4e 100644 --- a/src/Pages/NotFound_.elm +++ b/src/Pages/NotFound_.elm @@ -13,7 +13,7 @@ page = [ Html.div [ class "min-h-screen flex flex-col justify-center relative overflow-hidden" ] [ Html.div [ class "relative w-full bg-neutral md:max-w-3xl md:mx-auto lg:max-w-4xl lg:pb-28 space-2" ] [ errorView "Couldn't find what you are looking for. Please check back later" - , Html.a [ class "float-right bg-transparent mr-auto hover:bg-pink-600 text-cyan-500 hover:text-white rounded border py-2 px-4 border-cyan-500 mt-2", href "https://avinal.space" ] [ Html.text "Return to Home!" ] + , Html.a [ class "float-right bg-transparent mr-auto hover:bg-pink-600 text-cyan-500 hover:text-white rounded border py-2 px-4 border-cyan-500 mt-2", href "/" ] [ Html.text "Return to Home!" ] ] ] ] diff --git a/src/Utils/Constants.elm b/src/Utils/Constants.elm index e1f2d61..6367a38 100644 --- a/src/Utils/Constants.elm +++ b/src/Utils/Constants.elm @@ -28,10 +28,10 @@ type alias Job msg = footerLinks : List Link footerLinks = - [ { text = "About", url = "https://avinal.space/pages/about-me" } - , { text = "Blog", url = "https://avinal.space/posts" } - , { text = "Projects", url = "https://avinal.space/pages/projects" } - , { text = "GSoC", url = "https://avinal.space/posts/gsoc" } + [ { text = "About", url = "/pages/about-me" } + , { text = "Blog", url = "/posts" } + , { text = "Projects", url = "/pages/projects" } + , { text = "GSoC", url = "/posts/gsoc" } ] @@ -39,10 +39,9 @@ iconLinks : List IconLink iconLinks = [ { url = "https://github.com/avinal", icon = "fa-brands fa-github" } , { url = "https://www.linkedin.com/in/avinal", icon = "fa-brands fa-linkedin" } - , { url = "https://instagram.com/avinal.k", icon = "fa-brands fa-instagram" } , { url = "https://twitter.com/Avinal_", icon = "fa-brands fa-twitter" } , { url = "mailto:ripple@avinal.space", icon = "fa-solid fa-envelope" } - , { url = "https://avinal.space/meet", icon = "fa-solid fa-video" } + , { url = "/meet", icon = "fa-solid fa-video" } ]