Skip to content

Commit

Permalink
remove aoc announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Jan 2, 2025
1 parent 770d842 commit 0246d88
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/UnisonShare/AppDocument.elm
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import Html exposing (Html, div)
import Html.Attributes exposing (class, id)
import Maybe.Extra as MaybeE
import UI
import UI.Button as Button
import UI.PageHeader as PageHeader exposing (PageHeader)
import UnisonShare.AppHeader as AppHeader exposing (AppHeader, AppHeaderContext)
import UnisonShare.Link as Link



Expand Down Expand Up @@ -91,19 +89,7 @@ map toMsgB { pageId, title, appHeader, pageHeader, page, modal } =

viewAnnouncement : Maybe (Html msg)
viewAnnouncement =
Just
(div [ id "announcement" ]
[ div [ class "announcement_content" ]
[ Link.view
"🎄 Season's Greetings! Join us for this year's Advent of Code puzzles."
Link.aoc2024
, Button.button_ Link.aoc2024 "Get started"
|> Button.emphasized
|> Button.small
|> Button.view
]
]
)
Nothing


view : AppHeaderContext msg -> AppDocument msg -> Document msg
Expand Down

0 comments on commit 0246d88

Please sign in to comment.