Skip to content

Commit

Permalink
fix failing eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
RbAvci committed May 23, 2024
1 parent 8ef7e35 commit 6b3b71f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 36 deletions.
35 changes: 17 additions & 18 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Video Recommendations</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"
/>
</head>

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Video Recommendations</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet">
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
</body>

</html>
<body>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
</body>
</html>
36 changes: 18 additions & 18 deletions client/src/VideoRecommendations.css
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
:root {
--primary-color: #007bff;
--container-width: 90%;
--gap-size: 20px;
--primary-color: #007bff;
--container-width: 90%;
--gap-size: 20px;
}

.video-list-container {
padding: 20px;
margin: 0 auto;
width: var(--container-width);
padding: 20px;
margin: 0 auto;
width: var(--container-width);
}

.video-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: var(--gap-size);
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: var(--gap-size);
}

.video-item {
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #f9f9f9;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #f9f9f9;
}

.video-title {
font-size: 18px;
margin-bottom: 10px;
font-family: Arial, sans-serif;
font-size: 18px;
margin-bottom: 10px;
font-family: Arial, sans-serif;
}

.video-title a {
color: var(--primary-color);
color: var(--primary-color);
}

.video-title a:hover {
text-decoration: underline;
text-decoration: underline;
}

0 comments on commit 6b3b71f

Please sign in to comment.