Skip to content

Commit

Permalink
feat(lluis): add <Footer /> (#2063)
Browse files Browse the repository at this point in the history
  • Loading branch information
kantord committed Mar 6, 2022
1 parent 62ccab6 commit 6589304
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
11 changes: 11 additions & 0 deletions apps/lluis/Footer.svelte
@@ -0,0 +1,11 @@
<div class="footer">
<slot />
</div>

<style>
.footer {
margin-top: 12em;
background-color: #fafafa;
padding: 3rem 1.5rem 6rem;
}
</style>
8 changes: 2 additions & 6 deletions apps/web/src/mystyles.scss
Expand Up @@ -30,7 +30,7 @@
@import "~bulma/sass/elements/container.sass";
@import "~bulma/sass/elements/tag.sass";
@import "~bulma/sass/layout/section.sass";
@import "~bulma/sass/layout/footer.sass";
/* @import "~bulma/sass/layout/footer.sass"; */
@import "~bulma/sass/layout/hero.sass";
@import "~bulma/sass/base/generic.sass";
@import "~bulma/sass/helpers/_all.sass";
Expand All @@ -51,12 +51,8 @@
@import "~bulma-pageloader";
@import "~bulma-tooltip";

.footer {
margin-top: 12em;
}

.md-page a {
text-decoration: underline;
}

@import "~bulmaswatch/lumen/overrides.scss";
@import "~bulmaswatch/lumen/overrides.scss";
5 changes: 3 additions & 2 deletions apps/web/src/routes/course/[courseName]/index.svelte
Expand Up @@ -15,6 +15,7 @@
import Column from "lluis/Column.svelte"
import Columns from "lluis/Columns.svelte"
import Content from "lluis/Content.svelte"
import Footer from "lluis/Footer.svelte"
import type { ModulesType } from "../../../types/ModulesType"

export let courseName = null
Expand Down Expand Up @@ -46,7 +47,7 @@
</section>
{/each}

<footer class="footer">
<Footer>
<Content>
<Columns>
<Column>
Expand All @@ -71,7 +72,7 @@
</Columns>
<p></p>
</Content>
</footer>
</Footer>

<style type="text/scss">
@import "../../../variables";
Expand Down

0 comments on commit 6589304

Please sign in to comment.