Skip to content

Latest commit

 

History

History
448 lines (409 loc) · 10.7 KB

index.md

File metadata and controls

448 lines (409 loc) · 10.7 KB
title description layout sidebar pageClass hero features footer
Documentation
Documentation for Lando; a free, open source development tool for all your projects that is fast, easy, powerful and liberating.
page
false
VPHome is-home
name text tagline image
Lando
Documentation
Everything you need to know to dance the Lando.
src alt
/images/icon.png
Lando logo
icon title details
😃
Easy
One liner install, cross-platform, simple config file, sane defaults and reduced complexity for power features
icon title details
🔥
Powerful
A single dev tool for all your projects. Lock down services, tools, dependencies and automation on a per-repo basis
icon title details
🧩
Extensible
A DevOps framework written in Javascript that you can extend with our or your own plugins.
icon title details
🕊️
Liberating
Free yourself from the mind-forged manacles of lesser dev tools. Save time, headaches, frustration and do more real work
Copyright ©2024 Kalabox Inc.
<script setup> import yaml from 'js-yaml'; import {computed, onMounted, ref} from 'vue'; import {VPButton} from 'vitepress/theme'; import {VPHomeHero} from 'vitepress/theme'; import {VPHomeFeatures} from 'vitepress/theme'; import {VPSponsors} from 'vitepress/theme'; import {useData} from 'vitepress'; const getSponsorTier = (sponsors, tier = 'patriot') => { if (!Array.isArray(sponsors)) return []; return sponsors .filter(sponsor => sponsor.tier === tier) .map(({name, logo, url}) => ({name, url, img: logo})); }; const start = 1707233398000; const sponsors = ref(undefined); const allies = computed(() => getSponsorTier(sponsors.value, 'ally')); const patriots = computed(() => getSponsorTier(sponsors.value, 'patriot')); const heralds = computed(() => getSponsorTier(sponsors.value, 'herald')); const all = computed(() => patriots.value.concat(allies.value)); const heraldcompute = computed(() => parseInt(heralds.value.length + (Date.now() - start) / 604800000)); // if data is a string/needs to be fetched then do that here onMounted(async () => { // if data is already an array then we good if (Array.isArray(sponsors.value)) return; try { const response = await fetch('https://raw.githubusercontent.com/lando/lando/main/sponsors.yaml'); sponsors.value = yaml.load(await response.text()); } catch (error) { console.error(`could not fetch and parse data from ${data.value}`); console.error(error); } }); </script> <style lang="scss"> :root { --vp-home-hero-name-background: -webkit-linear-gradient(120deg, var(--vp-c-brand-1) 30%, #543d87) !important; } .action { padding: 6px; } .actions { display: flex; flex-wrap: wrap; padding-top: 24px; justify-content: center; } .clip { color: transparent; background-clip: text; background: var(--vp-home-hero-name-background); font-size: 64px; } .dark { .VPHome { .VPHero { .image-bg { opacity: .5; background-image: linear-gradient(-45deg, var(--vp-c-indigo-1) 50%, var(--vp-c-indigo-1) 50%) !important; } } } } .et-tu { text-align: center; a { font-weight: 500; color: var(--vp-c-brand-1); text-decoration: underline; text-underline-offset: 2px; transition: color 0.25s, opacity 0.25s; font-size: 14px; } } #footer { background-color: var(--vp-c-bg); padding-top: 12px; } .footer-container { padding: 48px 0 0; display: flex; max-width: 100%; margin: auto; border-top: 1px solid var(--vp-c-gutter); background-color: var(--vp-c-bg); justify-content: space-between; .footer-copyright { width: 20%; text-align: left; color: var(--vp-c-text-1); font-size: 14px; align-self: end; margin-top: 25px; .copyright { color: var(--vp-c-brand-1); font-weight: 900; } } .footer-links { width: 0%; text-align: right; width: 75%; a { text-decoration: none; } .menu-primary { a { color: var(--vp-c-text-1); font-size: 14px; font-weight: 500; color: var(--vp-c-text-1); &:hover { color: var(--vp-c-brand-1); } } ul { display: flex; justify-content: flex-end; margin-left: -20px; li { margin-left: 30px; margin-left: 20px; margin-left: 15px; } } } .menu-secondary { margin-top: 12px; margin-right: -12px; a { text-transform: uppercase; color: var(--vp-c-text-2); font-size: 12px; &:after { content: '\00a0\00a0'; } &:before { content: '\00a0\00a0'; } &:hover { color: var(--vp-c-brand-1); &:after { content: " ]"; } &:before { content: "[ "; } } } } } } .footer-container .footer-copyright, .footer-container .footer-links { padding: 0; margin: 0; } .footer-container .footer-links .menu-primary ol, .footer-container .footer-links .menu-primary ul { list-style: none; margin: 0; padding: 0; } .home-other-stuff { padding: 64px 0px; text-align: center; .newsletter__wrap { background-color: var(--vp-c-indigo-soft) !important; } .VPSponsors.vp-sponsor.normal { h3.vp-sponsor-tier { background-color: transparent; } .VPSponsorsGrid.vp-sponsor-grid.medium { .vp-sponsor-grid-item { background-color: transparent; img { max-height: 75px; } } } } } .VPButton { display: inline-block; border: 1px solid transparent; text-align: center; font-weight: 600; white-space: nowrap; transition: color 0.25s, border-color 0.25s, background-color 0.25s; } .VPButton.alt { border-color: var(--vp-button-alt-border); color: var(--vp-button-alt-text); background-color: var(--vp-button-alt-bg); } .VPButton.medium { border-radius: 20px; padding: 0 20px; line-height: 38px; font-size: 14px; } .VPButton.sponsor { margin-left: 12px; display: flex; justify-content: space-between; flex-direction: row; align-content: flex-start; align-items: center; gap: 6px; &:hover { svg.vibe { path { fill: red; } animation-play-state: running; } } svg.vibe { width: 18px; animation-name: vibe; animation-duration: 1s; animation-iteration-count: infinite; animation-timing-function: linear; animation-play-state: paused; path { fill: var(--vp-c-brand-1); } } } .VPHome { .VPHero { .image-bg { background-image: linear-gradient(-45deg, var(--vp-c-purple-1) 50%, var(--vp-c-purple-1) 50%) !important; opacity: .66; } } .divider { .divider-line { background-color: var(--vp-c-gutter); height: 1px; transition: background-color 0.5s; margin: 25px 0; } } } @keyframes vibe { 0% { transform: translate(0, 0) rotate(0deg); } 25% { transform: translate(1px, 1px) rotate(5deg); } 50% { transform: translate(0, 0) rotate(0deg); } 75% { transform: translate(-1px, 1px) rotate(-5deg); } } @media (min-width: 1290px) { .home-other-stuff { text-align: left; margin: 0 auto; max-width: 1152px; .VPSponsorsGrid.vp-sponsor-grid.medium { justify-content: space-between; .vp-sponsor-grid-item { width: 140px; } } } } @media (max-width: 959px) { .footer-container { flex-direction: column-reverse; margin: auto 0.5em; justify-content: center; text-align: center; .footer-copyright, footer-container, .footer-links { flex: 1 1; text-align: center; margin: auto; padding: 0 0.5em; } .footer-copyright { width: 100%; margin-bottom: 12px; } .footer-links .menu-primary ul { justify-content: center; } } } @media (min-width: 960px) { .VPHero.has-image .actions { justify-content: flex-start; } .is-home { .VPNavBar:not(.has-sidebar):not(.top) { background-color: transparent; .divider { background-color: transparent; .divider-line { background-color: transparent; } } } } } @media (max-width: 1200px) { .home-other-stuff { padding: 0 48px; } } </style>