Format and linting changes

This commit is contained in:
Joe 2020-05-26 09:14:40 +01:00
parent 939e2dc68c
commit 3be7182887
4 changed files with 16 additions and 16 deletions

View File

@ -28,4 +28,4 @@ export { default as CommunityIcon } from "./Community.svelte"
export { default as ContributionIcon } from "./Contribution.svelte" export { default as ContributionIcon } from "./Contribution.svelte"
export { default as BugIcon } from "./Bug.svelte" export { default as BugIcon } from "./Bug.svelte"
export { default as EmailIcon } from "./Email.svelte" export { default as EmailIcon } from "./Email.svelte"
export { default as TwitterIcon } from "./Twitter.svelte" export { default as TwitterIcon } from "./Twitter.svelte"

View File

@ -2,10 +2,10 @@
import Button from "components/common/Button.svelte" import Button from "components/common/Button.svelte"
export let apps export let apps
function myFunction() { function myFunction() {
var x = new Date(document.lastModified); var x = new Date(document.lastModified)
document.getElementById("demo").innerHTML = x; document.getElementById("demo").innerHTML = x
} }
</script> </script>
<div class="root"> <div class="root">
@ -14,12 +14,17 @@ function myFunction() {
<div> <div>
<div class="app-section-title">Your Web Apps</div> <div class="app-section-title">Your Web Apps</div>
{#each apps as app} {#each apps as app}
<div class="apps-card"> <div class="apps-card">
<h3 class="app-title">{app.name}</h3> <h3 class="app-title">{app.name}</h3>
<p class="app-desc">A minimalist CRM which removes the noise and allows you to focus on your business. </p> <p class="app-desc">
A minimalist CRM which removes the noise and allows you to focus
on your business.
</p>
<div class="card-footer"> <div class="card-footer">
<div class="modified-date">Last Edited - 25th May 2020</div> <div class="modified-date">Last Edited - 25th May 2020</div>
<a href={`/_builder/${app._id}`} class="app-button">Open Web App</a> <a href={`/_builder/${app._id}`} class="app-button">
Open Web App
</a>
</div> </div>
</div> </div>
{/each} {/each}
@ -73,7 +78,7 @@ function myFunction() {
.card-footer { .card-footer {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: baseline; align-items: baseline;
justify-content: space-between; justify-content: space-between;
} }
@ -94,6 +99,4 @@ function myFunction() {
transition: all 0.2s; transition: all 0.2s;
box-sizing: border-box; box-sizing: border-box;
} }
</style> </style>

View File

@ -50,9 +50,6 @@
</div> </div>
<style> <style>
.switcher { .switcher {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

View File

@ -32,8 +32,8 @@
<button class="home-logo"> <button class="home-logo">
<img <img
src="/_builder/assets/bb-logo.svg" src="/_builder/assets/bb-logo.svg"
alt="budibase icon" alt="budibase icon"
on:click={() => $goto(`/`)}> on:click={() => $goto(`/`)} />
</button> </button>
<!-- This gets all indexable subroutes and sticks them in the top nav. --> <!-- This gets all indexable subroutes and sticks them in the top nav. -->