Skip to content

Commit

Permalink
Merge pull request #69 from fdnd-agency/60-component-footer
Browse files Browse the repository at this point in the history
60 component footer
  • Loading branch information
Mossati authored Oct 8, 2024
2 parents ffb72b2 + e29ba45 commit ffd1c37
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Node
.node_modules
node_modules
23 changes: 23 additions & 0 deletions src/lib/footer.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<script>
import '../styles/global.css'
</script>

<footer>
<p>
&#169; 2024 Deloitte <a href="/">See Terms of Use </a>for more information.
</p>
</footer>

<style>
p {
background-color: var(--D-t-support);
color: white;
padding: 1.25em;
font-size: 0.75em;
}
a {
color: white;
text-decoration: underline;
}
</style>
11 changes: 3 additions & 8 deletions src/routes/overview/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,21 @@
import '../../styles/overview.css'
import MobilityOptions from '$lib/mobility-options.svelte';
import GeneralInfo from '$lib/general-info.svelte';
import Footer from '$lib/footer.svelte';
export let num = 0;
</script>

<main>
<header>
<h1>Mobility options</h1>
<span>
<a href="/profile">profile</a>
<!-- <a href="/Inlog">Log in</a> -->
</span>
</header>

<MobilityOptions
{num}/>





<GeneralInfo
{num}/>

<Footer />
</main>

0 comments on commit ffd1c37

Please sign in to comment.