Skip to content

Commit

Permalink
Merge pull request #8 from appKom/7-new-footer-for-the-website
Browse files Browse the repository at this point in the history
7 new footer for the website
  • Loading branch information
SylviaSWYung committed Sep 8, 2024
2 parents 4ac901b + cefc705 commit aa182bc
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Knapp from './Knapp';
import { useEffect } from 'react';
import Kult from './Kult';
import { useState } from 'react';
import { PokemonFooter } from './components/PokemonFooter';


function App() {
Expand All @@ -24,7 +25,7 @@ function App() {
{
pokemon && pokemon.map(p => <Knapp tittel={p.name} url={p.url} paragraf={"eofekoffekokofe"}/>)
}

<PokemonFooter/>
</div>

);
Expand Down
13 changes: 13 additions & 0 deletions src/components/PokemonFooter.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react';
import '../css/PokemonFooter.css';

export function PokemonFooter(){
return(
<nav>
<div>
<h1>Finner du ikke din pokemon? Kontakt Aksel</h1>
</div>
</nav>
)
}

14 changes: 14 additions & 0 deletions src/css/PokemonFooter.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
div {
border-top-color: palevioletred;
border-top-style: solid;
width: 100%;
}

nav{
width: 100%;
background-color: pink;
}

h1{
text-align: center;
}

0 comments on commit aa182bc

Please sign in to comment.