Skip to content

Commit

Permalink
.conf-btn edited
Browse files Browse the repository at this point in the history
  • Loading branch information
jcupac committed Jun 19, 2024
1 parent bfa4fb6 commit d2171c9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 39 deletions.
19 changes: 7 additions & 12 deletions _includes/home-conference.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@ <h1>Tech Excellence Conference</h1>

<h2>Fri 22 Nov 2024<span>&bull;</span>Live Online</h2>

<button class="conf-btn">
<a href="https://www.meetup.com/techexcellence/events/301221542/" target="_blank" rel="noopener">
Register
</a>
</button>

<button class="conf-btn">
<!-- {{ site.url }}/conf/#sessions -->
<a href="{{ site.url }}/conf">
Sessions
</a>
</button>
<a href="https://www.meetup.com/techexcellence/events/301221542/" class="conf-btn" target="_blank" rel="noopener">
Register
</a>

<a href="{{ site.url }}/conf/#sessions" class="conf-btn" rel="noopener">
Sessions
</a>


{% assign conferenceSpeakers = site.data.conf-speakers.list %}
Expand Down
32 changes: 15 additions & 17 deletions _scss/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -235,43 +235,41 @@ a {
display: inline-block;
}

button.conf-btn {
.conf-btn {
font-weight: 400;
text-transform: uppercase;
font-size: 1.5rem;
background-color: #25b4bd;
color: white;
border: 1px solid #25b4bd;
padding: .75rem 2.5rem;
border-radius: 6px;
margin: 0 .5rem;
box-shadow: 1px 1px 6px rgba(24, 88, 97, 0.6);
color: white;
display: inline-block;
&:hover, &:active, &.active {
background-color: rgb(7, 216, 231);
border-color: rgb(7, 216, 231);
color: white;
}
margin: 0 .5rem;
@include media-breakpoint-down(sm){
width: calc(100% - 24px);
margin-right: 12px;
margin-left: 12px;
margin-bottom: 2rem;
}
a {
color: white;
}
}

button.conf-btn-secondary {
background-color: transparent;
color: white;
border: 2px solid rgba(21, 138, 146, 0.7);
box-shadow: none;
&:hover, &:active, &.active {
// JC - check if this is needed
// background-color: rgba(10, 107, 114, 0.7);
// border-color: rgba(21, 138, 146, 0.7)
}
}
// .conf-btn-secondary {
// background-color: transparent;
// color: white;
// border: 2px solid rgba(21, 138, 146, 0.7);
// box-shadow: none;
// &:hover, &:active, &.active {
// background-color: rgba(10, 107, 114, 0.7);
// border-color: rgba(21, 138, 146, 0.7)
// }
// }
a, a:hover, a:active, a.active {
text-decoration: none;
}
Expand Down
16 changes: 6 additions & 10 deletions conf.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@ <h1>Tech Excellence Conference</h1>

<h2>Fri 22 Nov 2024 <span>|</span> Live Online</h2>

<button class="conf-btn">
<a href="https://www.meetup.com/techexcellence/events/301221542/" target="_blank" rel="noopener">
Register
</a>
</button>
<a href="https://www.meetup.com/techexcellence/events/301221542/" class="conf-btn" target="_blank" rel="noopener">
Register
</a>

<button class="conf-btn">
<a href="{{ site.url }}/conf/#sessions" rel="noopener">
Sessions
</a>
</button>
<a href="{{ site.url }}/conf/#sessions" class="conf-btn" rel="noopener">
Sessions
</a>
</div>

{% assign conferenceSpeakers = site.data.conf-speakers.list %}
Expand Down

0 comments on commit d2171c9

Please sign in to comment.