summaryrefslogtreecommitdiff
path: root/examples/snowpack/src/components/Banner.astro
blob: 3b08c117fcd718139cc07d5691ccb8d76c072e39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<style lang="scss">
.notification {
  padding: .5rem;
  color: #fff;
  font-weight: bold;
  background-color: #b224d0;
  text-align: center;

  a {
    color: white;
  }
}
</style>

<section class="grid-banner">
  <div class="notification">
    <div class="wrapper">
      Snowpack 3.0 is out now!
      <a href="/posts/2021-01-13-snowpack-3-0">
        Read the announcement post →
      </a>
    </div>
  </div>
</section>