Home.tsx 809 Bytes
Newer Older
Yoon, Daeki's avatar
Yoon, Daeki committed
1
2
import React from "react";
import { Link } from "react-router-dom";
3
import homeImg from "../icons/homeImg.png";
4

Lee SeoYeon's avatar
Lee SeoYeon committed
5
6
export const Home = () => {
  return (
Yoon, Daeki's avatar
Yoon, Daeki committed
7
8
    <div className="flex flex-col items-center">
      <div className="text-center text-2xl md:text-3xl text-black mt-12">
Lee SeoYeon's avatar
Lee SeoYeon committed
9
10
        가장 쉽게 설문지를 만드세요!
      </div>
Yoon, Daeki's avatar
Yoon, Daeki committed
11
      <Link
Jiwon Yoon's avatar
Jiwon Yoon committed
12
13
        to={"/surveys/create"}
        className="flex justify-center items-center my-6 h-14 w-48 border-2 font-bold hover:text-white bg-gray-200 hover:bg-themeColor text-black text-xl font-bold rounded-lg"
Yoon, Daeki's avatar
Yoon, Daeki committed
14
      >
Jiwon Yoon's avatar
Jiwon Yoon committed
15
        + Create
Yoon, Daeki's avatar
Yoon, Daeki committed
16
      </Link>
Jiwon Yoon's avatar
Jiwon Yoon committed
17
      {/* <p className="text-center justify-end text- mb-3">Create Now</p> */}
18
19
      <div className="flex mt-5 md:px-48 bg-themeColor">
        <img src={homeImg} className="m-3" />
20
21
      </div>
    </div>
Lee SeoYeon's avatar
Lee SeoYeon committed
22
23
  );
};