Skip to content

Commit 24056ed

Browse files
committed
feat: Update highlight style and intro text on index page
1 parent d8776f4 commit 24056ed

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

src/Page/Index.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ view =
1414
, em [ class "headline-em" ] [ text "something great" ]
1515
, text ". "
1616
, text "If you're seeing this page, maybe it's "
17-
, span [ class "highlight" ] [ text "your something" ]
17+
, em [ class "highlight-em" ] [ text "your something" ]
1818
, text "."
1919
]
2020
]
2121
, div [ class "copy" ]
2222
[ p []
23-
[ text "Hi, my name is Julian. If you're interested in this domain, message me on "
23+
[ text "Hello, my name is Julian. If you're interested in this domain, message me on "
2424
, a
2525
[ href "https://www.linkedin.com/in/julian-dawson/"
2626
, target "_blank"

src/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
color: var(--color-accent-contrast);
5454
}
5555

56+
.highlight-em {
57+
@apply italic;
58+
background: var(--color-accent);
59+
color: var(--color-accent-contrast);
60+
}
61+
5662
.link {
5763
@apply underline underline-offset-4 transition-colors;
5864
color: var(--color-text);

0 commit comments

Comments
 (0)