diff --git a/src/App.tsx b/src/App.tsx
index 6308d82..5690f88 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -22,6 +22,7 @@ import Logo from './assets/logo';
import './App.scss';
import Question from './assets/question';
import Home from './components/Home/Home';
+import LeaderBoard from './components/Leaderboard/leaderboard';
// ---------------------------------------------------------------------------------------------------------------------
const App = () => {
@@ -51,9 +52,8 @@ const App = () => {
}}
/>
)} */}
-
+
+ {/* */}
);
};
diff --git a/src/components/Leaderboard/leaderboard.tsx b/src/components/Leaderboard/leaderboard.tsx
new file mode 100644
index 0000000..881697a
--- /dev/null
+++ b/src/components/Leaderboard/leaderboard.tsx
@@ -0,0 +1,51 @@
+import React from 'react';
+import './styles.scss';
+
+const arrayBoard = [
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+ { date: '12/06/2014', time: '1.06' },
+];
+
+const LeaderBoard = () => {
+ return (
+
+
Time Leaderboard
+
+
+
+
+ {arrayBoard.map((item, index) => {
+ return (
+
+
{item.date}
+
{item.time}
+
+ );
+ })}
+ ;
+
+
+
+ );
+};
+
+export default LeaderBoard;
diff --git a/src/components/Leaderboard/styles.scss b/src/components/Leaderboard/styles.scss
new file mode 100644
index 0000000..e45fa8c
--- /dev/null
+++ b/src/components/Leaderboard/styles.scss
@@ -0,0 +1,72 @@
+.boardContainer {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ height: 100vh;
+ width: 100vw;
+}
+
+.titleBoard {
+ font-size: 1.5rem;
+ margin-bottom: 1rem;
+ font-weight: bold;
+}
+
+.completeBoard {
+ display: flex;
+ flex-direction: column;
+ gap: 1em;
+ border: 2px solid #fff;
+ border-radius: 5px;
+ padding: 15px;
+ background-color: #fff;
+ width: 100%;
+ max-width: 400px;
+
+}
+
+.containerLittle {
+ overflow: scroll;
+ height: 100%;
+ max-height: 350px;
+ gap: 1em;
+}
+
+.lineInfo {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 10px;
+ border: 1.5px solid #fff;
+ border-radius: 3px;
+ padding: 10px;
+ background-color: #333;
+ color: #fff;
+ font-weight: 400;
+}
+
+.infoDate {
+ margin-left: 10px;
+}
+
+.infoScore {
+ text-align: right;
+ margin-right: 10px;
+}
+
+.lineBoard {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 10px;
+ border: 1.5px solid #fff;
+ margin-bottom: 10px;
+ border-radius: 3px;
+ padding: 5px;
+ background-color: #e1e1e1;
+ color: #333;
+ font-weight: 400;
+}
+
+.blockScore {
+ text-align: right;
+}