Skip to content

Commit b3cb9c9

Browse files
committed
Tweak styling of hero
1 parent 3f1ef1f commit b3cb9c9

1 file changed

Lines changed: 6 additions & 23 deletions

File tree

src/clojure_camp_site/pages/index.clj

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
:bottom 0}}]
2626
[:div {:style {:background "url(/assets/campsite.png) left bottom no-repeat"
2727
:background-size "contain"
28+
:transform "scaleX(-1)"
2829
:pointer-events "none"
2930
:position "absolute"
3031
:top "60%"
@@ -37,7 +38,7 @@
3738
{:position "relative"
3839
:z-index 10
3940
:padding-top "5rem"
40-
:max-width "80rem"
41+
:max-width "76rem"
4142
:margin "0 auto"
4243
:display "flex"}
4344
:class "items-center gap-4 justify-between flex-wrap"}
@@ -62,29 +63,11 @@
6263
"bg-pink-600 text-white font-bold p-2 hover:text-white hover:bg-orange-400 hover:decoration-none"}
6364
"Start with the Handbook"]]]]
6465
[:img
65-
{:style {:height "30rem"}
66+
{:style {:height "20rem"
67+
:width "50%"
68+
:object-fit "contain"}
6669
:src "/assets/logomark.svg"
67-
:alt "Clojure Camp Logo - a lambda stylized as a constellation of stars"}]]
68-
]
69-
#_[:div
70-
{:class
71-
"overflow-hidden bg-gray-900 text-white py-24 sm:py-32 bg-gradient-to-t from-slate-800 via-slate-800 to-slate-700",
72-
:style "pointer-events: auto;"}
73-
[:div
74-
{:class "mx-auto max-w-7xl px-6 lg:px-8"}
75-
[:div
76-
{:class
77-
"mx-auto grid max-w-2xl grid-cols-1 gap-y-16 gap-x-8 sm:gap-y-20 lg:mx-0 lg:max-w-none lg:grid-cols-2"}
78-
[:div
79-
{:class "lg:pr-8 lg:pt-4"}
80-
]
81-
[:div
82-
{:class "justify-center text-center"}
83-
[:img
84-
{:class
85-
"max-w-xs md:max-w-xs sm:max-w-xs lg:max-w-xs xl:max-w-sm mx-auto",
86-
:src "/assets/ClojureCamp-SecondaryLogo-RGB-FullColor.png",
87-
:alt ""}]]]]]
70+
:alt "Clojure Camp Logo - a lambda stylized as a constellation of stars"}]]]
8871
[:div
8972
{:class "bg-gray-900 py-16 sm:pt-24 sm:pb-20"}
9073
[:div

0 commit comments

Comments
 (0)