Skip to content

Commit

Permalink
Update welcome image
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Nov 2, 2024
1 parent b033099 commit ebc289c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file removed src/assets/welcome.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/assets/welcome.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/modules/Main/Welcome.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import { useState, useContext, useEffect, useRef } from 'react';
import { MapPackContext } from '../../contexts/MapPackContext';
import { BeatmapsContext } from '../../contexts/BeatmapsContext';
import clsx from 'clsx';
import WelcomePng from '../../assets/welcome.png';
import WelcomeSvg from '../../assets/welcome.svg';
import './Welcome.scss';

export function Welcome() {
const { mapPack } = useContext(MapPackContext);

if (!mapPack) return (
<div className="welcome">
<img src={WelcomePng} className="welcome-image" onDragStart={e => e.preventDefault()} />
<img src={WelcomeSvg} className="welcome-image" onDragStart={e => e.preventDefault()} />
<div className="welcome-text">Catch Map Visualizer</div>
<div className="welcome-instructions">Select or drag a beatmap to start</div>
<a href="https://github.com/osu-ctb-vis/Catch-Map-Visualizer" target="_blank" className="welcome-link">GitHub</a>
Expand Down

0 comments on commit ebc289c

Please sign in to comment.