Skip to content

Commit

Permalink
Add hardcoded events
Browse files Browse the repository at this point in the history
Deprecated API
  • Loading branch information
ragonzal committed May 30, 2021
1 parent c38f766 commit dbd76c0
Show file tree
Hide file tree
Showing 30 changed files with 1,934 additions and 272 deletions.
81 changes: 81 additions & 0 deletions frontend/.firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
manifest.json,1622418443971,6aaf3d87dd9bb1e96f9c691c50d0ed378ed98a120a76dea78291281834cd36e9
favicon.ico,1622418443965,175a69ddce44223fc81f6cafc99b48cb439179944618027a08e66b05a5a79330
asset-manifest.json,1622418455962,789f6509285a986157f1ef518f716fa5de883164555be977d1ae4b828794b71b
index.html,1622418455962,1d3822d78ab44c6b97451da313a8a38fa7c1202950e1ba91ac600525149c2666
locales/en/translation.json,1622418443968,05e10cc415a0ab3d1c0f2c416f12b2ff135e132e13f1d433bf6dd6dfb32ed1d5
service-worker.js,1622418455963,d9330e813b1aec374c086698df6f4ce0672fc7043a7e93d667cb877d2d7abd1b
locales/es/translation.json,1622418443969,5474a55c26d7e3ccec0eaa7eef0ece52d61806e54e563f6c2b0c88c6953dade2
locales/pt/translation.json,1622418443970,552c68a0d6d8a2535878c0f95a3d6ac058c22bda9ce503923ff6ef9bbf03eb89
precache-manifest.2b2a37e00d32cbb160d93155489cf9bb.js,1622418455964,3094be512e4c6f9731adccd4c8cb7af9e5bcc77ddbaab3fc63df56ace5a324a9
static/css/2.ee241de9.chunk.css,1622418455945,524d08aa5455f036b45906314eac825c4e5591d54f3b87a515115f7c802dbb26
static/css/2.ee241de9.chunk.css.map,1622418455949,b7e9f6e36cb20b0e5898e4921f973f144324f8c5049b569f42668ad18aa4d052
static/js/2.983be7ac.chunk.js.LICENSE.txt,1622418455949,2fe26fec8b876af41d6e93bb5bebd4436e4b8c337926e8af10225d11bad184ca
static/css/main.7807cb0e.chunk.css,1622418455941,b488e741a1d8732ff2e3171eece711febbc1b9c3e269eedeaebc27aa77227e39
static/css/main.7807cb0e.chunk.css.map,1622418455952,74f19daf6787216f8d59d61147b46a75c1cb8a7e34ab9846d3171b3eba4c01f2
static/js/runtime-main.cb08f1e8.js,1622418455945,ffa481401ffa3b9a1e47a2cca8bb944eb4f2161d0c799659c7dade98eb72f9c4
static/js/runtime-main.cb08f1e8.js.map,1622418455949,6c07244eeded6e375c8367b34ccdaef116535e5d218354d4a0ea508c206b3392
static/media/arrow-left-purple.58637b7b.svg,1622418455927,54d098de14f9fd2451448dd2e3eefa08ff163f5ac42806bd403767b227396305
static/media/arrow-right-purple.e39e72ce.svg,1622418455923,1a687da75cb275be31a8b6553543cf95eff89eae97ef15a8330fa922f1b19473
static/media/back-arrow-orange.90e86109.svg,1622418455919,676755c23a611492e674153b910027c25e44b85b632a4ecf97373e4e7bca4468
static/media/atix.7b9ae92b.png,1622418455915,6326ac9e3920088ba9e5ee1e221e4555ab726db44534c818a39f220d4d156607
static/media/baseline-keyboard_arrow_down-24px.c3d75740.svg,1622418455919,5d519c5ab7db5d625ab9321d98651e3ccceb48958f07bf4b53198a545a0209c6
static/media/baseline-search-24px.a87eca9e.svg,1622418455919,3df53333d616deede0ae2f6bedccdf713ff588502cbda3176485ffe51d1c1d4e
static/media/calendar-grey.ea4f1aba.svg,1622418455922,51b6a0a609fc0cef03d9378015358ec82d94b63d630b3c0f5edd1ba672c7f49a
static/media/2.0da2de84.png,1622418455916,21551e4a97be66dec8248a27d4e832babbca5866a427bbab7daadf9b9a854da6
static/media/3.006fc5de.png,1622418455916,d8d23712609f6fc47e445de83898305d3d43f1b41af303c21278f9be126c9a71
static/media/1.bf7e6df3.png,1622418455915,5deae480f2368b55261f29b2837b43b0ddadf3b20259b024d756c1529bab1a0e
static/media/4.0e620ca9.png,1622418455916,f6ddb303cf828b562a8872293644c830ee80f13073c19d831d7dd6decabaefc2
static/media/chat-bubble-purple.5825a690.svg,1622418455923,f933a417fce0ebb7f7783fb3f0a108b8d57784a063f03a8ba05f00e2f4860920
static/media/clock-grey.0f19c98f.svg,1622418455922,82831fbcf64693e6dc283348c32bb47040e5d56ab6824a81ce8f7793c6f1b02f
static/media/cross-purple.245e4809.svg,1622418455932,46b0fcec28e2220d2f27036120ad6c51aabf2e939fbd1e81f403ca195aae53a5
static/media/download-orange.041ac283.svg,1622418455923,1216bf49ffb98562f0584f222c5b794da17f7996a84e0ce53b88abbdf4264aa4
static/media/ethereum-temp-logo.b923f6f6.png,1622418455916,462a91eee7cdc09dd73c70a72efaaae38d8ae8c671b36fc8378b2ce1fa16f909
static/media/icon-address-light.ce62670d.svg,1622418455919,9467faa49a14ef56b0eeef2cd37c3e1d6da2aac8167112bb0f93f51aa4fd815b
static/media/icon-address.c06b3fbc.svg,1622418455918,5a8a83ce4ed050afbaa4807131ae1669b081720559b42a68a18e826788ca602d
static/media/icon-calendar-light.ddc37fbc.svg,1622418455916,3daeb4d166f6b9aefbff632f0c065eec21dc20d5d17cf0b2a6ce0e0a912513f1
static/media/icon-calendar.9fba2cb1.svg,1622418455915,fdc96ea915a7a64edef88f8653feb9de20c37a645cacb82d433859b2a6711a0d
static/media/icon-clock-light.3f7d2e91.svg,1622418455918,f7b82560eb39debe88ad50e87e323994181648c1e8a3f24d801b46239ea86d0e
static/media/icon-clock.c7521721.svg,1622418455917,00ea0481f632146665bbada8900aa10a72eaec2239b3271deec4782c2d4accf4
static/media/magnifying-glass-purple.14e02e48.svg,1622418455929,a54f682b108698194b024072028abdc919ba3f063f11c7891c216143cb523001
static/media/medium-level-purple.44decf7f.svg,1622418455914,9c9bd4eff43b58b5788c5afc1dab2592ffdb3ee3f9770adb192e818d4089a708
static/media/meetup.aae54d55.svg,1622418455919,d1f3d55793a90f195a54bc7c59727f8dfb0a3710b3c60ba152c7c0d7f332d3db
static/media/position-grey.c07cba19.svg,1622418455922,0770cf31c3c01e3a40a7edb6ad58a19822f74980b055416ba9d50f83d1bbed8d
static/media/spotify.d0819132.svg,1622418455919,f2bb671de67617caa31cbca6aec117ab0dc826eeea92251ee6c3c0aacbdc2482
static/media/substack.14afc6aa.svg,1622418455919,ed1b66e8a52a2ed9f4ed1251c2f1146e81bd0a5a20b61ec26ce59fd4cfbaf1ee
static/media/temporary-white-logo.667c71be.svg,1622418455915,37ef22e42cd8417fd8f6c02d8059d988ccfc7116a1fceabc26c1616bc7a73b66
static/media/twitter-brands.2d5988e7.svg,1622418455919,834aaa720ea13a2f8c370492fb6adfc76d7589fd10f370c76d5aa8928fdee88e
static/js/main.7ae08cb9.chunk.js,1622418455935,cf65312f296b70cce76738a8954a1f6e076627731d4f3d262298aa7131732828
static/media/telegram.9512d4ed.svg,1622418455919,816ab037c2712eb848d7e40bda2d6e04c6bd268b123e779d303a9612281ce421
static/media/youtube.7ee56896.svg,1622418455918,6b88cb69a3a796f31dc08c3d77b2dfa3ad9e4d451eecfdf12400062d6975c749
static/media/PTM55FT.817f5296.ttf,1622418455935,08b7cbd2f868c5ea149d4e49f77103205901c86b71827bd871c2e98bfa8305b0
static/media/home-eth-shape.96bdba22.png,1622418455935,af09b3faa39f120473c7a9ff7db95f928b9efafe58b03a410c1fc1bad4dde263
static/js/main.7ae08cb9.chunk.js.map,1622418455949,80131d4ddede26e8f826883ea6bca795f8d6d4653af55ed0f1c3ec418cab283a
static/media/Comfortaa[wght].7d0400b7.ttf,1622418455935,bae65f23e0e8b9f91539a7af72f5c5a0e65fccba4427fde082b688358f073f26
static/media/upcoming-card-background4.98d887fb.png,1622418455916,7cdd5ae2179975f08c5d125db0ea7e4c5441f275a9d61c23449130a4b6838c0a
static/media/upcoming-card-background3.95dd12f4.png,1622418455917,2f5027d7ab72d8ba59b5a670107f1ee44241788ccc6b842621f5a60dd4524b84
static/media/upcoming-card-background2.558714ae.png,1622418455915,fd564030af8412b01f16effb711d217e0c21092e81f8d80da2d10076cde367e7
static/media/upcoming-card-background1.e1540c00.png,1622418455915,78bfc747e083a82f6d4284b1d0fbd32c433522dcd6d5460db4b18bfd79993f56
static/js/2.983be7ac.chunk.js,1622418455946,0af17d8b5a4e804a0805490334f7b6f8576722fb502d14fddca736c76de94116
static/media/upcoming-card-background5.29231e33.png,1622418455916,b7693cf7f34fc4ace4b06bcc5d41c0332348c049523a03d59d9d41bffe85cdce
static/media/events-main-banner.11dddb32.svg,1622418455919,4a9a1c8bc56a8ee70a0359602e0b535ab67df1bad3ee16ad8753e8ea580eb6dd
static/media/city-background.36a99680.png,1622418455933,2d482d3800c1fa9263c679dd61f932eb5c5aa14145690d4ae3487bb1f566621e
media/StablePay__plataforma_DeFi_de_pagos_-_Douglas_Molina__Guillermo_Salazar_StablePay.pdf,1622418444263,2a1a19fca98740b9adaca7db14473101531c993d7144bc1799923711e9d4447a
media/Wrapped_Tokens__lo_bueno_y_lo_malo_-_Luciano_Orlando_DeFi_Latam.pdf,1622418444312,d09c3c43f2773c60e3d06ab80f8ee088896255801a6fb76ea50fe2c0d55c328e
media/Aragon_Buenos_Aires_meetup.pdf,1622418443973,a609d09ecfa55b91d94bd427b1b6a931a915d95312f3ad188541ad9ac25c0d2c
media/MCD_-_Ethereum_Buenos_Aires.pdf,1622418444175,77494cfd6fc3b8ce298d3b9d0867fc33d98ea5126314f4b981b94ab59d967d24
static/media/home-main-banner.2632c989.svg,1622418455921,899eeb1b043b4fd1496bb57076575aec1247a91a3b888768e230b68c781162cb
media/MakerDAO__Surviving_cryptos_biggest_market_crash.pdf,1622418444193,acd51d38eaf1306e14cb1d8dad4403c9dd40e1b77eb76cf106c269f3f5fcc820
media/MakerDAO__Sobreviviendo_la_peor_caida_del_mercado.pdf,1622418444182,acd51d38eaf1306e14cb1d8dad4403c9dd40e1b77eb76cf106c269f3f5fcc820
media/LocalCryptos.pdf,1622418444167,601cf0ceabd680889487ad942da2c8f7c23dc0a9c61841497695feb429056583
static/js/2.983be7ac.chunk.js.map,1622418455965,32dcb896a6fb0b0268d7ee2ffeafdbace4198937dfad7d247f59052639b1202c
media/Decentraland_A_metaverse_powered_by_smart_contracts_and_community_consensus.pdf,1622418444084,3719b9163233e7fa1a6790369a88e27dffcdff31b24376d1c3894d9f9d7d3ec9
media/DEFI.pdf,1622418444068,44e548f227c3c1be1649eb15dc324bf236ac9e235633dfaa5b75010024149fc3
media/Wibson_por_que_la_privacidad_importa_y_como_controlar_tus_datos-Rodrigo_Irarrazaval_Wibson.pdf,1622418444297,13622e066dfc00e9f4a04317b722d1ef6bf78a45d85e51306e8a537b6b9596bd
static/media/stats.d9db4c81.png,1622418455932,52d27e517269e6216720400b61bae79033c900ca878874d5a84091ebcb2b24f7
media/Upgrades_in_an_immutable_world__An_introduction_to_ZeppelinOS_-_Juan_Bautista_Carpanelli_2.pptx,1622418444274,35ff8905ce5b3ca2acf14d7744314d9236650a8ee6771551eb2d50f986d5dd19
media/Aragon_Chain.pdf,1622418443986,917c34b73f50b9a3f83b2a3a8001652b8261e2eba78a20795b0e380075553c3d
media/CTF-ETHBA26.pdf,1622418444045,9bcdcbae5285fa503f9db0fee24329c1018c23954c48ad294781cd62aded143f
media/Reward_Marketplace_presentation.pptx,1622418444211,8cb45298f0e792391091432dd2700822d97caf4e2b4c5a84bf491d26be2d4b7e
media/Reward_Marketplace_presentation_t2p05z4.pptx,1622418444244,8cb45298f0e792391091432dd2700822d97caf4e2b4c5a84bf491d26be2d4b7e
media/Aragon_Court_1.pdf,1622418444015,3af4218c85173251dba36f246a29346504364e1ffe27fc49d5b743f0b3d7eb87
media/Decentraland_A_metaverse_powered_by_smart_contracts_and_community_consensus.pptx,1622418444148,9715a2f1f85fbaccb44cfbcb5bbe209310df47bd70c2f0afc9544597f2c50ad0
5 changes: 5 additions & 0 deletions frontend/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "prod-ethba-static"
}
}
2 changes: 2 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ yarn-error.log*

# history
.history

/public/media
16 changes: 16 additions & 0 deletions frontend/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
5 changes: 0 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@
"start:server": "node server",
"start:production": "npm run build && npm run start:server"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/**/*.+(js)": [
"eslint --fix",
Expand Down
60 changes: 53 additions & 7 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<!DOCTYPE html>
<html lang="en">

<head>
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
Expand Down Expand Up @@ -57,7 +54,55 @@
gtag('config', 'UA-164057062-1');
</script>

</head>


<!-- HTML Meta Tags -->
<title>ETH Buenos Aires</title>
<meta name="description" content="Ethereum Buenos Aires is a forum for developers, entrepreneurs, and enthusiasts to learn about and develop for Ethereum">

<!-- Google / Search Engine Tags -->
<meta itemprop="name" content="ETH Buenos Aires">
<meta itemprop="description" content="Ethereum Buenos Aires is a forum for developers, entrepreneurs, and enthusiasts to learn about and develop for Ethereum">
<meta itemprop="image" content="http://i.ibb.co/09k6BV6/main-Background.png">

<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://ethereumba.com">
<meta property="og:type" content="website">
<meta property="og:title" content="ETH Buenos Aires">
<meta property="og:description" content="Ethereum Buenos Aires is a forum for developers, entrepreneurs, and enthusiasts to learn about and develop for Ethereum">
<meta property="og:image" content="https://i.ibb.co/09k6BV6/main-Background.png">

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://ethereumba.com">
<meta name="twitter:title" content="ETH Buenos Aires">
<meta name="twitter:description" content="Ethereum Buenos Aires is a forum for developers, entrepreneurs, and enthusiasts to learn about and develop for Ethereum">
<meta name="twitter:image" content="https://i.ibb.co/09k6BV6/main-Background.png">


<!-- HTML Meta Tags -->
<title>ETH Buenos Aires</title>
<meta name="description" content="Ethereum Buenos Aires is a forum for developers, entrepreneurs, and enthusiasts to learn about and develop for Ethereum">

<!-- Google / Search Engine Tags -->
<meta itemprop="name" content="ETH Buenos Aires">
<meta itemprop="description" content="Ethereum Buenos Aires is a forum for developers, entrepreneurs, and enthusiasts to learn about and develop for Ethereum">
<meta itemprop="image" content="http://i.ibb.co/09k6BV6/main-Background.png">

<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://ethereumba.com">
<meta property="og:type" content="website">
<meta property="og:title" content="ETH Buenos Aires">
<meta property="og:description" content="Ethereum Buenos Aires is a forum for developers, entrepreneurs, and enthusiasts to learn about and develop for Ethereum">
<meta property="og:image" content="https://i.ibb.co/09k6BV6/main-Background.png">

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://ethereumba.com">
<meta name="twitter:title" content="ETH Buenos Aires">
<meta name="twitter:description" content="Ethereum Buenos Aires is a forum for developers, entrepreneurs, and enthusiasts to learn about and develop for Ethereum">
<meta name="twitter:image" content="https://i.ibb.co/09k6BV6/main-Background.png">
</head>

<body>
<noscript>
Expand All @@ -76,6 +121,7 @@
-->


</body>

</html>


</body></html>
10 changes: 5 additions & 5 deletions frontend/src/components/common/background/Background.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { Component } from 'react'
import './background.scss'
import React from 'react';
import './background.scss';

const Background = props => {
return <div className="background">{props.children}</div>
}
return <div className="background">{props.children}</div>;
};

export default Background
export default Background;
2 changes: 1 addition & 1 deletion frontend/src/components/common/banner/Banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Banner = ({ background, text, lightTheme, positionTop, history }) => {

return (
<div className={`banner ${positionTop ? 'top' : ''}`}>
<img src={background} />
<img src={background} alt="background" />

<div className={`banner__text ${lightTheme ? 'lightTheme' : ''}`}>
<h4>{text}</h4>
Expand Down
26 changes: 13 additions & 13 deletions frontend/src/components/common/button/Button.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
import React from 'react'
import PropTypes from 'prop-types'
import { Link } from 'react-router-dom'
import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';

import './button.scss'
import './button.scss';

const Button = ({ title, url, anchor, button, onClick }) => {
if (button)
return (
<button onClick={onClick} className='custom-button secondary-button'>
<button onClick={onClick} className="custom-button secondary-button">
{title}
</button>
)
);
return anchor ? (
<a className='custom-button' href={url} target='_blank'>
<a className="custom-button" href={url} target="_blank" rel="noopener noreferrer">
{title}
</a>
) : (
<Link className='custom-button' to={url}>
<Link className="custom-button" to={url}>
{title}
</Link>
)
}
);
};

Button.propTypes = {
title: PropTypes.string.isRequired,
url: PropTypes.string,
anchor: PropTypes.bool,
button: PropTypes.bool,
onClick: PropTypes.func,
}
};

Button.defaultProps = {
url: '',
anchor: false,
button: false,
onClick: () => {},
}
};

export default Button
export default Button;
4 changes: 1 addition & 3 deletions frontend/src/components/common/eventCard/EventCard.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Grid } from '@material-ui/core';

import EventDate from '../eventDetails/EventDate';
import './eventCard.scss';

const EventCard = ({ handleClick, id, date, title, hasPassed, url }) => (
const EventCard = ({ handleClick, date, title, hasPassed }) => (
<div className="card-home" onClick={handleClick}>
<a className="card card-shadow">
<div className="card-container">
<EventDate date={date} hasPassed={hasPassed} />

<div className={`title-card ${hasPassed ? 'past' : ''}`} variant="h5" component="h2">
<p>{title}</p>
</div>
Expand Down
24 changes: 12 additions & 12 deletions frontend/src/components/common/eventDetails/EventAddress.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import React from 'react'
import PropTypes from 'prop-types'
import React from 'react';
import PropTypes from 'prop-types';

import Address from '../../../assets/icons/events/icon-address.svg'
import AddressLight from '../../../assets/icons/events/icon-address-light.svg'
import './eventDetails.scss'
import Address from '../../../assets/icons/events/icon-address.svg';
import AddressLight from '../../../assets/icons/events/icon-address-light.svg';
import './eventDetails.scss';

import { getFormattedAddress } from '../../../lib/helpers'
import { getFormattedAddress } from '../../../lib/helpers';

const EventAddress = ({ hasPassed, address }) => (
<div className='event-address event-detail'>
<img src={hasPassed ? AddressLight : Address} />
<div className="event-address event-detail">
<img src={hasPassed ? AddressLight : Address} alt="address" />
<span>{getFormattedAddress(address)}</span>
</div>
)
);

EventAddress.propTypes = {
hasPassed: PropTypes.bool,
address: PropTypes.string.isRequired,
}
};

EventAddress.defaultProps = {
hasPassed: false,
}
};

export default EventAddress
export default EventAddress;
20 changes: 10 additions & 10 deletions frontend/src/components/common/eventDetails/EventDate.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
import React from 'react'
import PropTypes from 'prop-types'
import React from 'react';
import PropTypes from 'prop-types';

import Calendar from '../../../assets/icons/events/icon-calendar.svg'
import CalendarLight from '../../../assets/icons/events/icon-calendar-light.svg'
import './eventDetails.scss'
import Calendar from '../../../assets/icons/events/icon-calendar.svg';
import CalendarLight from '../../../assets/icons/events/icon-calendar-light.svg';
import './eventDetails.scss';

const EventDate = ({ hasPassed, date }) => (
<div className={`event-date event-detail ${hasPassed ? 'past' : ''}`}>
<img src={hasPassed ? CalendarLight : Calendar} />
<img src={hasPassed ? CalendarLight : Calendar} alt="calendar" />
<span>{date}</span>
</div>
)
);

EventDate.propTypes = {
hasPassed: PropTypes.bool,
date: PropTypes.string.isRequired,
}
};

EventDate.defaultProps = {
hasPassed: false,
}
};

export default EventDate
export default EventDate;
Loading

0 comments on commit dbd76c0

Please sign in to comment.