Skip to content

Commit

Permalink
add DAO twitter to socials
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrieh committed Sep 24, 2024
1 parent fa9bc5f commit bec88d4
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 9,080 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: oven-sh/setup-bun@v2

- name: Setup Node
uses: actions/[email protected]
with:
node-version: '18.x'

- name: Cache dependencies
uses: actions/[email protected]
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: yarn
- run: yarn generate
- run: bun install
- run: bun generate

- name: deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
Binary file added bun.lockb
Binary file not shown.
5 changes: 5 additions & 0 deletions components/Sitemap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
><i class="fab fa-twitter"></i> Twitter</a
>
</li>
<li>
<a href="https://twitter.com/effectDAO" target="_blank"
><i class="fab fa-twitter"></i> DAO Twitter</a
>
</li>
<li>
<a href="https://t.me/effectai" target="_blank"
><i class="fab fa-telegram"></i> Telegram</a
Expand Down
12 changes: 12 additions & 0 deletions constants/socials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ export const twitter = {
activeMembers: 12500,
};

export const twitterDao = {
name: "Twitter DAO",
faClass: "fab fa-twitter",
link: "https://twitter.com/EffectDAO",
};

export const daoWebsite = {
name: "DAO Website",
faClass: "fas fa-globe",
link: "https://dao.effect.network",
};

export const discord = {
name: "Discord",
faClass: "fab fa-discord",
Expand Down
60 changes: 17 additions & 43 deletions pages/ecosystem/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
</template>

<template #footer>
<div
class="is-flex is-size-3 is-align-items-center is-primary has-text-white is-in-front"
data-aos="fade-left"
data-aos-delay="550"
>
<div class="is-flex is-size-3 is-align-items-center is-primary has-text-white is-in-front" data-aos="fade-left"
data-aos-delay="550">
<div class="is-flex is-justify-content-center">
<div class="button is-primary has-text-white mt-5">
<nuxt-link to="/marketplace" class="has-text-white"
>Explore the Marketplace</nuxt-link
>
<nuxt-link to="/marketplace" class="has-text-white">Explore the Marketplace</nuxt-link>
</div>
</div>
</div>
Expand All @@ -47,39 +42,21 @@
<div class="column is-5" data-aos="fade-up" data-aos-delay="350">
<div class="card has-background-smoke dao-card">
<div class="card-content has-text-centered">
<svg
width="150px"
height="75px"
viewBox="0 0 256 106"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<svg width="150px" height="75px" viewBox="0 0 256 106" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Effect DAO-logo</title>
<desc>Created with Sketch.</desc>
<g
id="LOGOS"
stroke="none"
stroke-width="1"
fill="none"
fill-rule="evenodd"
>
<g id="LOGOS" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Effect-DAO-logo-color">
<path
d="M47.6784,0.0219 C48.0994,-0.0521 48.5334,0.0639 48.8604,0.3399 C49.1884,0.6159 49.3774,1.0209 49.3774,1.4499 L49.3774,1.4499 L49.3774,10.0659 C50.4424,10.0539 51.8234,9.9809 52.6464,9.9809 C55.5094,9.9809 58.4314,10.2879 61.3314,10.8919 C61.9994,11.0299 62.4834,11.6299 62.4834,12.3169 L62.4834,12.3169 L62.4834,14.8539 C62.4834,15.2929 62.2874,15.7019 61.9464,15.9769 C61.6004,16.2549 61.1534,16.3599 60.7094,16.2619 C57.0744,15.4569 53.3674,15.1909 49.5214,15.5139 C48.2454,15.6199 46.9634,15.7929 45.7114,16.0289 C45.2714,16.1119 44.8354,15.9979 44.4994,15.7189 C44.1674,15.4439 43.9764,15.0399 43.9764,14.6079 L43.9764,14.6079 L43.9764,6.2169 C24.6854,9.7549 9.4974,25.1159 6.1184,44.3859 C5.6414,47.1049 5.4004,49.8679 5.4004,52.5989 C5.4004,78.6499 26.5944,99.8449 52.6464,99.8449 C55.3484,99.8449 58.0684,99.6119 60.7304,99.1519 C60.9934,99.1059 61.1844,98.8749 61.1844,98.6029 L61.1844,98.6029 L61.1844,89.9539 C61.1844,89.3019 61.6294,88.7279 62.2654,88.5579 C63.7074,88.1739 65.1394,87.6959 66.5244,87.1399 C80.7024,81.4389 89.8634,67.8799 89.8634,52.5989 C89.8634,37.9749 81.2374,24.6469 67.8874,18.6459 C67.3684,18.4109 67.0324,17.8959 67.0324,17.3309 L67.0324,17.3309 L67.0324,14.5989 C67.0324,14.1109 67.2754,13.6579 67.6824,13.3859 C68.0814,13.1199 68.5844,13.0689 69.0254,13.2509 C84.9634,19.8709 95.2634,35.3149 95.2634,52.5989 C95.2634,70.0969 84.7734,85.6209 68.5394,92.1499 C68.0164,92.3599 67.4864,92.5609 66.9534,92.7499 C66.7334,92.8289 66.5854,93.0359 66.5854,93.2659 L66.5854,93.2659 L66.5854,102.3409 C66.5854,103.0359 66.0884,103.6349 65.4064,103.7659 L65.4064,103.7659 L62.5614,104.3079 C59.3044,104.9299 55.9674,105.2449 52.6464,105.2449 C23.6174,105.2449 0.0004,81.6279 0.0004,52.5989 C0.0004,49.5549 0.2684,46.4779 0.7984,43.4519 C4.6174,21.6839 21.8094,4.5159 43.5804,0.7329 L43.5804,0.7329 Z M15.3199,61.8057 C15.9599,61.8057 16.5299,62.2397 16.7069,62.8617 C21.2389,78.8347 36.0089,89.9897 52.6229,89.9897 C53.4499,89.9897 54.3419,89.9527 55.3469,89.8777 C55.6099,89.8607 55.8719,89.9487 56.0649,90.1267 C56.2579,90.3047 56.3679,90.5587 56.3679,90.8207 L56.3679,90.8207 L56.3679,94.4807 C56.3679,94.9787 55.9799,95.3967 55.4829,95.4317 C54.4329,95.5037 53.4979,95.5397 52.6229,95.5397 C32.8579,95.5397 15.7399,82.1537 10.9959,62.9887 C10.9249,62.7027 10.9889,62.4057 11.1719,62.1737 C11.3549,61.9397 11.6289,61.8057 11.9239,61.8057 L11.9239,61.8057 Z M60.9403,28.6072 C61.2143,28.4302 61.5523,28.4052 61.8493,28.5392 L61.8493,28.5392 L62.5943,28.8762 C71.8393,33.0552 77.8733,41.7332 78.3423,51.5212 C78.9763,64.7432 69.6173,76.3172 56.5723,78.4462 C56.5213,78.4542 56.4703,78.4582 56.4213,78.4582 C56.1983,78.4582 55.9803,78.3792 55.8063,78.2312 C55.5923,78.0492 55.4683,77.7832 55.4683,77.5022 L55.4683,77.5022 L55.4683,74.2062 C55.4683,73.5172 55.9463,72.9352 56.6313,72.7892 C66.0123,70.7942 72.8223,62.3842 72.8223,52.7942 C72.8223,45.0342 68.3153,37.8182 61.3413,34.4102 C60.8373,34.1652 60.5233,33.6702 60.5213,33.1192 L60.5213,33.1192 L60.5083,29.4082 C60.5063,29.0842 60.6683,28.7842 60.9403,28.6072 Z M19.2848,40.7898 C20.0848,40.7898 20.7358,41.4408 20.7358,42.2398 L20.7358,42.2398 L20.7358,51.8048 C20.7358,52.6048 20.0848,53.2548 19.2848,53.2548 L19.2848,53.2548 L16.6348,53.2548 C15.8348,53.2548 15.1848,52.6048 15.1848,51.8048 L15.1848,51.8048 L15.1848,42.2398 C15.1848,41.4408 15.8348,40.7898 16.6348,40.7898 L16.6348,40.7898 Z M31.2158,34.0758 C32.0158,34.0758 32.6658,34.7268 32.6658,35.5258 L32.6658,35.5258 L32.6658,51.8048 C32.6658,52.6048 32.0158,53.2548 31.2158,53.2548 L31.2158,53.2548 L28.5658,53.2548 C27.7658,53.2548 27.1148,52.6048 27.1148,51.8048 L27.1148,51.8048 L27.1148,35.5258 C27.1148,34.7268 27.7658,34.0758 28.5658,34.0758 L28.5658,34.0758 Z M43.1445,27.8408 C43.9445,27.8408 44.5945,28.4908 44.5945,29.2908 L44.5945,29.2908 L44.5945,51.8048 C44.5945,52.6048 43.9445,53.2548 43.1445,53.2548 L43.1445,53.2548 L40.4945,53.2548 C39.6945,53.2548 39.0435,52.6048 39.0435,51.8048 L39.0435,51.8048 L39.0435,29.2908 C39.0435,28.4908 39.6945,27.8408 40.4945,27.8408 L40.4945,27.8408 Z M55.0742,20.2168 C55.8742,20.2168 56.5242,20.8668 56.5242,21.6668 L56.5242,21.6668 L56.5242,51.8048 C56.5242,52.6048 55.8742,53.2548 55.0742,53.2548 L55.0742,53.2548 L52.4242,53.2548 C51.6242,53.2548 50.9732,52.6048 50.9732,51.8048 L50.9732,51.8048 L50.9732,21.6668 C50.9732,20.8668 51.6242,20.2168 52.4242,20.2168 L52.4242,20.2168 Z"
id="Combined-Shape"
fill="#101d56"
></path>
id="Combined-Shape" fill="#101d56"></path>
<path
d="M178.8034,57.6815 C186.3824,57.6815 191.9054,63.3255 191.9054,71.2675 C191.9054,79.1685 186.3824,84.8525 178.8034,84.8525 C171.2244,84.8525 165.7024,79.1685 165.7024,71.2675 C165.7024,63.3655 171.2244,57.6815 178.8034,57.6815 Z M121.7503,58.1645 C129.0073,58.1645 134.3283,63.6075 134.3283,71.2675 C134.3283,78.9265 129.0073,84.3695 121.7503,84.3695 L112.0023,84.3695 C111.8633,84.3695 111.7523,84.2575 111.7523,84.1195 L111.7523,58.4145 C111.7523,58.2775 111.8633,58.1645 112.0023,58.1645 L121.7503,58.1645 Z M151.6605,58.1649 C151.7615,58.1649 151.8535,58.2269 151.8915,58.3209 L162.2525,84.0249 C162.3195,84.1899 162.1985,84.3689 162.0205,84.3689 L158.6925,84.3689 C158.5885,84.3689 158.4975,84.3059 158.4595,84.2089 L155.8415,77.4339 C155.8045,77.3369 155.7115,77.2729 155.6085,77.2729 L144.4205,77.2729 C144.3175,77.2729 144.2255,77.3369 144.1875,77.4339 L141.5705,84.2089 C141.5335,84.3059 141.4405,84.3689 141.3365,84.3689 L138.0095,84.3689 C137.8325,84.3689 137.7105,84.1889 137.7785,84.0249 L148.2185,58.3209 C148.2565,58.2269 148.3485,58.1649 148.4505,58.1649 L151.6605,58.1649 Z M178.8034,60.9875 C173.3214,60.9875 169.2494,65.3005 169.2494,71.2675 C169.2494,77.1535 173.3214,81.4665 178.8034,81.4665 C184.2864,81.4665 188.3584,77.1535 188.3584,71.2675 C188.3584,65.3005 184.2864,60.9875 178.8034,60.9875 Z M121.4273,61.3905 L115.3073,61.3905 C115.1693,61.3905 115.0573,61.5025 115.0573,61.6405 L115.0573,80.8135 C115.0573,80.9525 115.1693,81.0635 115.3073,81.0635 L121.4273,81.0635 C126.9103,81.0635 130.7803,76.9115 130.7803,71.2675 C130.7803,65.6225 126.9103,61.3905 121.4273,61.3905 Z M149.7825,62.9599 L145.5905,73.7899 C145.5285,73.9529 145.6485,74.1299 145.8245,74.1299 L154.2055,74.1299 C154.3805,74.1299 154.5015,73.9529 154.4385,73.7899 L150.2485,62.9599 C150.1665,62.7469 149.8645,62.7469 149.7825,62.9599 Z"
id="Combined-Shape"
fill="#101d56"
></path>
id="Combined-Shape" fill="#101d56"></path>
<path
d="M217.5522,17.2055 C222.6082,17.2055 227.0112,20.0555 228.8182,24.2395 C228.8892,24.4045 228.7622,24.5915 228.5832,24.5915 L228.5832,24.5915 L223.2772,24.5915 C222.9842,24.5915 222.7142,24.4545 222.5192,24.2365 C221.2652,22.8285 219.4562,21.9535 217.4712,21.9535 C212.7312,21.9535 209.2922,25.8955 209.2922,31.3275 C209.2922,36.6705 212.8772,40.7015 217.6312,40.7015 C219.7072,40.7015 221.5272,39.8655 222.7812,38.4895 C222.9762,38.2755 223.2422,38.1415 223.5322,38.1415 L223.5322,38.1415 L228.6582,38.1415 C228.8392,38.1415 228.9662,38.3315 228.8912,38.4975 C227.0072,42.6975 222.6652,45.5275 217.6312,45.5275 C209.9102,45.5275 204.3052,39.5885 204.3052,31.4075 C204.3052,23.1775 209.8772,17.2055 217.5522,17.2055 Z M131.1352,17.683 C131.2722,17.683 131.3852,17.795 131.3852,17.933 L131.3852,17.933 L131.3852,22.021 C131.3852,22.159 131.2722,22.271 131.1352,22.271 L131.1352,22.271 L116.7412,22.271 C116.6022,22.271 116.4912,22.383 116.4912,22.521 L116.4912,22.521 L116.4912,27.993 C116.4912,28.546 116.9382,28.993 117.4912,28.993 L117.4912,28.993 L129.0642,28.993 C129.2022,28.993 129.3142,29.105 129.3142,29.243 L129.3142,29.243 L129.3142,33.37 C129.3142,33.509 129.2022,33.62 129.0642,33.62 L129.0642,33.62 L117.4912,33.62 C116.9382,33.62 116.4912,34.068 116.4912,34.62 L116.4912,34.62 L116.4912,40.134 C116.4912,40.271 116.6022,40.384 116.7412,40.384 L116.7412,40.384 L131.2942,40.384 C131.4312,40.384 131.5442,40.495 131.5442,40.634 L131.5442,40.634 L131.5442,44.8 C131.5442,44.938 131.4312,45.05 131.2942,45.05 L131.2942,45.05 L111.9932,45.05 C111.8542,45.05 111.7432,44.938 111.7432,44.8 L111.7432,44.8 L111.7432,17.933 C111.7432,17.795 111.8542,17.683 111.9932,17.683 L111.9932,17.683 Z M154.4757,17.6837 C154.6137,17.6837 154.7257,17.7947 154.7257,17.9337 L154.7257,17.9337 L154.7257,22.0217 C154.7257,22.1587 154.6137,22.2717 154.4757,22.2717 L154.4757,22.2717 L140.7177,22.2717 C140.5787,22.2717 140.4677,22.3827 140.4677,22.5217 L140.4677,22.5217 L140.4677,28.5907 C140.4677,29.1427 140.9147,29.5907 141.4677,29.5907 L141.4677,29.5907 L152.7237,29.5907 C152.8617,29.5907 152.9737,29.7017 152.9737,29.8407 L152.9737,29.8407 L152.9737,34.0077 C152.9737,34.1467 152.8617,34.2577 152.7237,34.2577 L152.7237,34.2577 L141.4677,34.2577 C140.9147,34.2577 140.4677,34.7057 140.4677,35.2577 L140.4677,35.2577 L140.4677,44.7997 C140.4677,44.9387 140.3557,45.0497 140.2177,45.0497 L140.2177,45.0497 L135.9707,45.0497 C135.8317,45.0497 135.7207,44.9387 135.7207,44.7997 L135.7207,44.7997 L135.7207,17.9337 C135.7207,17.7947 135.8317,17.6837 135.9707,17.6837 L135.9707,17.6837 Z M177.1779,17.6837 C177.3159,17.6837 177.4279,17.7947 177.4279,17.9337 L177.4279,17.9337 L177.4279,22.0217 C177.4279,22.1587 177.3159,22.2717 177.1779,22.2717 L177.1779,22.2717 L163.4209,22.2717 C163.2819,22.2717 163.1709,22.3827 163.1709,22.5217 L163.1709,22.5217 L163.1709,28.5907 C163.1709,29.1427 163.6179,29.5907 164.1709,29.5907 L164.1709,29.5907 L175.4259,29.5907 C175.5639,29.5907 175.6759,29.7017 175.6759,29.8407 L175.6759,29.8407 L175.6759,34.0077 C175.6759,34.1467 175.5639,34.2577 175.4259,34.2577 L175.4259,34.2577 L164.1709,34.2577 C163.6179,34.2577 163.1709,34.7057 163.1709,35.2577 L163.1709,35.2577 L163.1709,44.7997 C163.1709,44.9387 163.0589,45.0497 162.9209,45.0497 L162.9209,45.0497 L158.6729,45.0497 C158.5339,45.0497 158.4229,44.9387 158.4229,44.7997 L158.4229,44.7997 L158.4229,17.9337 C158.4229,17.7947 158.5339,17.6837 158.6729,17.6837 L158.6729,17.6837 Z M200.517,17.683 C200.654,17.683 200.767,17.795 200.767,17.933 L200.767,17.933 L200.767,22.021 C200.767,22.159 200.654,22.271 200.517,22.271 L200.517,22.271 L186.123,22.271 C185.984,22.271 185.873,22.383 185.873,22.521 L185.873,22.521 L185.873,27.993 C185.873,28.546 186.32,28.993 186.873,28.993 L186.873,28.993 L198.446,28.993 C198.584,28.993 198.696,29.105 198.696,29.243 L198.696,29.243 L198.696,33.37 C198.696,33.509 198.584,33.62 198.446,33.62 L198.446,33.62 L186.873,33.62 C186.32,33.62 185.873,34.068 185.873,34.62 L185.873,34.62 L185.873,40.134 C185.873,40.271 185.984,40.384 186.123,40.384 L186.123,40.384 L200.676,40.384 C200.813,40.384 200.926,40.495 200.926,40.634 L200.926,40.634 L200.926,44.8 C200.926,44.938 200.813,45.05 200.676,45.05 L200.676,45.05 L181.375,45.05 C181.236,45.05 181.125,44.938 181.125,44.8 L181.125,44.8 L181.125,17.933 C181.125,17.795 181.236,17.683 181.375,17.683 L181.375,17.683 Z M255.083,17.6835 C255.221,17.6835 255.333,17.7945 255.333,17.9335 L255.333,17.9335 L255.333,22.1015 C255.333,22.2395 255.221,22.3515 255.083,22.3515 L255.083,22.3515 L246.935,22.3515 C246.382,22.3515 245.935,22.7985 245.935,23.3515 L245.935,23.3515 L245.935,44.7995 C245.935,44.9385 245.822,45.0495 245.685,45.0495 L245.685,45.0495 L241.437,45.0495 C241.298,45.0495 241.187,44.9385 241.187,44.7995 L241.187,44.7995 L241.187,23.3515 C241.187,22.7985 240.738,22.3515 240.187,22.3515 L240.187,22.3515 L231.959,22.3515 C231.82,22.3515 231.709,22.2395 231.709,22.1015 L231.709,22.1015 L231.709,17.9335 C231.709,17.7945 231.82,17.6835 231.959,17.6835 L231.959,17.6835 Z"
id="Combined-Shape"
fill="#101d56"
></path>
id="Combined-Shape" fill="#101d56"></path>
</g>
</g>
</svg>
Expand All @@ -95,17 +72,16 @@
{{ stat.value }}
<span v-if="stat.suffix" class="is-capitalized">{{
stat.suffix
}}</span>
}}</span>
</p>
</div>
</div>

<a
href="https://dao.effect.network"
target="_blank"
class="button is-primary mt-5"
>Become a member</a
>
<div class="is-flex-center has-gap-1">
<a href="https://dao.effect.network" target="_blank" class="button is-primary">Become a member</a>
<SocialBar class="is-size-3 has-text-primary self-center"
:socials="[twitterDao, daoWebsite]" />
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -157,9 +133,7 @@

<div class="is-flex is-justify-content-center mt-5">
<div class="button is-primary mx-auto has-text-centered">
<nuxt-link to="/marketplace" class="has-text-white"
>View all</nuxt-link
>
<nuxt-link to="/marketplace" class="has-text-white">View all</nuxt-link>
</div>
</div>
</SimpleSection>
Expand All @@ -169,7 +143,7 @@

<script setup lang="ts">
import { dapps } from "@/constants/dapps";
import { discord, reddit, telegram } from "@/constants/socials";
import { discord, reddit, telegram, twitterDao, daoWebsite } from "@/constants/socials";
const featuredDapps = dapps.filter((dapp) => dapp.featured);
Expand Down
Loading

0 comments on commit bec88d4

Please sign in to comment.