feat: closes #18, closes #19, closes #20

YOLO
This commit is contained in:
Dimitrie Stefanescu
2021-07-22 17:50:01 +01:00
parent 011754179f
commit 1d5a1d9dee
14 changed files with 266372 additions and 43 deletions
+266312 -5
View File
File diff suppressed because it is too large Load Diff
+12
View File
@@ -142,6 +142,14 @@ figcaption {
@apply text-sm text-center;
}
.prose code::after, .prose code::before {
content: "" !important;
}
.prose code {
@apply px-1 rounded-sm text-blue-500 dark:bg-gray-900 bg-white;
}
.prose > h1::before,
.prose > h2::before,
.prose > h3::before,
@@ -171,3 +179,7 @@ figcaption {
.toc-list-item {
@apply my-1;
}
.node-name--H3::before {
content: " " !important;
}
+2 -2
View File
@@ -3,13 +3,13 @@
{{!-- Header --}}
<main class="relative w-default flex flex-wrap mt-24">
<div class="w-3/3">
<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>
<p class="text-base text-justify text-gray-500 dark:text-gray-100 sm:text-lg md:text-xl md:max-w-6xl mt-10">
<p class="max-w-prose mx-auto text-base text-gray-500 dark:text-gray-100 sm:text-lg md:text-xl md:max-w-6xl mt-10">
{{excerpt}}
</p>
</div>
+4 -6
View File
@@ -25,8 +25,7 @@
</div>
<div class="max-w-prose mx-auto my-4">
{{#foreach tags}}
{{!-- <a x-cloak x-show="'{{slug}}'!=='tutorials'" --}} <a
class="rounded-full py-1 px-3 bg-blue-500 text-white mr-2 inline-block transform scale-90 hover:scale-100 transition-transform"
<a class="rounded-full py-1 px-3 bg-blue-500 text-white mr-2 inline-block hover:ring-4 transition"
href="{{url}}">
{{name}}
</a>
@@ -94,8 +93,7 @@
<p class="border-t dark:border-gray-800 mt-2 pt-2"></p>
<div>
{{#foreach tags}}
{{!-- <a x-cloak x-show="'{{slug}}'!=='tutorials'" --}} <a
class="rounded-full py-1 px-3 bg-blue-500 text-white mr-2 inline-block transform scale-90 hover:scale-100 transition-transform"
<a class="rounded-full py-1 px-3 bg-blue-500 text-white mr-2 inline-block hover:ring-4 transition"
href="{{url}}">
{{name}}
</a>
@@ -137,7 +135,7 @@
<aside class="w-default mx-auto mb-10 px-3" x-data="{}">
{{#if primary_tag}}
{{#get "posts" filter="tags:{{primary_tag.slug}}+id:-{{id}}" limit="6" as |related_posts|}}
{{#get "posts" filter="tags:{{primary_tag.slug}}+id:-{{id}}" include="authors" limit="6" as |related_posts|}}
{{#if related_posts}}
<article class="read-next-card">
<header class="read-next-card-header">
@@ -148,7 +146,7 @@
<div class="read-next-card-content grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6">
{{#foreach related_posts}}
<div class="grid-cols-1">
{{> cardSm }}
{{> cardTutorialSm }}
</div>
{{/foreach}}
</div>
+1 -1
View File
@@ -16,7 +16,7 @@
</p>
<div class="rounded-xl shadow-xl mt-5">
<a href="/getstarted"
class="flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white transition-colors bg-blue-600 hover:bg-blue-700 md:py-4 md:text-lg md:px-10">
class="flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white transition bg-blue-500 hover:ring-4 md:py-4 md:text-lg md:px-10">
{{#if buttonText}}
{{buttonText}}
{{else}}
+6 -6
View File
@@ -9,12 +9,12 @@
<div class="h-32 w-full block bg-blue-500">&nbsp;</div>
{{/if}}
{{#if featured}} <span class="absolute bottom-3 left-3 text-white">
<svg xmlns="http://www.w3.org/2000/svg" class="h-7 w-7" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd"
d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z"
clip-rule="evenodd" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" class="h-7 w-7" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd"
d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z"
clip-rule="evenodd" />
</svg>
</span> {{/if}}
</a>
</div>
+2 -2
View File
@@ -6,7 +6,7 @@
<div>
<div class="relative border-l-4 dark:border-gray-700">
<h2 class="text-4xl pl-5 mb-5 font-bold text-blue-600">Blog</h2>
<h2 class="text-4xl pl-5 mb-5 font-bold text-blue-500">Blog</h2>
<p class=" pl-5 text-lg text-gray-800 dark:text-gray-400">
Latest news from Speckle.
</p>
@@ -15,7 +15,7 @@
<div class="relative mt-5 rounded-xl py-5 hover:shadow-2xl transition overflow-hidden flex">
<a href="/blog" class="w-full self-center">
<div class="relative px-5">
<div class="text-lg font-semibold text-blue-600">
<div class="text-lg font-semibold text-blue-500">
Read More →
</div>
</div>
+2 -2
View File
@@ -15,7 +15,7 @@
<div class="relative transform perspective-700 dark:bg-gray-900 bg-gray-200 pt-10 z-0 flex justify-around">
<div id="prev"
class="px-4 flex-shrink transition text-blue-500 flex bg-none dark:hover:bg-gray-800 hover:bg-gray-100 opacity-40 hover:opacity-100 rounded-full -mt-5 cursor-pointer">
class="px-1 lg:px-4 flex-shrink transition text-blue-500 flex bg-none dark:hover:bg-gray-800 hover:bg-gray-100 opacity-40 hover:opacity-100 rounded-full -mt-5 cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 self-center" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" />
@@ -39,7 +39,7 @@
{{!-- <div class="swiper-pagination mt-10"></div> --}}
</div>
<div id="next"
class="px-4 flex-shrink transition text-blue-500 flex bg-none dark:hover:bg-gray-800 hover:bg-gray-100 opacity-40 hover:opacity-100 rounded-full -mt-5 cursor-pointer">
class="px-1 lg:px-4 flex-shrink transition text-blue-500 flex bg-none dark:hover:bg-gray-800 hover:bg-gray-100 opacity-40 hover:opacity-100 rounded-full -mt-5 cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 self-center" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
+2 -2
View File
@@ -5,7 +5,7 @@
<div class="w-default mt-36 my-0 grid grid-cols-1 lg:grid-cols-2 gap-10 mb-10 ">
<div class="relative">
<div class="border-l-4 dark:border-gray-700">
<h2 class="text-4xl pl-5 mb-5 font-bold text-blue-600">Built
<h2 class="text-4xl pl-5 mb-5 font-bold text-blue-500">Built
for developers</h2>
<p class=" pl-5 text-lg text-gray-800 dark:text-gray-400">
We're building the <code>git</code> of AEC -
@@ -44,7 +44,7 @@
<div class="relative rounded-xl py-5 hover:rounded-2xl shadow hover:shadow-2xl dark:hover:bg-gray-800 bg-white dark:bg-gray-900 transition overflow-hidden flex">
<a href="/developers" class="w-full self-center">
<div class="relative px-8">
<div class="text-xl font-semibold text-blue-600">
<div class="text-xl font-semibold text-blue-500">
Start Developing →
</div>
</div>
+1 -1
View File
@@ -13,7 +13,7 @@
</p>
</div>
<div class="mt-5 md:mt-8">
<a href="/getstarted" class="items-center justify-center px-8 py-3 border-4 border-blue-600 transition text-base font-medium rounded-md text-white bg-blue-600 hover:bg-blue-700 hover:shadow-3xl md:py-4 md:text-lg md:px-10
<a href="/getstarted" class="items-center justify-center px-8 py-3 transition text-base font-medium rounded-md text-white bg-blue-500 hover:ring-4 hover:shadow-3xl md:py-4 md:text-lg md:px-10
">
<span class="text-white no-underline">Get Started</span>
</a>
+5 -5
View File
@@ -2,7 +2,7 @@
<div class="w-default grid grid-cols-1 lg:grid-cols-2 gap-10">
<div class="relative">
<div class="border-l-4 dark:border-gray-700">
<h2 class="text-4xl pl-5 mb-5 font-bold text-blue-600 ">Open
<h2 class="text-4xl pl-5 mb-5 font-bold text-blue-500 ">Open
Source</h2>
<p class="pl-5 text-lg text-gray-800 dark:text-gray-400">
Our mission is to transform the AEC industry for
@@ -17,17 +17,17 @@
<ul class="pl-5 pt-5 text-lg text-gray-800 dark:text-gray-400 list-inside list-disc">
<li class="mt-2">
<b class="text-blue-600">Independence:</b>
<b class="text-blue-500">Independence:</b>
no vendor or cloud provider lock-in.
</li>
<li class="mt-2">
<b class="text-blue-600">Data sovereignty:</b>
<b class="text-blue-500">Data sovereignty:</b>
choose how and where your data is stored
</li>
<li class="mt-2">
<b class="text-blue-600">Longevity:</b>
<b class="text-blue-500">Longevity:</b>
open source code keeps thriving when business
plans change.
</li>
@@ -44,7 +44,7 @@
<div class="w-full self-center">
<div class="block h-32 w-32 mx-auto">
<svg xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd"
class="fill-current text-blue-600"
class="fill-current text-blue-500"
stroke-linejoin="round" stroke-miterlimit="2"
clip-rule="evenodd" viewBox="0 0 2483 2404">
<path d="M1391.07 1631.92c215.45-82.75 323.06-324.52 240.35-540.05-82.72-215.53-324.44-323.17-539.9-240.43-215.45 82.74-323.04 324.53-240.34 540.06a418.12 418.12 0 00240.35 240.42l-281.47 733.7c-620.53-238.27-930.49-934.6-692.32-1555.32 238.18-620.73 934.28-930.78 1554.8-692.53 620.53 238.25 930.49 934.57 692.3 1555.3a1204.18 1204.18 0 01-692.3 692.52l-281.47-733.68v.01z" />
+5 -5
View File
@@ -13,7 +13,7 @@
<div @mouseenter="usecasesMenu = false; resourcesMenu = false; developersMenu = false">
<a href="/" class="flex relative" style="margin-top:-4px;">
<img class="h-8 mr-2 " src="{{@site.logo}}" alt="logo">
<div class="text-2xl text-blue-600 dark:text-blue-500 title-font font-bold mr-5">
<div class="text-2xl text-blue-500 title-font font-bold mr-5">
Speckle
</div>
</a>
@@ -248,7 +248,7 @@
<div class="rounded-lg shadow-2xl bg-white dark:bg-gray-900">
<div class="pt-5 pb-6 px-5 sm:pb-8">
<div class="flex items-center justify-between">
<a href="/" class="text-2xl text-blue-600 dark:text-blue-500 title-font font-bold mr-5">
<a href="/" class="text-2xl text-blue-500 dark:text-blue-500 title-font font-bold mr-5">
Speckle
</a>
<div class="-mr-2">
@@ -341,18 +341,18 @@
<div class="text-base">
<a href="https://speckle.community" target="_blank"
class="font-medium text-blue-600 hover:text-blue-500">
class="font-medium text-blue-500 hover:text-blue-500">
Community <span aria-hidden="true">→</span></a>
</div>
<div class="text-base">
<a href="https://speckle.guide" target="_blank" class="font-medium text-blue-600 hover:text-blue-500">
<a href="https://speckle.guide" target="_blank" class="font-medium text-blue-500 hover:text-blue-500">
Docs <span aria-hidden="true">→</span></a>
</div>
<div class="text-base">
<a href="https://github.com/specklesystems/speckle-server" target="_blank"
class="font-medium text-blue-600 hover:text-blue-500">
class="font-medium text-blue-500 hover:text-blue-500">
Github <span aria-hidden="true">→</span></a>
</div>
+2 -1
View File
@@ -1,3 +1,4 @@
<a href="/getstarted" class="inline-flex w-full items-center justify-center px-4 py-2 border border-transparent transition rounded-md shadow-sm text-base font-medium text-white bg-blue-600 hover:bg-blue-700 hover:shadow-xl">
<a href="/getstarted"
class="inline-flex w-full items-center justify-center px-4 py-2 border border-transparent transition rounded-md shadow-sm text-base font-medium text-white bg-blue-500 hover:ring-4 hover:shadow-xl">
Get Started
</a>
+16 -5
View File
@@ -3,8 +3,6 @@
docsLink = window.docsLink; sourceLink = window.sourceLink; videoLink = window.videoLink; showInstallLink = window.showInstallLink; connectorTag = window.connectorTag;
if( videoLink ) document.getElementById('tagvideo').src = videoLink; installLink = window.installLink;">
<main class="w-default lg:my-10 space-x-0 md:space-x-6 space-y-6 flex flex-col md:flex-row items-center">
<div class="w-full md:w-1/2">
<div class="prose lg:prose-xl dark:prose-dark prose-blue max-w-none w-full mb-4">
@@ -79,9 +77,22 @@
{{/get}}
{{!-- {{> cardCTA}} --}}
</div>
<div class="shadow-xl sm:px-2 px-5 pt-8 pb-10 my-10 bg-white dark:bg-gray-900" x-cloak x-show="connectorTag">
<div class="w-default flex content-center space-x-2 flex-wrap justify-around mx-auto ">
<div class="mt-2 text-center sm:text-left dark:text-gray-200">
<h3 class="text-2xl">Have a question you need answered?</h3>
<p>Submit your question on the forum and get help from the community.</p>
</div>
<a href="https://speckle.community/new-topic?title=Question:%20How%20can%20I%20...&category=help&tags=v2"
target="_blank"
class="mt-2 border-2 rounded-lg border-blue-500 bg-blue-500 hover:ring-4 transition p-4 flex text-white text-center justify-center">
<span class="self-center">Ask a question</span>
</a>
</div>
</div>
</div>
{{/tag}}