PageMeta.vue 3.33 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<template>
  <footer class="page-meta">
    <div class="footer-box">
      <div class="footer-box-area">
        <span class="footer-section-header">About this page</span>
        <ul>
          <li>Updated: {{ updateTime.slice(0, updateTime.length - 6) }}</li>
        </ul>
      </div>

      <div class="footer-box-area">
        <span class="footer-section-header">Contribute</span>
        <ul>
          <li>
            <a :href="editLink" target="_blank" rel="noopener noreferrer">
              <i class="far fa-pencil"></i> Edit this page
            </a>
          </li>
          <li>
            <a href="https://github.com/ethereum-optimism/optimism/contribute" target="_blank" rel="noopener noreferrer">
              <i class="far fa-hands-helping"></i> Contribute to Optimism
            </a>
          </li>
        </ul>
      </div>

      <div class="footer-box-area">
        <span class="footer-section-header">Still need help?</span>
        <ul>
          <li>
            <a href="https://discord.optimism.io" target="_blank" rel="noopener noreferrer">
              <i class="fab fa-discord"></i> Discord community
            </a>
          </li>
35
          <li>
36
            <a href="https://forms.monday.com/forms/c867f3f357707ff1fb4af0d3d5080710?r=use1" target="_blank" rel="noopener noreferrer">
37 38
              <i class="far fa-comment-dots"></i> Get support for going live
            </a>
39
          </li>
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
        </ul>
      </div>
    </div>
  </footer>
</template>

<script src="./PageMeta" />

<style lang="stylus">
@require '~@mr-hope/vuepress-shared/styles/wrapper'

.page-meta
  @extend $wrapper
  padding-top 12px
  padding-bottom 12px
  font-family Arial, Helvetica, sans-serif
  overflow auto

  .meta-item
    .label
      font-weight 500
      color var(--text-color-l25)

    .info
      font-weight 400
      color var(--dark-grey)

  .edit-link
    display inline-block
    font-size 14px

    .icon
      position relative
      bottom -0.125em
      width 1em
      height 1em
      color var(--accent-color)

    @media (max-width $MQMobile)
      margin-bottom 8px

    a
      color var(--accent-color-l10)

  .update-time
    float right
    font-size 14px

    @media (max-width $MQMobile)
      float none
      font-size 13px
      text-align left

  .contributors
    font-size 14px
    text-align right

    @media (max-width $MQMobile)
      font-size 13px
      text-align left

  .footer-box
    display flex
    flex-direction row
    justify-content space-between
    background-color #F1F4F9
    padding 32px
    padding-left: 40px;
    padding-right: 40px;
    border-radius 16px

    @media (max-width $MQNarrow)
      flex-direction column

    .footer-box-area
      @media (max-width $MQNarrow)
        margin-bottom 32px

      span.footer-section-header
        font-family 'Open Sans', sans-serif
        font-weight 600
        font-size 14px
        line-height 20px

      ul
        list-style-type none
        padding-left 0
        font-size 14px
        line-height 20px
        margin-top 10px
        margin-bottom 0px
        color #68778D

        li
          margin-top 15px
          margin-bottom 5px

      a
        color #68778D
        font-family 'Open Sans', sans-serif

        &:hover
          color #FF0420

      i
        font-size 14px
        width 20px
        margin-right 3px
        text-align center
</style>