SubNav.js 1.07 KB
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
import React, { useState, useEffect, useRef } from 'react';
Kim, Subin's avatar
Kim, Subin committed
2
import { Navbar, Nav } from 'react-bootstrap';
Kim, Subin's avatar
Kim, Subin committed
3
4

function SubNav() {
Kim, Subin's avatar
Kim, Subin committed
5
6
7
    function handleMouseEnter(e) {
        console.log(e.target)
    }
Kim, Subin's avatar
Kim, Subin committed
8
9

    return (
Kim, Subin's avatar
Kim, Subin committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
        <Nav>
            <Nav.Item eventKey="1">
                <Nav.Link href="/dress">DRESS</Nav.Link>
            </Nav.Item>
            <Nav.Item eventKey="2">
                <Nav.Link href="/outer">OUTER</Nav.Link>
            </Nav.Item>
            <Nav.Item eventKey="3">
                <Nav.Link href="/top">TOP</Nav.Link>
            </Nav.Item>
            <Nav.Item eventKey="4">
                <Nav.Link href="/bottom">BOTTOM</Nav.Link>
            </Nav.Item>
            <Nav.Item eventKey="5">
                <Nav.Link href="/training">TRAINING</Nav.Link>
            </Nav.Item>
            <Nav.Item eventKey="6">
                <Nav.Link href="/inner">INNER</Nav.Link>
            </Nav.Item>
            <Nav.Item eventKey="7">
                <Nav.Link href="/shoes">SHOES</Nav.Link>
            </Nav.Item>
        </Nav>
Kim, Subin's avatar
Kim, Subin committed
33
34
35
36
    )
}

export default SubNav