Skip to content

Commit

Permalink
Added the turtle to the intro screen
Browse files Browse the repository at this point in the history
  • Loading branch information
connieding committed Jul 14, 2024
1 parent c354da6 commit 31cc5ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Binary file added web/src/assets/Turtle-home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions web/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { useEffect, useState } from "react";
import "../styles/Sidebar.css";
import axios from "axios";
import turtle2 from "../assets/Turtle-home.png"

interface SidebarProps {
selectedMarker: string | null;
Expand Down Expand Up @@ -303,8 +304,11 @@ const Sidebar: React.FC<SidebarProps> = ({
</div>
)
) : (
<div className="flex h-full welcome-message flex-col">
<div className="bg-primary px-6 py-12 my-auto rounded-xl">
<div className="flex h-full welcome-message flex-col items-center">
<div className="centerbar-turtle flex justify-center ml-10 mt-10 mb-5">
<img src={turtle2} alt="Turtle" className="self-center" />
</div>
<div className="bg-primary px-6 py-8 rounded-xl text-center">
<h2 className="font-title">Welcome to Restore</h2>
<p className="text-sm">Reduce, Reuse, Restore</p>
<p className="text-base mt-3">
Expand Down

0 comments on commit 31cc5ac

Please sign in to comment.