diff --git a/frontend/anmeldelser/style.css b/frontend/anmeldelser/style.css deleted file mode 100644 index 5a3acd5..0000000 --- a/frontend/anmeldelser/style.css +++ /dev/null @@ -1,4 +0,0 @@ -#anmeldelser { - display: flex; - justify-content: center; -} \ No newline at end of file diff --git a/frontend/index.html b/frontend/index.html index e14b206..5c2b694 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -33,7 +33,7 @@

Postnummer ikke fundet

- anmeldelser + Anmeldelser

diff --git a/frontend/anmeldelser/index.html b/frontend/reviews.html similarity index 100% rename from frontend/anmeldelser/index.html rename to frontend/reviews.html diff --git a/frontend/src/review.ts b/frontend/src/review.ts index eba1a4e..3a23393 100644 --- a/frontend/src/review.ts +++ b/frontend/src/review.ts @@ -1,6 +1,4 @@ -const reviewContainer = document.getElementById("review-container")! - - +const reviewContainer = document.getElementById("reviews-container")! function addReview(location: string, title: string, content: string, stars: number, ) { const id = Math.random() * 1000000 diff --git a/frontend/style.css b/frontend/style.css index f90ba39..279e43b 100644 --- a/frontend/style.css +++ b/frontend/style.css @@ -219,3 +219,8 @@ code { } } +#reviews-title { + display: flex; + justify-content: center; +} +