Skip to content

Commit

Permalink
feat: add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseKuntz committed Nov 20, 2022
1 parent 61a7b41 commit 31adec1
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/App.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { DropArea, InstructionModal } from 'src/lib/components';
import { DropArea, Footer, InstructionModal } from 'src/lib/components';
</script>

<main class="center-everything">
Expand All @@ -11,6 +11,8 @@
</div>

<DropArea />

<Footer />
</main>

<style>
Expand All @@ -32,7 +34,7 @@
}
.header-background {
background: #3f2a1f;
background: var(--brown);
position: absolute;
top: 0;
bottom: 0;
Expand Down
4 changes: 4 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:root {
--brown: #3f2a1f;
}

html {
background: linear-gradient(#dbb098, #67985d);
background-attachment: fixed;
Expand Down
16 changes: 16 additions & 0 deletions src/lib/components/Footer/Footer.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<p class="footer">
Made with 💚 by <a href="https://jessekuntz.github.io/" target="_blank" class="website-link"
>Jesse Kuntz</a
>
</p>

<style>
.footer {
font-size: 16px;
}
.website-link {
text-decoration: none;
color: var(--brown);
}
</style>
1 change: 1 addition & 0 deletions src/lib/components/Footer/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as Footer } from './Footer.svelte';
2 changes: 1 addition & 1 deletion src/lib/components/InstructionModal/Content.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<ul>
<li>
Avoid skin colored clothes or things in the background of the picture. Those will likely get
turned green. And yes, I mean all skin colors.
turned green.
</li>
<li>
Make sure all faces are turned toward the camera, otherwise they might not get detected and will
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Modal
show={$modal}
styleContent={{
border: '4px solid #3f2a1f',
border: '4px solid var(--brown)',
borderRadius: '8px',
background: 'linear-gradient(#dbb098, #67985d)',
maxHeight: 'calc(100vh - 32px)',
Expand Down
1 change: 1 addition & 0 deletions src/lib/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './Button';
export * from './DropArea';
export * from './Footer';
export * from './Icon';
export * from './InstructionModal';

0 comments on commit 31adec1

Please sign in to comment.