Skip to content

Commit

Permalink
Merge pull request #125 from zstenger93/frontend
Browse files Browse the repository at this point in the history
Frontend
  • Loading branch information
zstenger93 authored Dec 26, 2023
2 parents 5ba369c + edad709 commit be6f4fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/404.html → 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<video autoplay loop muted style="position: absolute;
z-index: 0; width: 100%; height: 100%; object-fit: cover;">
<source src="src/images/404.mp4" type="video/mp4">
<source src="frontend/src/images/404.mp4" type="video/mp4">
</video>

<div style="position: relative; z-index: 10;
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/Profile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useEffect } from "react";
import React, { useState } from "react";
import { useTranslation } from "react-i18next";

const friendsListData = [
Expand Down Expand Up @@ -31,7 +31,7 @@ const friendsListData = [

const matchHistoryData = [
{
opponent: "EmotionalDamage",
opponent: "EmotionalDmg",
result: "Win",
score: "5 - 2",
game: "Pong",
Expand Down Expand Up @@ -155,7 +155,7 @@ function MatchHistory() {
return (
<div
className="bg-gray-900 bg-opacity-80 p-6 shadow-xl
rounded-md max-h-96 overflow-y-auto mb-10">
rounded-md max-h-96 overflow-y-auto mb-10 sm:w-full">
<h3 className="text-xl text-gray-300 font-nosifer font-bold mb-4 text-center">
{t("Match History")}
</h3>
Expand Down

0 comments on commit be6f4fa

Please sign in to comment.