Skip to content

Commit

Permalink
fix: updated background of events page
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkapravo-Ghosh committed Mar 3, 2024
1 parent 37c355b commit 03eb65a
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 14 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const App = () => {
<Route exact path="/coc" element={<CodeofConduct />} />
<Route exact path="/brand" element={<Brand />} />
<Route exact path="/tg" element={<Telegram />} />
<Route exact path="/events" element={<Events />} />
</Routes>
</Suspense>
</main>
Expand Down
12 changes: 6 additions & 6 deletions src/assets/data/SpeakersContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const speakers = [
{
id: 1,
name: "Saurabh Kumar Jha",
topic: "Designing for Diversity",
topic: "Breaking Barriers in Design",
date: "Dec 23, 2023",
time: "18:00 IST",
button: {
Expand All @@ -18,7 +18,7 @@ const speakers = [
{
id: 2,
name: "Saurabh Kumar Jha",
topic: "Designing for Diversity",
topic: "Breaking Barriers in Design",
date: "Dec 23, 2023",
time: "18:00 IST",
button: {
Expand All @@ -31,7 +31,7 @@ const speakers = [
{
id: 3,
name: "Saurabh Kumar Jha",
topic: "Designing for Diversity",
topic: "Breaking Barriers in Design",
date: "Dec 23, 2023",
time: "18:00 IST",
button: {
Expand All @@ -44,7 +44,7 @@ const speakers = [
{
id: 4,
name: "Saurabh Kumar Jha",
topic: "Designing for Diversity",
topic: "Breaking Barriers in Design",
date: "Dec 23, 2023",
time: "18:00 IST",
button: {
Expand All @@ -57,7 +57,7 @@ const speakers = [
{
id: 5,
name: "Saurabh Kumar Jha",
topic: "Designing for Diversity",
topic: "Breaking Barriers in Design",
date: "Dec 23, 2023",
time: "18:00 IST",
button: {
Expand All @@ -70,7 +70,7 @@ const speakers = [
{
id: 6,
name: "Saurabh Kumar Jha",
topic: "Designing for Diversity",
topic: "Breaking Barriers in Design",
date: "Dec 23, 2023",
time: "18:00 IST",
button: {
Expand Down
Binary file not shown.
4 changes: 0 additions & 4 deletions src/components/private/speakerschedule/SpeakerSchedule.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
.speakerschedule {
background-image: url("../../../assets/images/EventsImages/SpeakerScheduleBackground.webp");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
width: 100%;
overflow-x: hidden;
display: flex;
Expand Down
1 change: 0 additions & 1 deletion src/pages/events/Events.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { useEffect } from "react";
import "./Events.scss";
import SpeakerSchedule from "../../components/private/speakerschedule/SpeakerSchedule";
import speakers from "../../assets/data/SpeakersContent";

const Events = () => {
useEffect(() => {
Expand Down
2 changes: 2 additions & 0 deletions src/pages/events/Events.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.events {
width: 100%;
flex: 1;
display: flex;
flex-direction: column;
overflow-x: hidden;
background: radial-gradient(circle at 0% 0%, #ff171723 0%, #0a0a0a85 50%);
}

0 comments on commit 03eb65a

Please sign in to comment.