Files
ghost-theme/page-download.hbs
2022-10-03 16:46:18 +01:00

85 lines
4.1 KiB
Handlebars

{{!< default}} {{#post}} {{> extras/patterns}}
<article class="relative">
<main class="mx-auto max-w-prose dark:prose-dark object-center justify-center my-10">
<div class="w-3/3 text-center">
<h1 class="text-4xl tracking-tight font-extrabold text-gray-900 dark:text-gray-100 sm:text-5xl md:text-6xl">
<span class="inline-block xl:inline text-gradient text-gradient bg-gradient-to-r from-blue-500 to-blue-700">
{{title}}
</span>
</h1>
<div
class="post-body text-gray-500 dark:text-gray-100 text-base text-justify sm:text-lg md:text-xl md:max-w-6xl mt-10">
Manage your Connectors and Accounts with ease! Manager for Speckle is the only tool you'll need to install and update Connectors and link your Accounts.
</div>
</div>
</main>
<div class="relative w-default mb-10 gap-4 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4">
<div class="self-end mt-5 hover:scale-105 col-span-1 lg:col-start-2 transition transform scale-95">
<button onclick="downloadManager('manager.exe')"
class="w-full bg-blue-500 hover:bg-blue-600 inline-flex items-center justify-center font-medium text-base text-white px-4 py-4 shadow-sm border-transparent rounded-md border hover:ring-4 hover:shadow-xl transition">
<svg aria-hidden="true" class="mr-4 -ml-1 w-5 h-5" fill="currentColor" viewBox="0 0 87 87"
xmlns="http://www.w3.org/2000/svg">
<path
d="M0 12.402l35.687-4.86.016 34.423-35.67.203zm35.67 33.529l.028 34.453L.028 75.48.026 45.7zm4.326-39.025L87.314 0v41.527l-47.318.376zm47.329 39.349l-.011 41.34-47.318-6.678-.066-34.739z">
</path>
</svg>
Download for Windows
</button>
</div>
<div class="self-end mt-5 hover:scale-105 col-span-1 transition transform scale-95">
<button onclick="downloadManager('manager.dmg')"
class="w-full bg-blue-500 hover:bg-blue-600 inline-flex items-center justify-center font-medium text-base text-white px-4 py-4 shadow-sm border-transparent rounded-md border hover:ring-4 hover:shadow-xl transition">
<svg aria-hidden="true" class="mr-4 -ml-1 w-5 h-5" fill="currentColor" viewBox="0 0 814 1000"
xmlns="http://www.w3.org/2000/svg">
<path
d="M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-164-39.5c-76.5 0-103.7 40.8-165.9 40.8s-105.6-57-155.5-127C46.7 790.7 0 663 0 541.8c0-194.4 126.4-297.5 250.8-297.5 66.1 0 121.2 43.4 162.7 43.4 39.5 0 101.1-46 176.3-46 28.5 0 130.9 2.6 198.3 99.2zm-234-181.5c31.1-36.9 53.1-88.1 53.1-139.3 0-7.1-.6-14.3-1.9-20.1-50.6 1.9-110.8 33.7-147.1 75.8-28.5 32.4-55.1 83.6-55.1 135.5 0 7.8 1.3 15.6 1.9 18.1 3.2.6 8.4 1.3 13.6 1.3 45.4 0 102.5-30.4 135.5-71.3z">
</path>
</svg>
Download for Mac
</button>
</div>
</div>
<div class="relative max-w-prose p-5 mx-auto mb-10 pb-5 grid grid-cols-1 gap-4 ">
<img class="w-full object-cover" src="{{asset 'images/manager.png'}}" alt="manager"/>
</div>
<div
class="relative max-w-prose p-5 mx-auto mb-20 pb-5 grid grid-cols-1 gap-4 bg-white dark:bg-gray-900 rounded-xl transition hover:shadow-xl">
<p class="dark:text-gray-300">Want to see all our releases and set up Conectors and Accounts manually? Visit our
<a class="font-semibold text-blue-600" href="https://releases.speckle.systems/" target="_blank">
releases page</a> instead.
</p>
</div>
<script>
async function downloadManager(filename) {
let url = `https://releases.speckle.dev/manager2/installer/${filename}`
let a = document.createElement('a')
document.body.appendChild(a)
a.style = 'display: none'
a.href = url
a.download = filename
a.click()
document.body.removeChild(a)
mixpanel.track('Manager Download', {
os: filename.includes('exe') ? 'win' : 'mac'
})
}
</script>
</article>
{{/post}}