Skip to content

jAllanOli/nwl-esports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLW eSports - Trilha Explorer

Project build on the web event Next Level Week from Rocketseat.

Table of contents

Overview

Screenshot

preview

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • CSS animations

What I learned

Learned the basics of CSS animations and how to do some interesting things, like a element border with a linear-gradient, using nested elements. Some new hover effects and background adaptations.

<section class="card">
            <div class="my-games">
                <h2>Meus Jogos</h2>
                <p>Os games que eu mais curto jogar</p>
                <ul class="games-list">
                    <li>
                        <a target="_blank" href="https://www.twitch.tv/directory/game/League%20of%20Legends">
                            <img src="https://static-cdn.jtvnw.net/ttv-boxart/21779-188x250.jpg"
                                alt="league of legends">
                        </a>
                    </li>
                    <li>
                        <a target="_blank" href="https://www.twitch.tv/directory/game/Dead%20by%20Daylight">
                            <img src="https://static-cdn.jtvnw.net/ttv-boxart/491487-188x250.jpg"
                                alt="dead by daylight">
                        </a>
                    </li>
                    <li>
                        <a target="_blank" href="https://www.twitch.tv/directory/game/Genshin%20Impact">
                            <img src="https://static-cdn.jtvnw.net/ttv-boxart/513181-188x250.jpg"
                                alt="league of legends">
                        </a>
                    </li>
                    <li>
                        <a target="_blank" href="https://www.twitch.tv/directory/game/Borderlands%202">
                            <img src="https://static-cdn.jtvnw.net/ttv-boxart/32345_IGDB-188x250.jpg"
                                alt="borderlands2">
                        </a>
                    </li>
                </ul>
            </div>
        </section>
@keyframes fromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

Continued development

Looking foward to improve this project, adapting more for mobile devices. Also thinking of adding some DOM manipulation to insert description to the games, streamers and an about me section that appears and disappears.

Author

About

Projeto da trilha Explorer no evento da Rocketseat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published