summaryrefslogtreecommitdiff
path: root/scripts/contact.js
blob: e33ac7819a91652bd2cf9ea8bc8df118f78d9c6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class Contact {
    constructor() {}

    Main() {
        const data = {
            contact: `
                <section id='contact'>
                <h1>Contact</h1>
                <div class='form'>
                <p>Full Name:</p>
                <input type='text' name='fullname'/>
                <p>Email:</p>
                <input type='email' name='email'/>
                <p>Message:</p>
                <textarea name='message'></textarea><br>
                <button id='contact-submit'>Submit</button>
                </div>
                </section>
            `
        }
        return data.contact
    }
}

module.exports = () => {return new Contact()}