This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variation 1 > will show old banner | |
- JS | |
/* CUSTOM CODE */ | |
var shouldShowBar = JSON.parse(localStorage.getItem('COOKIES_BAR__SHOW')) !== 'no' ; | |
if (shouldShowBar) { | |
setTimeout(function() { | |
document.getElementsByClassName('testCookiesBar')[0].remove(); | |
var event = document.createEvent('Event'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template id="feed"> | |
<div> | |
<div v-for="tweet in feed" :key="tweet.title" class="tweet"> | |
<div class="avatarContainer"> | |
<img :src="tweet.avatar" class="avatar" width="70" height="70"> | |
</div> | |
<div class="tweetBody"> | |
<div class="tweetHead"> | |
<span class="author"> | |
{{ tweet.author }} |