Skip to content

Commit

Permalink
align images, hide announcement banner on hacktoberfest page (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosgauci authored Sep 14, 2023
1 parent 8532383 commit acaeccb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions themes/haystack/assets/sass/components/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@
@include md {
position: absolute;
left: 1rem;
top: 50%;
// top: 50%;
max-width: 7.375rem;
transform: translateY(-50%);
// transform: translateY(-50%);
}

@include lg {
Expand Down
6 changes: 4 additions & 2 deletions themes/haystack/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
{{/* Header */}}
{{ partial "header" . }}

{{/* Announcement Bar */}}
{{ partial "announcement" . }}
{{/* Announcement Bar */}}
{{ if not (eq .Params.Layout "hacktoberfest") }}
{{ partial "announcement" . }}
{{ end}}

{{/* Main */}}
<main>{{ block "main" . }}{{ end }}</main>
Expand Down

1 comment on commit acaeccb

@vercel
Copy link

@vercel vercel bot commented on acaeccb Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.