Skip to content

Commit

Permalink
feat: close down website (runme-io#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
reinos authored Dec 4, 2020
1 parent 3eac328 commit 6767597
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 590 deletions.
5 changes: 0 additions & 5 deletions src/components/UI/Layout/MainLayout.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<script>
import Header from '../Header/Header.svelte'
import MainFooter from '../Footer/MainFooter.svelte'
import SubFooter from '../Footer/SubFooter.svelte'
import MetaData from '../MetaData.svelte'
export let showTechnologyIcons = false
</script>

<MetaData {...$$restProps}/>
Expand All @@ -16,7 +13,5 @@
<slot/>
</main>

<SubFooter {showTechnologyIcons}/>

<MainFooter/>
</div>
48 changes: 0 additions & 48 deletions src/components/UI/Menu.svelte
Original file line number Diff line number Diff line change
@@ -1,48 +0,0 @@
<script>
import { menuItems } from '../../Data/menu'
export let textColorLight = false
let textColorClass = textColorLight ? 'light' : ''
const items = menuItems
</script>

<nav class="{textColorClass}">
<ul>
{#each items as item}
<li><a target={item.newWindow ? 'target="_blank"' : null} href={item.link}>{item.label}</a></li>
{/each}
</ul>
</nav>

<style lang="sass">
@import "../../assets/style/theme"
nav
font-family: $font-family-jexia
font-size: 1.4rem
text-align: center
ul
display: inline-block
list-style: none
li
display: inline-block
padding: 0 .5rem
&:not(:last-child)
&:after
content: '|'
padding-left: 1rem
color: $gray
a
color: $gray
nav.light
a
color: $white
text-decoration: none
</style>
1 change: 1 addition & 0 deletions src/routes/_error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<div class="container-404">
<h1>{title}</h1>
<p>{message}</p>
<p>Go <a href="/">back</a> to the home page</p>

{#if dev && error.stack}
<pre>{error.stack}</pre>
Expand Down
32 changes: 0 additions & 32 deletions src/routes/about.svelte

This file was deleted.

114 changes: 0 additions & 114 deletions src/routes/build.svelte

This file was deleted.

11 changes: 0 additions & 11 deletions src/routes/canceled.svelte

This file was deleted.

11 changes: 0 additions & 11 deletions src/routes/completed.svelte

This file was deleted.

54 changes: 0 additions & 54 deletions src/routes/how-it-works.svelte

This file was deleted.

59 changes: 5 additions & 54 deletions src/routes/index.svelte
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,62 +1,13 @@
<script context="module">
import DockerImages from '../components/Stores/DockerImages'
export async function preload () {
const res = await this.fetch('data/docker-images.json')
const dockerImages = await res.json()
DockerImages.set(dockerImages)
}
</script>

<script>
import RunmeButton from '../components/Runme/RunmeButton.svelte'
import GenerateForm from '../components/Runme/GenerateForm.svelte'
import GenerateResult from '../components/Runme/GenerateResult.svelte'
import MainLayout from '../components/UI/Layout/MainLayout.svelte'
import { generateSpec } from '../Helpers'
let showResult = false
let spec
async function generate ({ detail: success }) {
showResult = success
spec = null // unassign before assign again, otherwise the component doesn't rerender new values
spec = await generateSpec()
}
</script>

<style lang="sass">
@import "./assets/style/theme"
.generator-page
padding-top: 6rem
width: 75%
margin: 0 auto
@media screen and (max-width: 800px)
width: 100%
h1
text-align: center
font-size: 2.5rem
.generator
padding-top: $spacing
</style>
<MainLayout title="About">
<div class="main-content">
<h1>Hello!</h1>

<MainLayout
showTechnologyIcons={true}
title="Run your application from any public Git-repo with one click"
>
<div class="generator-page">
<h1>Generate <RunmeButton/> button for your repo.</h1>
<section class="generator">
<GenerateForm on:generate={generate} />
<p>Dear partners, Runme service transformed into different service and not available for public anymore.</p>

<GenerateResult
isVisible={showResult}
{spec}
/>
</section>
<p>Thank you for interest and your understanding!</p>
</div>
</MainLayout>
Loading

0 comments on commit 6767597

Please sign in to comment.