diff --git a/config/web.py b/config/web.py index 2ec73b7..41ad187 100644 --- a/config/web.py +++ b/config/web.py @@ -753,3 +753,36 @@ def lookup_lang_name(lang_code): }, ] + +ADDONS=[] + + +""" +Ejemplo de addons para cuando se pueda dar de alta + + +ADDONS=[ + { + "title":{ + "en":"Breakfast", + "es":"Desayuno" + }, + "image":"/theme/assets/images/sponsors/addons-images/coffe.svg", + "description": + { + "en":"The breakfast it's the most important meal of the day!, charge your batteries, this space is sponsored by:", + "es":"El desayuno es la comida mas importante del día!, Carga tus baterías, este espacio está patrocinado por:" + }, + "sponsors":[ + { + "logo": "/theme/assets/images/sponsors/logo_kaleidos.png", + "url": "https://kaleidos.net", + } + + ] + + + } + +] +""" \ No newline at end of file diff --git a/theme/pycones23/static/assets/css/main.css b/theme/pycones23/static/assets/css/main.css index f48b25b..0679ecc 100644 --- a/theme/pycones23/static/assets/css/main.css +++ b/theme/pycones23/static/assets/css/main.css @@ -1247,6 +1247,60 @@ details p { font-size: large; } + + +.agotado { + background-color: gray !important; +} + + +/*ADDONS*/ + +.addon-sponsors { + display: flex; + flex-wrap: wrap; +} + +.addon-sponsors .card{ + width: 100px; +} + +.addon-image img{ + display: block; + margin-left: auto; + margin-right: auto; + width: 50%; +} + +.addons-content{ + border: 1px var(--purple-dark) solid; + width: 33%; + margin-bottom: 2%; + margin-left: 2%; + +} + +.addons-title{ + border: 1px var(--purple-dark) solid; + background-color: var(--purple-dark); + color:white; + margin-left: 1em; + padding: 0.2em 0.8em +} + +.addon-text{ + padding-top: 20px; +} + +.addon-wrapper{ + display: flex; + flex-wrap: wrap; +} + + + + + @media(max-width: 1200px) { .keynoter { @@ -1291,7 +1345,11 @@ details p { .social>a { font-size: large; } + .addons-content{ + width: 50%; + + } } @@ -1317,8 +1375,10 @@ details p { margin-top: 20%; } -} + .addons-content{ -.agotado { - background-color: gray !important; + width: 100%; + + } } + diff --git a/theme/pycones23/static/assets/images/sponsors/addons-images/coffe.svg b/theme/pycones23/static/assets/images/sponsors/addons-images/coffe.svg new file mode 100644 index 0000000..99e316a --- /dev/null +++ b/theme/pycones23/static/assets/images/sponsors/addons-images/coffe.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/theme/pycones23/templates/index.html b/theme/pycones23/templates/index.html index 9d66390..dd0a321 100644 --- a/theme/pycones23/templates/index.html +++ b/theme/pycones23/templates/index.html @@ -143,6 +143,41 @@