commit 3f6debddaa8fbf76133676472394864d1a2989df parent 44ae51507a616d8b9c8c20b33699eaa5dda99647 Author: Agastya Chandrakant <me@hanabi.in> Date: Mon, 18 May 2020 13:13:11 +0530 change icon Diffstat:
M | src/comp/header.js | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/comp/header.js b/src/comp/header.js @@ -3,11 +3,12 @@ import { Link } from 'react-router-dom'; function Header() { return ( - <nav className="navbar navbar-expand-lg navbar-dark bg-dark mb-5"> + <nav className="navbar navbar-expand-lg navbar-dark bg-danger mb-5"> <Link className="navbar-brand" to="/"> <span role="img" aria-label="time convertor"> - 🌐 - </span> + {new Date().getSeconds() % 2 ? '⏳' : '⌛️'} + </span>{' '} + time convertor </Link> <button className="navbar-toggler"