Skip to content

Commit

Permalink
docs: update logo & social preview (nuxt-modules#492)
Browse files Browse the repository at this point in the history
smarroufin authored Jun 17, 2022
1 parent 81377a1 commit 6e110c1
Showing 6 changed files with 15 additions and 26 deletions.
25 changes: 6 additions & 19 deletions docs/components/content/Logo.vue
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
<template>
<svg
class="w-auto h-8 text-light-50 dark:text-dark-900"
width="288"
class="w-auto h-8 text-[#18181B] dark:text-white"
width="224"
height="40"
viewBox="0 0 288 40"
viewBox="0 0 224 40"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M61.82 30V16.112H64.984L65.264 18.464C65.6933 17.6427 66.3093 16.9893 67.112 16.504C67.9333 16.0187 68.8947 15.776 69.996 15.776C71.7133 15.776 73.048 16.3173 74 17.4C74.952 18.4827 75.428 20.0693 75.428 22.16V30H71.844V22.496C71.844 21.3013 71.6013 20.3867 71.116 19.752C70.6307 19.1173 69.8747 18.8 68.848 18.8C67.84 18.8 67.0093 19.1547 66.356 19.864C65.7213 20.5733 65.404 21.5627 65.404 22.832V30H61.82ZM92.2392 16.112V30H89.0752L88.7952 27.648C88.3658 28.4693 87.7405 29.1227 86.9192 29.608C86.1165 30.0933 85.1645 30.336 84.0632 30.336C82.3458 30.336 81.0112 29.7947 80.0592 28.712C79.1072 27.6293 78.6312 26.0427 78.6312 23.952V16.112H82.2152V23.616C82.2152 24.8107 82.4578 25.7253 82.9432 26.36C83.4285 26.9947 84.1845 27.312 85.2112 27.312C86.2192 27.312 87.0405 26.9573 87.6752 26.248C88.3285 25.5387 88.6552 24.5493 88.6552 23.28V16.112H92.2392ZM94.5743 30L99.6143 23.056L94.5743 16.112H98.4103L101.938 21.04L105.438 16.112H109.302L104.234 23.056L109.302 30H105.438L101.938 25.072L98.4103 30H94.5743ZM117.774 30C116.318 30 115.151 29.6453 114.274 28.936C113.396 28.2267 112.958 26.9667 112.958 25.156V19.108H110.578V16.112H112.958L113.378 12.388H116.542V16.112H120.294V19.108H116.542V25.184C116.542 25.856 116.682 26.3227 116.962 26.584C117.26 26.8267 117.764 26.948 118.474 26.948H120.21V30H117.774ZM122.195 33.108L129.195 8.244H132.695L125.667 33.108H122.195Z" fill="currentColor" />
<path d="M141.344 30C139.888 30 138.721 29.6453 137.844 28.936C136.967 28.2267 136.528 26.9667 136.528 25.156V19.108H134.148V16.112H136.528L136.948 12.388H140.112V16.112H143.864V19.108H140.112V25.184C140.112 25.856 140.252 26.3227 140.532 26.584C140.831 26.8267 141.335 26.948 142.044 26.948H143.78V30H141.344ZM151.729 30.336C150.534 30.336 149.554 30.1493 148.789 29.776C148.024 29.384 147.454 28.8707 147.081 28.236C146.708 27.6013 146.521 26.9013 146.521 26.136C146.521 24.848 147.025 23.8027 148.033 23C149.041 22.1973 150.553 21.796 152.569 21.796H156.097V21.46C156.097 20.508 155.826 19.808 155.285 19.36C154.744 18.912 154.072 18.688 153.269 18.688C152.541 18.688 151.906 18.8653 151.365 19.22C150.824 19.556 150.488 20.06 150.357 20.732H146.857C146.95 19.724 147.286 18.8467 147.865 18.1C148.462 17.3533 149.228 16.784 150.161 16.392C151.094 15.9813 152.14 15.776 153.297 15.776C155.276 15.776 156.834 16.2707 157.973 17.26C159.112 18.2493 159.681 19.6493 159.681 21.46V30H156.629L156.293 27.76C155.882 28.5067 155.304 29.1227 154.557 29.608C153.829 30.0933 152.886 30.336 151.729 30.336ZM152.541 27.536C153.568 27.536 154.361 27.2 154.921 26.528C155.5 25.856 155.864 25.0253 156.013 24.036H152.961C152.009 24.036 151.328 24.2133 150.917 24.568C150.506 24.904 150.301 25.324 150.301 25.828C150.301 26.3693 150.506 26.7893 150.917 27.088C151.328 27.3867 151.869 27.536 152.541 27.536ZM165.033 13.956C164.38 13.956 163.839 13.76 163.409 13.368C162.999 12.976 162.793 12.4813 162.793 11.884C162.793 11.2867 162.999 10.8013 163.409 10.428C163.839 10.036 164.38 9.84 165.033 9.84C165.687 9.84 166.219 10.036 166.629 10.428C167.059 10.8013 167.273 11.2867 167.273 11.884C167.273 12.4813 167.059 12.976 166.629 13.368C166.219 13.76 165.687 13.956 165.033 13.956ZM163.241 30V16.112H166.825V30H163.241ZM170.566 30V9.84H174.15V30H170.566ZM180.528 30L176.468 16.112H180.024L182.432 26.108L185.232 16.112H189.208L192.008 26.108L194.444 16.112H198L193.912 30H190.188L187.22 19.612L184.252 30H180.528ZM202.193 13.956C201.54 13.956 200.999 13.76 200.569 13.368C200.159 12.976 199.953 12.4813 199.953 11.884C199.953 11.2867 200.159 10.8013 200.569 10.428C200.999 10.036 201.54 9.84 202.193 9.84C202.847 9.84 203.379 10.036 203.789 10.428C204.219 10.8013 204.433 11.2867 204.433 11.884C204.433 12.4813 204.219 12.976 203.789 13.368C203.379 13.76 202.847 13.956 202.193 13.956ZM200.401 30V16.112H203.985V30H200.401ZM207.726 30V16.112H210.89L211.17 18.464C211.6 17.6427 212.216 16.9893 213.018 16.504C213.84 16.0187 214.801 15.776 215.902 15.776C217.62 15.776 218.954 16.3173 219.906 17.4C220.858 18.4827 221.334 20.0693 221.334 22.16V30H217.75V22.496C217.75 21.3013 217.508 20.3867 217.022 19.752C216.537 19.1173 215.781 18.8 214.754 18.8C213.746 18.8 212.916 19.1547 212.262 19.864C211.628 20.5733 211.31 21.5627 211.31 22.832V30H207.726ZM231.145 30.336C229.839 30.336 228.672 30.0187 227.645 29.384C226.619 28.7493 225.807 27.8813 225.209 26.78C224.612 25.6787 224.313 24.428 224.313 23.028C224.313 21.628 224.612 20.3867 225.209 19.304C225.807 18.2027 226.619 17.344 227.645 16.728C228.672 16.0933 229.839 15.776 231.145 15.776C232.191 15.776 233.105 15.972 233.889 16.364C234.673 16.756 235.308 17.3067 235.793 18.016V9.84H239.377V30H236.185L235.793 28.012C235.345 28.628 234.748 29.1693 234.001 29.636C233.273 30.1027 232.321 30.336 231.145 30.336ZM231.901 27.2C233.059 27.2 234.001 26.8173 234.729 26.052C235.476 25.268 235.849 24.2693 235.849 23.056C235.849 21.8427 235.476 20.8533 234.729 20.088C234.001 19.304 233.059 18.912 231.901 18.912C230.763 18.912 229.82 19.2947 229.073 20.06C228.327 20.8253 227.953 21.8147 227.953 23.028C227.953 24.2413 228.327 25.24 229.073 26.024C229.82 26.808 230.763 27.2 231.901 27.2Z" fill="#38BDF8" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.5 15C14.1667 8.33333 18.3333 5 25 5C35 5 36.25 12.5 41.25 13.75C44.5833 14.5833 47.5 13.3333 50 10C48.3333 16.6667 44.1667 20 37.5 20C27.5 20 26.25 12.5 21.25 11.25C17.9167 10.4167 15 11.6667 12.5 15ZM0 30C1.66667 23.3333 5.83333 20 12.5 20C22.5 20 23.75 27.5 28.75 28.75C32.0833 29.5833 35 28.3333 37.5 25C35.8333 31.6667 31.6667 35 25 35C15 35 13.75 27.5 8.75 26.25C5.41667 25.4167 2.5 26.6667 0 30Z" fill="url(#paint0_linear)" />
<defs>
<linearGradient
id="paint0_linear"
x1="0"
y1="5"
x2="26.4706"
y2="49.1176"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#38BDF8" />
<stop offset="1" stop-color="#38BDF8" />
</linearGradient>
</defs>
<path d="M43.904 29V9.4H47.488L56.7 23.204V9.4H60.284V29H56.7L47.488 15.224V29H43.904ZM69.2077 29.336C67.4717 29.336 66.1277 28.7947 65.1757 27.712C64.2424 26.6293 63.7757 25.0427 63.7757 22.952V15.112H67.3317V22.616C67.3317 23.8107 67.5744 24.7253 68.0597 25.36C68.545 25.9947 69.3104 26.312 70.3557 26.312C71.345 26.312 72.157 25.9573 72.7917 25.248C73.445 24.5387 73.7717 23.5493 73.7717 22.28V15.112H77.3557V29H74.1917L73.9117 26.648C73.4824 27.4693 72.857 28.1227 72.0357 28.608C71.233 29.0933 70.2904 29.336 69.2077 29.336ZM79.7188 29L84.7588 22.056L79.7188 15.112H83.5548L87.0828 20.04L90.5828 15.112H94.4468L89.3788 22.056L94.4468 29H90.5828L87.0828 24.072L83.5548 29H79.7188ZM102.918 29C101.462 29 100.295 28.6453 99.4182 27.936C98.5408 27.2267 98.1022 25.9667 98.1022 24.156V18.108H95.7222V15.112H98.1022L98.5222 11.388H101.686V15.112H105.438V18.108H101.686V24.184C101.686 24.856 101.826 25.3227 102.106 25.584C102.405 25.8267 102.909 25.948 103.618 25.948H105.354V29H102.918Z" fill="currentColor" />
<path d="M113.163 29V12.284H107.451V9.4H122.487V12.284H116.747V29H113.163ZM127.467 29.336C126.273 29.336 125.293 29.1493 124.527 28.776C123.762 28.384 123.193 27.8707 122.819 27.236C122.446 26.6013 122.259 25.9013 122.259 25.136C122.259 23.848 122.763 22.8027 123.771 22C124.779 21.1973 126.291 20.796 128.307 20.796H131.835V20.46C131.835 19.508 131.565 18.808 131.023 18.36C130.482 17.912 129.81 17.688 129.007 17.688C128.279 17.688 127.645 17.8653 127.103 18.22C126.562 18.556 126.226 19.06 126.095 19.732H122.595C122.689 18.724 123.025 17.8467 123.603 17.1C124.201 16.3533 124.966 15.784 125.899 15.392C126.833 14.9813 127.878 14.776 129.035 14.776C131.014 14.776 132.573 15.2707 133.711 16.26C134.85 17.2493 135.419 18.6493 135.419 20.46V29H132.367L132.031 26.76C131.621 27.5067 131.042 28.1227 130.295 28.608C129.567 29.0933 128.625 29.336 127.467 29.336ZM128.279 26.536C129.306 26.536 130.099 26.2 130.659 25.528C131.238 24.856 131.602 24.0253 131.751 23.036H128.699C127.747 23.036 127.066 23.2133 126.655 23.568C126.245 23.904 126.039 24.324 126.039 24.828C126.039 25.3693 126.245 25.7893 126.655 26.088C127.066 26.3867 127.607 26.536 128.279 26.536ZM140.772 12.956C140.118 12.956 139.577 12.76 139.148 12.368C138.737 11.976 138.532 11.4813 138.532 10.884C138.532 10.2867 138.737 9.80133 139.148 9.428C139.577 9.036 140.118 8.84 140.772 8.84C141.425 8.84 141.957 9.036 142.368 9.428C142.797 9.80133 143.012 10.2867 143.012 10.884C143.012 11.4813 142.797 11.976 142.368 12.368C141.957 12.76 141.425 12.956 140.772 12.956ZM138.98 29V15.112H142.564V29H138.98ZM146.304 29V8.84H149.888V29H146.304ZM156.266 29L152.206 15.112H155.762L158.17 25.108L160.97 15.112H164.946L167.746 25.108L170.182 15.112H173.738L169.65 29H165.926L162.958 18.612L159.99 29H156.266ZM177.932 12.956C177.278 12.956 176.737 12.76 176.308 12.368C175.897 11.976 175.692 11.4813 175.692 10.884C175.692 10.2867 175.897 9.80133 176.308 9.428C176.737 9.036 177.278 8.84 177.932 8.84C178.585 8.84 179.117 9.036 179.528 9.428C179.957 9.80133 180.172 10.2867 180.172 10.884C180.172 11.4813 179.957 11.976 179.528 12.368C179.117 12.76 178.585 12.956 177.932 12.956ZM176.14 29V15.112H179.724V29H176.14ZM183.465 29V15.112H186.629L186.909 17.464C187.338 16.6427 187.954 15.9893 188.757 15.504C189.578 15.0187 190.539 14.776 191.641 14.776C193.358 14.776 194.693 15.3173 195.645 16.4C196.597 17.4827 197.073 19.0693 197.073 21.16V29H193.489V21.496C193.489 20.3013 193.246 19.3867 192.761 18.752C192.275 18.1173 191.519 17.8 190.493 17.8C189.485 17.8 188.654 18.1547 188.001 18.864C187.366 19.5733 187.049 20.5627 187.049 21.832V29H183.465ZM206.884 29.336C205.577 29.336 204.41 29.0187 203.384 28.384C202.357 27.7493 201.545 26.8813 200.948 25.78C200.35 24.6787 200.052 23.428 200.052 22.028C200.052 20.628 200.35 19.3867 200.948 18.304C201.545 17.2027 202.357 16.344 203.384 15.728C204.41 15.0933 205.577 14.776 206.884 14.776C207.929 14.776 208.844 14.972 209.628 15.364C210.412 15.756 211.046 16.3067 211.532 17.016V8.84H215.116V29H211.924L211.532 27.012C211.084 27.628 210.486 28.1693 209.74 28.636C209.012 29.1027 208.06 29.336 206.884 29.336ZM207.64 26.2C208.797 26.2 209.74 25.8173 210.468 25.052C211.214 24.268 211.588 23.2693 211.588 22.056C211.588 20.8427 211.214 19.8533 210.468 19.088C209.74 18.304 208.797 17.912 207.64 17.912C206.501 17.912 205.558 18.2947 204.812 19.06C204.065 19.8253 203.692 20.8147 203.692 22.028C203.692 23.2413 204.065 24.24 204.812 25.024C205.558 25.808 206.501 26.2 207.64 26.2Z" fill="#38BDF8" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 17.088C9.06667 12.8213 11.7333 10.688 16 10.688C22.4 10.688 23.2 15.488 26.4 16.288C28.5333 16.8213 30.4 16.0213 32 13.888C30.9333 18.1547 28.2667 20.288 24 20.288C17.6 20.288 16.8 15.488 13.6 14.688C11.4667 14.1547 9.6 14.9547 8 17.088ZM0 26.688C1.06667 22.4213 3.73333 20.288 8 20.288C14.4 20.288 15.2 25.088 18.4 25.888C20.5333 26.4213 22.4 25.6213 24 23.488C22.9333 27.7547 20.2667 29.888 16 29.888C9.6 29.888 8.8 25.088 5.6 24.288C3.46667 23.7547 1.6 24.5547 0 26.688Z" fill="#38BDF8" />
</svg>
</template>
12 changes: 6 additions & 6 deletions docs/content/0.index.md
Original file line number Diff line number Diff line change
@@ -17,18 +17,18 @@ snippet: yarn add -D @nuxtjs/tailwindcss
---

#title
Nuxt Tailwind
Nuxt [Tailwind]{.text-primary-400}

#description
This module helps you set up [Tailwind CSS](https://tailwindcss.com) (version 3) in your [Nuxt 3](https://v3.nuxtjs.org/) application in seconds.

#extra
::list
- 👌&nbsp; Zero configuration to start *([see video](#quick-start))*
- 🪄&nbsp; Includes [CSS Nesting](https://drafts.csswg.org/css-nesting-1/) with [postcss-nesting](https://github.com/csstools/postcss-nesting)
- 🎨&nbsp; Discover your Tailwind colors *([see video](#tailwind-viewer))*
- ⚙️&nbsp; Reference your Tailwind config in your app
- 📦&nbsp; Extendable by [Nuxt modules](https://modules.nuxtjs.org/)
- Zero configuration to start *([see video](#quick-start))*
- Includes [CSS Nesting](https://drafts.csswg.org/css-nesting-1/) with [postcss-nesting](https://github.com/csstools/postcss-nesting)
- Discover your Tailwind colors *([see video](#tailwind-viewer))*
- Reference your Tailwind config in your app
- Extendable by [Nuxt modules](https://modules.nuxtjs.org/)
::
::

4 changes: 3 additions & 1 deletion docs/content/_theme.yml
Original file line number Diff line number Diff line change
@@ -17,7 +17,9 @@ github:
edit: true
releases: true

cover: false
cover:
src: /cover.jpg
alt: A screenshot of the Nuxt Tailwind module.

header:
title: false
Binary file added docs/public/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/public/preview-dark.png
Binary file not shown.
Binary file removed docs/public/preview.png
Binary file not shown.

0 comments on commit 6e110c1

Please sign in to comment.