docs: add WordPress installation (#2443)

This commit is contained in:
matt-sanders 2023-11-01 14:12:24 +13:00 committed by GitHub
parent ffdee35097
commit ed5ff0efc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 0 deletions

View File

@ -166,6 +166,11 @@ export let exampleRepos = [
href: "https://stackblitz.com/edit/daisyui-tachyons/",
logos: ["/logos/jsdelivr.svg"],
},
{
name: "WordPress (Gust)",
href: "https://wordpress.org/plugins/gust-daisy-ui",
logos: ["/logos/wordpress.svg", "/logos/gust.svg"],
},
]
export let pages = [

11
src/docs/static/logos/gust.svg vendored Normal file
View File

@ -0,0 +1,11 @@
<svg width="274" height="273" viewBox="0 0 274 273" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="136.924" cy="136.5" r="136.5" fill="url(#paint0_linear_14_230)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M51.1238 145.325C51.1238 129.503 58.0223 107.197 72.2181 92.9052C86.4138 78.6137 123.464 70.7893 154.807 87.1906C186.151 103.592 207.105 87.1906 218.381 83.4667C225.103 105.288 223.561 121.673 214.056 135.179C204.551 148.685 169.294 161.893 130.157 140.706C106.568 127.936 80.9019 114.854 51.1238 145.325Z" fill="#F0F8FF"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M52.7942 188.529C50.2699 177.597 49.6994 166.021 57.6834 155.802C68.8723 141.894 96.8306 137.218 113.72 148.375C130.608 159.531 147.569 166.093 152.83 166.093C154.159 177.26 141.448 192.181 131.61 194.165C121.772 196.148 111.505 195.051 99.6354 190.294C87.7662 185.537 78.746 170.304 52.7942 188.529Z" fill="#F0F8FF"/>
<defs>
<linearGradient id="paint0_linear_14_230" x1="73.5082" y1="-47.4853" x2="122.824" y2="233.933" gradientUnits="userSpaceOnUse">
<stop stop-color="#63B4FD"/>
<stop offset="0.744792" stop-color="#1778D0"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

7
src/docs/static/logos/wordpress.svg vendored Normal file
View File

@ -0,0 +1,7 @@
<svg width="273" height="273" viewBox="0 0 273 273" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.4033 136.5C19.4033 182.851 46.3401 222.908 85.4006 241.89L29.5417 88.8431C23.0442 103.407 19.4033 119.523 19.4033 136.5Z" fill="#464342"/>
<path d="M215.557 130.591C215.557 116.119 210.358 106.096 205.9 98.2951C199.964 88.6492 194.4 80.4806 194.4 70.8347C194.4 60.0702 202.564 50.05 214.064 50.05C214.583 50.05 215.075 50.1146 215.581 50.1436C194.748 31.0568 166.991 19.4032 136.504 19.4032C95.5945 19.4032 59.6023 40.3929 38.6638 72.185C41.4112 72.2675 44.0004 72.3254 46.1996 72.3254C58.4481 72.3254 77.4079 70.8392 77.4079 70.8392C83.7204 70.4671 84.4646 79.7386 78.1588 80.4851C78.1588 80.4851 71.8151 81.2315 64.7561 81.6014L107.4 208.442L133.026 131.585L114.782 81.597C108.476 81.2271 102.502 80.4806 102.502 80.4806C96.1917 80.1107 96.9314 70.4626 103.242 70.8347C103.242 70.8347 122.58 72.3209 134.087 72.3209C146.333 72.3209 165.295 70.8347 165.295 70.8347C171.612 70.4626 172.354 79.7342 166.046 80.4806C166.046 80.4806 159.689 81.2271 152.643 81.597L194.961 207.477L206.642 168.446C211.704 152.249 215.557 140.615 215.557 130.591Z" fill="#464342"/>
<path d="M138.559 146.743L103.425 248.837C113.915 251.921 125.009 253.608 136.505 253.608C150.141 253.608 163.219 251.25 175.391 246.97C175.077 246.469 174.792 245.936 174.558 245.357L138.559 146.743Z" fill="#464342"/>
<path d="M239.256 80.318C239.76 84.048 240.045 88.0521 240.045 92.3592C240.045 104.242 237.826 117.6 231.141 134.303L195.372 237.721C230.185 217.42 253.601 179.703 253.601 136.502C253.604 116.143 248.403 96.9983 239.256 80.318Z" fill="#464342"/>
<path d="M136.504 0C61.2378 0 0 61.2334 0 136.5C0 211.776 61.2378 273.007 136.504 273.007C211.769 273.007 273.016 211.776 273.016 136.5C273.013 61.2334 211.769 0 136.504 0ZM136.504 266.75C64.6893 266.75 6.25904 208.32 6.25904 136.5C6.25904 64.6849 64.6871 6.25904 136.504 6.25904C208.317 6.25904 266.743 64.6849 266.743 136.5C266.743 208.32 208.317 266.75 136.504 266.75Z" fill="#464342"/>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB