diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..2d4bad7f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Edgeryders + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 4c003f79..7509f2b2 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,241 @@ Styling uses Tailwind utilities, [read more here](https://tailwindcss.com/docs/a - Edgeryders - Terms +## Configuring Components + +All components are configured in @/data/config.json with the following properties: + +``` +{ + "type": "", // [string, required] + "title": "", // [string, optional] + "id": "", // [string, optional], enables scroll to and includes link in the nav component with the "title" as the link text +} +``` + +### Hero + +Displays a hero banner at the top of the site. + +``` +{ + "type": "hero" // [string, required] + "background": { + "color": "" // [string, required], ex: '#00000' or 'blue' + }, + "text": { + "content": "", // [string, optional], hero text + "align": "", // [string, optional], aligns text "left" or "right" of main image + "buttons": // [array, optional], displays action buttons included below main text + [ + { + "text": "", // [string, required], button text + "url": "", // [string, optional], button url + "background": "" // [string, optional], ex: '#00000' or 'blue' + } + ] + }, + "image": { + "url": "", // [string, require], url of image src + "width": 450 // [integer, optional], sets max_width of image + } +} +``` + +### Custom + +Displays text alongside an optional image or video + +``` +{ + "type": "custom" // [string, required] + "image": { + "url": "", // [string, required], url of image src + "width": 420 // [integer, optional], sets max_width of image + }, + "video": { + "src": "", // [string, required], url of the video + "poster": "", // [string, optional], url of image for video poster + }, + "text": { + "content": "", // [string, optional], main text content + "position": "left", // [string, optional], positions text "left" or "right" in relation to image or video + "buttons": [{ + "text": "", // [string, required], button text + "url": "", // [string, required], button url + "background": "" [string, optional], background color of button in CSS, ex: '#00000' or 'blue' + }] + } +} +``` + +### Topics + +Displays topics either as a slideshow or scrollable row of cards + +``` +{ + "type": "topics", // [string, required] + "view": "", // [string, required], "featured" displays topics as slideshow, "cards" displays topics in row of cards + "tag": "", // [string, required], the tag of topics to display from the platform + "sort_by": { + "property": "", // [string, required], the property ["title", "created_at"] to sort topics by + "order": "ascending" // [string, required], the order ["ascending", "descending"] to sort topics by + }, + "display": ["title", "author", "date"] // [array, optional], determines whether to display author, date and title of topic + "image": { + "url": "" // [string, optional] + }, + "video": { + "src": "", // [string, optional], src url of video + "poster": "" // [string, optional], url of image for video poster + }, + "text": { + "content": "", // [string, optional] + "position": ""// [string, optional], position content "left" or "right" of video or image + } +} +``` + +### Events + +Displays topics in a calendar view. Topics from discourse must include an ```event``` property. + +``` +{ + "tag": "", // [string, required] tag of topics on platform to be included as events + "types": { + "event_type": "", [string, optional], color of event_type ex: '#00000' or 'blue' + } +} +``` + +### Users + +Displays Discourse users from a specific category + +``` +{ + "type": "users", // required + "category": "campfire", // [string, required] category slug from which to display users from the platform + "only_bios": true // [boolean, optional] display only users with a bio on the platform +} +``` + +### People + +Displays topics in the format of the 'Users' component for people with no Discourse account + +``` +{ + "tag": "" // [string, required] tag of topics on platform to be included as a bio +} +``` + +### Partners + +Displays a slider of partners with logos and dates + +``` +{ + "type": "partners", + "display": { + "slides": 3 // [integer, required] number of slides to display in rotation + }, + "content": [ + { + "title": "", // [string] name of publication/partner + "date": "", // [string] date of quote + "url": "", // [string] url of partner/publication + "logo": "", // [string] image to be displayed in the slide + "excerpt": "" // [string] text to be displayed in the slide + } + ] +} +``` + +### Edgeryders + +Displays the Edgeryders about section + +``` +{ + "type": "edgeryders", // [string, required] + "title": "" // [string, optional] +} +``` + +### Form + +Displays a form for signing up and/or posting to the platform + +``` +{ + "type": "form", // [string, required] + "content": "", // [string, optional] + "settings": { + "createTopic": false // [boolean, required] determines if a topic is posted to platform on signup + }, + "slideDefaults": { + "title": "Q{{index}}", // [string, required] + "backText": "", // [string, required] back button text + "nextText": "", // [string, required] next button text + "backTitle": "", // [string, required] title to go back + "nextTitle": "", // [string, required] title to continue + "fields": [ + { + "name": "message", // [string, required] input field to enter text + "type": "textarea", // [string, required] input type + "placeholder": "write here...", // [string, optional] input placeholder text + "required": true, // [boolean, required] determines if input text is required to continue + "autofocus": true, // [boolean, required] determines if input is focused on by default + "error": "Please write a response!" // [string, required] determines error text + } + ], + "diagram": {}, + "settings": { "omitFields": true } + }, + "slides": [ + { + "index": 1, // [integer, required] slide index number determines order + "title": "", // [string, required] + "nextTitle": "SIGN UP", // [string, required] title of next slide + "body": "", // [string, optional] body text of slide + "fields": [{ + "name": "", // [string, required] field name + "type": "text", // [string, required] field type + "placeholder": "", // [string, optional] input placeholder text + "half": true, // [boolean, optional] + "required": true, // [boolean, required] + "autofocus": false, // [boolean, required] + "error": "" // [string, optional] + }, + { + "nextText": "SEND", // [string, optional] final submit button + "submit": true, // [boolean, required] submits the form + "settings": { + "omitBody": true + } + ], + "errorMessages": { + "networkError": "", [string, optional] // error message if network is down + "username": "", // [string, optional] error message if username is already taken + "email": "", // [string, optional] error message if email is already taken + "default": "" // [string, optional] defauolt error message + } +} +``` + +### Terms + +Displays Edgeryders terms and conditions. + +``` +{ + "type": "terms" // [string, required] +} +``` + ## Project setup ``` diff --git a/data/config.json b/data/config.json new file mode 100644 index 00000000..3b7775b2 --- /dev/null +++ b/data/config.json @@ -0,0 +1,468 @@ +{ + "category": 237, + "baseUrl": "https://edgeryders.eu", + "style": { + "title": { + "width": ["90%", "75%"], + "align": ["center", "left"], + "size": ["text-2xl", "text-3xl"] + }, + "container": { + "padding": ["0"] + }, + "wrapper": { + "width": ["90%", "75%"], + "padding": ["15px 15px 0", "10px 0 0"] + } + }, + "sections": [ + { + "type": "hero", + "summit": "true", + "background": { + "url": "img/summit%20hero%20image.jpg", + "color": "linear-gradient(63.1deg,#009c8e 9.02%,#ffdb6a 90.81%)" + }, + "title": "Next Generation Internet
Policy Summit", + "text": { + "content": "

Register your interest now for the NGI Policy Summit 2020, hosted by the City of Amsterdam and the European Commission’s Next Generation Internet (NGI) initiative.


28 - 29 September - Main conference
30 September - Fringe Day


Online and at Het Sieraad, Amsterdam

Free of charge

", + "align": "left", + "buttons": [ + { + "text": "Register interest", + "url": "https://www.surveygizmo.com/s3/5366792/NGI-Policy-Summit-2020-Register", + "background": "rgb(255, 219, 106)", + "color": "#333" + } + ] + }, + "image": { + "url": "", + "width": 0 + } + }, + { + "type": "custom", + "title": "About the Summit", + "id": "about", + "style": { + "container": { + "padding": ["0"] + }, + "wrapper": { + "padding": ["0px 15px 0", "10px 0 0"] + } + }, + "image": { + "url": "", + "width": 420 + }, + "video": { + "src": "", + "poster": "" + }, + "text": { + "content": "

From 28 to 30 September, the NGI Policy Summit will bring together Europe’s leading policymakers and changemakers to set out an ambitious European vision for the future internet and explore the policy interventions and technical solutions that can help get us there. The Summit is aimed at local, national and international policymakers but we also welcome researchers, innovators and civil society organisations who can share practical ideas for a more human-centric internet. Register your interest now to join us online or live in Amsterdam.

", + "position": "left", + "buttons": [] + } + }, + { + "type": "custom", + "title": "Worried about planning ahead?", + "style": { + "title": { + "width": ["90%", "75%"], + "align": ["center", "left"], + "background": ["yellow", "turquoise"], + "size": ["text-2xl", "text-3xl"] + }, + "container": { + "background": ["green", "orange"], + "padding": ["30px 0 0", "0"] + }, + "wrapper": { + "width": ["90%", "75%"], + "background": ["purple", "green"], + "padding": ["15px 15px 0", "10px 0 0"] + } + }, + "image": { + "url": "" + }, + "video": { + "src": "", + "poster": "" + }, + "text": { + "content": "

We are closely following official guidance on the public health situation and encourage our prospective attendees to do the same before making travel arrangements. The Summit is designed as an innovative hybrid online event, meaning that you can join us either in-person or remotely - we will ask you to confirm your status a few weeks ahead of time.

", + "position": "left" + } + }, + { + "type": "partners", + "title": "Organised by", + "style": { + "title": { + "width": ["90%", "75%"], + "align": ["center", "left"], + "background": ["yellow", "turquoise"], + "size": ["text-2xl", "text-3xl"] + } + }, + "id": "", + "display": { + "slides": 3 + }, + "content": [ + { + "title": "City of Amsterdam", + "outlet": "City of Amsterdam", + "url": "https://www.amsterdam.nl/en/", + "logo": "city_of_amsterdam.png" + }, + { + "title": "Nesta", + "outlet": "Nesta", + "url": " https://www.nesta.org.uk/", + "logo": "nesta.png" + }, + { + "title": "European Commission", + "outlet": "European Commission", + "url": "https://ec.europa.eu/info/departments/communications-networks-content-and-technology_en", + "logo": "eucom.png" + } + ] + }, + { + "type": "custom", + "title": "", + "image": { + "url": "" + }, + "video": { + "src": "", + "poster": "" + }, + "text": { + "content": "

The NGI Policy Summit is organised by Nesta and the City of Amsterdam, in collaboration with the European Commission. It forms part of the Next Generation Internet (NGI) programme, the Commission's flagship initiative to build a more democratic inclusive and resilient future internet. You can learn more about the NGI here and follow our policy and strategy work at the NGI Policy Lab.

", + "position": "left" + } + }, + { + "type": "people", + "title": "Speakers", + "id": "speakers", + "style": { + "container": { + "background": ["#fafafa"] + } + }, + "profiles": [ + { + "id": 1, + "name": "Anna-Sophie Harling", + "excerpt": "Anna-Sophie Harling is Managing Director for Europe at NewsGuard, based in London and New York. Prior to joining NewsGuard, Harling worked as Business Development Manager for a technology company in London and at an international law firm in Germany. She has previously worked at two German newspapers, Der Tagesspiegel and the Märkische Allgemeine. Harling graduated from Yale University, where she was a Yale Journalism Scholar.", + "image": "img/speakers/cropped/Anna_Sophie_Harling.png", + "url": "#" + }, + { + "id": 2, + "name": "Axel Voss", + "excerpt": "Axel Voss has been a Member of the European Parliament since 2009. In his capacity as coordinator in the Committee on Legal Affairs, he focuses on digital policy, including data protection and artificial intelligence.", + "image": "img/speakers/cropped/Axel_Voss.jpg", + "url": "#" + }, + { + "id": 3, + "name": "Harry Armstrong", + "excerpt": "", + "image": "img/speakers/cropped/Harry_Armstrong.jpg", + "url": "#" + }, + { + "id": 4, + "name": "Ingrid Schneider", + "excerpt": "Ingrid Schneider is Professor of Political Science in the Center for Ethics in Information Technology in the Department of Informatics at the University of Hamburg. Her research fields are technology assessment, governance, law, economy, and ethics of information technology on which she published numerous publications. From 1996, she has advised several European Parliaments and the European Commission, and is Board Member of various European Scientific Associations and Research Projects. Current research projects are PRODIGEES - Promoting Research on Digitalisation in Emerging Powers and Europe Towards Sustainable Development (2020-2024, EU funded) and “Governance of and by Algorithms” (2019-2021, BMBF funded).", + "image": "img/speakers/cropped/Ingrid_Schneider.png", + "url": "#" + }, + { + "id": 5, + "name": "Jack Hardinges", + "excerpt": "Jack is Programme Lead for Data Institutions at the Open Data Institute. He is responsible for the strategic direction of the ODI's work to explore different approaches to data stewardship, such as through data trusts, and leading the delivery of related projects. Jack joined the ODI in July 2014 and has delivered research and advisory projects with startup, multinational corporate and government clients.", + "image": "img/speakers/cropped/Jack_Hardinges.jpg", + "url": "#" + }, + { + "id": 6, + "name": "Katja Bego", + "excerpt": "", + "image": "img/speakers/cropped/Katja_Bego.jpg", + "url": "#" + }, + { + "id": 7, + "name": "Marco Zappalorto", + "excerpt": "Marco is the Chief Executive of Nesta Italia and Director of the Social Innovation Design BA at IAAD University. Marco joined Nesta in 2011 and before setting up Nesta Italia he was Head of European Development and he contributed to the set-up of Challenge Prize Centre, and led most of the Centre’s European and international work.", + "image": "img/speakers/cropped/Marco_Zappalorto.jpg", + "url": "#" + }, + { + "id": 8, + "name": "Martin Brynskov", + "excerpt": "Martin is Associate Professor in Interaction Technologies at Aarhus University and Chair of Open and Agile Smart Cities.", + "image": "img/speakers/cropped/Martin_Brynskov.jpg", + "url": "#" + }, + { + "id": 9, + "name": "Paul Keller", + "excerpt": "", + "image": "img/speakers/cropped/Paul_Keller.jpg", + "url": "#" + }, + { + "id": 10, + "name": "Peter Bihr", + "excerpt": "Peter explores how emerging technologies can have a positive social impact. At the core of his work is the mission to align emerging technologies and citizen empowerment.", + "image": "img/speakers/cropped/Peter_Bihr.jpg", + "url": "#" + }, + { + "id": 11, + "name": "Silva Arapi", + "excerpt": "Digital Rights Advocate and free software enthusiast for more than 5 years. Board Member at Open Labs Albania.", + "image": "img/speakers/cropped/Silva_Arapi.jpg", + "url": "#" + }, + { + "id": 12, + "name": "Suzanne Dumouchel", + "excerpt": "Suzanne is responsible for partnerships and strategy. She holds a PhD in French Literature. Research Engineer at Huma-Num, CNRS, she coordinates the TRIPLE project (H2020). Suzanne is deeply involved in the Open Science movement, especially in the SSH perspective.", + "image": "img/speakers/cropped/Suzanne_Dumouchel.jpg", + "url": "#" + }, + { + "id": 13, + "name": "Sylvie Delacroix", + "excerpt": "Professor Delacroix focuses on the intersection between law and ethics, with a particular interest in data and machine Ethics. Her current research focuses on the design of computer systems meant for morally-loaded contexts. She is also considering the potential inherent in ‘bottom-up’ Data Trusts as a mechanism to address power imbalances between data-subjects and data-controllers. Professor Delacroix has recently served on the Public Policy Commission on the use of algorithms in the justice system (Law Society of England and Wales). She is also a Fellow of the Alan Turing Institute and a Mozilla Fellow (from 01/04/2020).", + "image": "img/speakers/cropped/Sylvie_Delacroix.jpeg", + "url": "#" + }, + { + "id": 14, + "name": "Geert-Jan Bogaerts", + "excerpt": "Geert-Jan is Initiator of PublicSpaces Foundation and Head of Innovation and Digital Media at VPRO. He trained as a political scientist, was raised as a reporter, foreign correspondent and editor at de Volkskrant, and is currently mainly trying to join forces with those who want to make the Internet a safer, more ethical place.", + "image": "img/speakers/cropped/Geert_Jan_Bogaerts.jpg", + "url": "#" + } + ], + "views": ["custom_ngi_people"], + "tag": "webcontent-ngi-summit-2020-bio", + "tagHeadliners": "webcontent-ngi-summit-2020-bio", + "tagOthers": "webcontent-ngi-summit-2020-bio-small" + }, + { + "type": "topics", + "title": "Topics", + "style": { + "title": { + "width": ["90%", "75%"], + "align": ["center", "left"], + "background": ["#fff"], + "size": ["text-4xl", "text-3xl"] + }, + "container": { + "padding": ["30px 0 0", "30px 0 0 0"] + }, + "wrapper": { + "width": ["90%", "75%"], + "background": ["#efefef", "#fff"], + "padding": ["15px 15px 0", "10px 0 0"] + } + }, + "id": "topics", + "view": "cards", + "tag": "webcontent-ngi-summit-2020-topics", + "text": { + "content": "

The NGI Policy Summit will explore visions for the future internet, as well as ways to empower policymakers and strengthen innovation ecosystems across five topics:

", + "position": "left" + }, + "sort_by": { + "property": "title", + "order": "ascending" + }, + "display": ["title"] + }, + { + "type": "events", + "title": "Programme", + "style": { + "title": { + "size": ["text-2xl", "text-4xl"], + "padding": ["0 0 10px"], + "width": ["100%", "75%"], + "align": ["center", "left"] + }, + "container": { + "padding": ["30px 20px 30px", "30px 0"] + }, + "wrapper": { + "width": ["90%", "90%"] + } + }, + "id": "programme", + "tag": "event-ngi-summit-2020", + "filters": { + "team": "blue", + "outreach": "green", + "community": "orangered" + } + }, + { + "type": "topics", + "title": "Stories from the community", + "id": "stories", + "view": "featured", + "tag": "ngi-summit-stories", + "style": { + "title": { + "size": ["text-2xl", "text-3xl"], + "padding": ["0 0 10px"], + "width": ["100%", "75%"], + "align": ["center", "left"] + }, + "container": { + "background": ["#fafafa"], + "padding": ["20px 30px 0", "20px 0 0"] + }, + "wrapper": { + "width": ["75%", "90%"] + } + }, + "sort_by": { + "property": "title", + "order": "ascending" + }, + "display": ["title"], + "image": { + "url": "" + }, + "video": { + "src": "", + "poster": "" + } + }, + { + "type": "form", + "title": "Join the discussion", + "id": "community", + "style": { + "title": { + "width": ["100%", "75%"], + "align": ["center", "left"] + }, + "container": { + "background": ["#fff"], + "padding": ["20px 30px 0", "0"] + }, + "wrapper": { + "padding": ["0"] + } + }, + "content": "

What does it mean to build the Next Generation Internet? How should it be governed? What is Europe missing? Join the conversation ahead of the Summit and get to know the other participants on our exchange platform.

Sign up to create an account for the NGI exchange platform, hosted by Edgeryders. Registering for the platform is optional and separate from your registration for the event.

", + "slideDefaults": { + "title": "Q{{index}}", + "backText": "BACK", + "nextText": "NEXT", + "backTitle": "Go back", + "nextTitle": "Continue", + "fields": [ + { + "name": "message", + "type": "textarea", + "placeholder": "write here...", + "required": true, + "autofocus": true, + "error": "Please write a response!" + } + ], + "diagram": {}, + "settings": { "omitFields": true } + }, + "slides": [ + { + "index": 1, + "title": "", + "nextTitle": "SIGN UP", + "body": "Use this form to sign up for the NGI exchange platform.", + "fields": [ + { + "name": "name", + "type": "text", + "placeholder": "Name/nickname", + "half": false, + "required": true, + "autofocus": false, + "error": "Please enter your name" + }, + { + "name": "email", + "type": "email", + "placeholder": "E-mail", + "required": true, + "error": "Please enter your email address", + "settings": { "omit": true } + }, + { + "name": "consent", + "type": "checkbox", + "placeholder": "I consent to the terms and conditions", + "required": true, + "error": "Please consent to the terms and conditions", + "settings": { "omit": true } + } + ], + "nextText": "SEND", + "submit": true, + "settings": { "omitBody": true } + }, + { + "title": "Well done!", + "body": "Thank you for taking the time to create an account on Edgeryders!", + "fields": [] + } + ], + "errorMessages": { + "networkError": "Sorry, we were unable to store your response due to a network connectivity issue. Please try clicking on \"Send\" again.", + "username": "It seems somebody has already chosen your preferred username / nickname. Please enter a different one and click again on \"Send\".", + "email": "It seems you already have an account on our forum using this e-mail address, or have entered an invalid address. Please choose a different e-mail address and click again on \"Send\".", + "default": "Sorry, we were unable to store your response due to an unknown error. Please try clicking on \"Send\" again." + } + }, + { + "type": "custom", + "title": "Contact Us", + "id": "contact us", + "style": { + "wrapper": { + "padding": ["0 20px 30px", "0 0 30px"] + } + }, + "image": { + "url": "", + "width": 0 + }, + "video": { + "src": "", + "poster": "" + }, + "text": { + "content": "

For questions or feedback, you can get in touch with us here.

", + "position": "left" + } + } + ] +} diff --git a/package-lock.json b/package-lock.json index d5c04e90..144563c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1764,9 +1764,9 @@ } }, "acorn": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", - "integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", + "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==", "dev": true }, "acorn-jsx": { @@ -12063,6 +12063,19 @@ "bezier-easing": "^2.0.3" } }, + "vue-scrollto": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/vue-scrollto/-/vue-scrollto-2.17.1.tgz", + "integrity": "sha512-uxOJXg6cZL88B+hTXRHDJMR+gHGiaS70ZTNk55fE5Z2TdwyIx9K/IHoNeTrtBrM6u3FASAIymKjZaQLmDf8Ykg==", + "requires": { + "bezier-easing": "2.1.0" + } + }, + "vue-select": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/vue-select/-/vue-select-3.9.0.tgz", + "integrity": "sha512-g78EBwdw3j12h/YGetXOgqmDQ1VhaQ66+2u3i3fRQojYci4sIt4xQgtpDkR7TzJrHxwhcr1Dm76StYbXlpVY3Q==" + }, "vue-style-loader": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz", diff --git a/package.json b/package.json index 4cd8ebd8..8abb3f17 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,8 @@ "vue-functional-calendar": "^2.7.4", "vue-mq": "^1.0.1", "vue-scrollactive": "^0.8.0", + "vue-scrollto": "^2.17.1", + "vue-select": "^3.9.0", "vue-swing": "0.0.10", "vue2-touch-events": "^2.1.0" }, diff --git a/postcss.config.js b/postcss.config.js index d4fb61bf..cd8622f8 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -32,8 +32,23 @@ module.exports = { "swiper-container-android", "swiper-slide", "swiper-wrapper", - "slide" + "slide", + "v-select", + "vs--searchable", + "vs1__combobox", + "vs__dropdown-toggle", + "vs__selected-options", + "vs__search", + "vs__actions", + "vs__clear", + "vs__open-indicator", + "vs__spinner", + "v-select", + "vs--single", + "vs--searchable", + "vs__dropdown-menu" ], + whitelistChildren: ["v-select", "v-select", " vs--single", "vs--searchable"], whitelistPatterns: [ /-(leave|enter|appear)(|-(to|from|active))$/, /^(?!cursor-move).+-move$/, diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png new file mode 100644 index 00000000..4a4bd427 Binary files /dev/null and b/public/android-chrome-192x192.png differ diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png new file mode 100644 index 00000000..4e6e3227 Binary files /dev/null and b/public/android-chrome-512x512.png differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 00000000..7f384f2d Binary files /dev/null and b/public/apple-touch-icon.png differ diff --git a/public/browserconfig.xml b/public/browserconfig.xml new file mode 100644 index 00000000..f9c2e67f --- /dev/null +++ b/public/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #2b5797 + + + diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 00000000..7a8bc699 Binary files /dev/null and b/public/favicon-16x16.png differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png new file mode 100644 index 00000000..c90be13c Binary files /dev/null and b/public/favicon-32x32.png differ diff --git a/public/favicon.ico b/public/favicon.ico index df36fcfb..0d2ce5d3 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/img/bandiera_stelle.png b/public/img/bandiera_stelle.png new file mode 100644 index 00000000..dfb05834 Binary files /dev/null and b/public/img/bandiera_stelle.png differ diff --git a/public/img/findingctrl.jpg b/public/img/findingctrl.jpg new file mode 100644 index 00000000..79e00b9b Binary files /dev/null and b/public/img/findingctrl.jpg differ diff --git a/public/img/logo-footer.svg b/public/img/logo-footer.svg new file mode 100644 index 00000000..e7344dd1 --- /dev/null +++ b/public/img/logo-footer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/logos/city_of_amsterdam.png b/public/img/logos/city_of_amsterdam.png new file mode 100644 index 00000000..757737b9 Binary files /dev/null and b/public/img/logos/city_of_amsterdam.png differ diff --git a/public/img/logos/eu-flag.png b/public/img/logos/eu-flag.png new file mode 100644 index 00000000..f78f8cc3 Binary files /dev/null and b/public/img/logos/eu-flag.png differ diff --git a/public/img/logos/eucom.png b/public/img/logos/eucom.png new file mode 100644 index 00000000..04440a71 Binary files /dev/null and b/public/img/logos/eucom.png differ diff --git a/public/img/logos/nesta.png b/public/img/logos/nesta.png new file mode 100644 index 00000000..ac003803 Binary files /dev/null and b/public/img/logos/nesta.png differ diff --git a/public/img/logos/ngiforward.svg b/public/img/logos/ngiforward.svg new file mode 100644 index 00000000..0783113d --- /dev/null +++ b/public/img/logos/ngiforward.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/ngiforward.svg b/public/img/ngiforward.svg new file mode 100644 index 00000000..ae45d4e2 --- /dev/null +++ b/public/img/ngiforward.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/speakers/Anna_Sophie_Harling.png b/public/img/speakers/Anna_Sophie_Harling.png new file mode 100644 index 00000000..d2810331 Binary files /dev/null and b/public/img/speakers/Anna_Sophie_Harling.png differ diff --git a/public/img/speakers/Axel_Voss.jpg b/public/img/speakers/Axel_Voss.jpg new file mode 100644 index 00000000..ae16ee1f Binary files /dev/null and b/public/img/speakers/Axel_Voss.jpg differ diff --git a/public/img/speakers/Geert-Jan_Bogaerts.jpg b/public/img/speakers/Geert-Jan_Bogaerts.jpg new file mode 100644 index 00000000..04c9ca17 Binary files /dev/null and b/public/img/speakers/Geert-Jan_Bogaerts.jpg differ diff --git a/public/img/speakers/Harry_Armstrong.jpg b/public/img/speakers/Harry_Armstrong.jpg new file mode 100644 index 00000000..4e164011 Binary files /dev/null and b/public/img/speakers/Harry_Armstrong.jpg differ diff --git a/public/img/speakers/Ingrid_Schneider.png b/public/img/speakers/Ingrid_Schneider.png new file mode 100644 index 00000000..feefb43c Binary files /dev/null and b/public/img/speakers/Ingrid_Schneider.png differ diff --git a/public/img/speakers/Jack_Hardinges.jpg b/public/img/speakers/Jack_Hardinges.jpg new file mode 100644 index 00000000..624ed7d7 Binary files /dev/null and b/public/img/speakers/Jack_Hardinges.jpg differ diff --git a/public/img/speakers/Katja_Bego.jpg b/public/img/speakers/Katja_Bego.jpg new file mode 100644 index 00000000..5bfabb84 Binary files /dev/null and b/public/img/speakers/Katja_Bego.jpg differ diff --git a/public/img/speakers/Marco_Zappalorto.jpg b/public/img/speakers/Marco_Zappalorto.jpg new file mode 100644 index 00000000..52199764 Binary files /dev/null and b/public/img/speakers/Marco_Zappalorto.jpg differ diff --git a/public/img/speakers/Marleen_Stikker.jpg b/public/img/speakers/Marleen_Stikker.jpg new file mode 100644 index 00000000..9cb86a3b Binary files /dev/null and b/public/img/speakers/Marleen_Stikker.jpg differ diff --git a/public/img/speakers/Martin_Brynskov.jpg b/public/img/speakers/Martin_Brynskov.jpg new file mode 100644 index 00000000..bf8abe99 Binary files /dev/null and b/public/img/speakers/Martin_Brynskov.jpg differ diff --git a/public/img/speakers/Niels_ten_Oever.png b/public/img/speakers/Niels_ten_Oever.png new file mode 100644 index 00000000..a059cfcf Binary files /dev/null and b/public/img/speakers/Niels_ten_Oever.png differ diff --git a/public/img/speakers/Olivier_Bringer.jpeg b/public/img/speakers/Olivier_Bringer.jpeg new file mode 100644 index 00000000..62f69cef Binary files /dev/null and b/public/img/speakers/Olivier_Bringer.jpeg differ diff --git a/public/img/speakers/Paul_Keller.jpeg b/public/img/speakers/Paul_Keller.jpeg new file mode 100644 index 00000000..ccfcae8c Binary files /dev/null and b/public/img/speakers/Paul_Keller.jpeg differ diff --git a/public/img/speakers/Pearse_O'Donohue.jpg b/public/img/speakers/Pearse_O'Donohue.jpg new file mode 100644 index 00000000..a70ec32a Binary files /dev/null and b/public/img/speakers/Pearse_O'Donohue.jpg differ diff --git a/public/img/speakers/Peter_Bihr.jpg b/public/img/speakers/Peter_Bihr.jpg new file mode 100644 index 00000000..06a3ecef Binary files /dev/null and b/public/img/speakers/Peter_Bihr.jpg differ diff --git a/public/img/speakers/Rasmus_Kleis_Nielsen.jpg b/public/img/speakers/Rasmus_Kleis_Nielsen.jpg new file mode 100644 index 00000000..935f4270 Binary files /dev/null and b/public/img/speakers/Rasmus_Kleis_Nielsen.jpg differ diff --git a/public/img/speakers/Rob_van_Kranenburg.jpg b/public/img/speakers/Rob_van_Kranenburg.jpg new file mode 100644 index 00000000..011b1e93 Binary files /dev/null and b/public/img/speakers/Rob_van_Kranenburg.jpg differ diff --git a/public/img/speakers/Silva_Arapi.jpg b/public/img/speakers/Silva_Arapi.jpg new file mode 100644 index 00000000..77cdb6c7 Binary files /dev/null and b/public/img/speakers/Silva_Arapi.jpg differ diff --git a/public/img/speakers/Suzanne_Dumouchel.jpg b/public/img/speakers/Suzanne_Dumouchel.jpg new file mode 100644 index 00000000..c9a645d3 Binary files /dev/null and b/public/img/speakers/Suzanne_Dumouchel.jpg differ diff --git a/public/img/speakers/Sylvie_Delacroix.jpeg b/public/img/speakers/Sylvie_Delacroix.jpeg new file mode 100644 index 00000000..dd606436 Binary files /dev/null and b/public/img/speakers/Sylvie_Delacroix.jpeg differ diff --git a/public/img/speakers/cropped/Anna_Sophie_Harling.png b/public/img/speakers/cropped/Anna_Sophie_Harling.png new file mode 100644 index 00000000..36a42ba1 Binary files /dev/null and b/public/img/speakers/cropped/Anna_Sophie_Harling.png differ diff --git a/public/img/speakers/cropped/Axel_Voss.jpg b/public/img/speakers/cropped/Axel_Voss.jpg new file mode 100644 index 00000000..a053867c Binary files /dev/null and b/public/img/speakers/cropped/Axel_Voss.jpg differ diff --git a/public/img/speakers/cropped/Geert_Jan_Bogaerts.jpg b/public/img/speakers/cropped/Geert_Jan_Bogaerts.jpg new file mode 100644 index 00000000..2f68e6de Binary files /dev/null and b/public/img/speakers/cropped/Geert_Jan_Bogaerts.jpg differ diff --git a/public/img/speakers/cropped/Harry_Armstrong.jpg b/public/img/speakers/cropped/Harry_Armstrong.jpg new file mode 100644 index 00000000..f0d767a8 Binary files /dev/null and b/public/img/speakers/cropped/Harry_Armstrong.jpg differ diff --git a/public/img/speakers/cropped/Jack_Hardinges.jpg b/public/img/speakers/cropped/Jack_Hardinges.jpg new file mode 100644 index 00000000..285df674 Binary files /dev/null and b/public/img/speakers/cropped/Jack_Hardinges.jpg differ diff --git a/public/img/speakers/cropped/Katja_Bego.jpg b/public/img/speakers/cropped/Katja_Bego.jpg new file mode 100644 index 00000000..b2e88a0b Binary files /dev/null and b/public/img/speakers/cropped/Katja_Bego.jpg differ diff --git a/public/img/speakers/cropped/Marco_Zappalorto.jpg b/public/img/speakers/cropped/Marco_Zappalorto.jpg new file mode 100644 index 00000000..b850a08a Binary files /dev/null and b/public/img/speakers/cropped/Marco_Zappalorto.jpg differ diff --git a/public/img/speakers/cropped/Marleen_Stikker.jpg b/public/img/speakers/cropped/Marleen_Stikker.jpg new file mode 100644 index 00000000..a39bc6de Binary files /dev/null and b/public/img/speakers/cropped/Marleen_Stikker.jpg differ diff --git a/public/img/speakers/cropped/Martin_Brynskov.jpg b/public/img/speakers/cropped/Martin_Brynskov.jpg new file mode 100644 index 00000000..aa0606cf Binary files /dev/null and b/public/img/speakers/cropped/Martin_Brynskov.jpg differ diff --git a/public/img/speakers/cropped/Niels_ten_Oever.png b/public/img/speakers/cropped/Niels_ten_Oever.png new file mode 100644 index 00000000..af14d884 Binary files /dev/null and b/public/img/speakers/cropped/Niels_ten_Oever.png differ diff --git a/public/img/speakers/cropped/Olivier_Bringer.jpeg b/public/img/speakers/cropped/Olivier_Bringer.jpeg new file mode 100644 index 00000000..1470e1ad Binary files /dev/null and b/public/img/speakers/cropped/Olivier_Bringer.jpeg differ diff --git a/public/img/speakers/cropped/Paul_Keller.jpeg b/public/img/speakers/cropped/Paul_Keller.jpeg new file mode 100644 index 00000000..bfb260d1 Binary files /dev/null and b/public/img/speakers/cropped/Paul_Keller.jpeg differ diff --git a/public/img/speakers/cropped/Pearse_O'Donohue.jpg b/public/img/speakers/cropped/Pearse_O'Donohue.jpg new file mode 100644 index 00000000..7930496d Binary files /dev/null and b/public/img/speakers/cropped/Pearse_O'Donohue.jpg differ diff --git a/public/img/speakers/cropped/Peter_Bihr.jpg b/public/img/speakers/cropped/Peter_Bihr.jpg new file mode 100644 index 00000000..43660721 Binary files /dev/null and b/public/img/speakers/cropped/Peter_Bihr.jpg differ diff --git a/public/img/speakers/cropped/Rasmus_Kleis_Nielsen.jpg b/public/img/speakers/cropped/Rasmus_Kleis_Nielsen.jpg new file mode 100644 index 00000000..11d2045d Binary files /dev/null and b/public/img/speakers/cropped/Rasmus_Kleis_Nielsen.jpg differ diff --git a/public/img/speakers/cropped/Rob_van_Kranenburg.jpg b/public/img/speakers/cropped/Rob_van_Kranenburg.jpg new file mode 100644 index 00000000..75dfa353 Binary files /dev/null and b/public/img/speakers/cropped/Rob_van_Kranenburg.jpg differ diff --git a/public/img/speakers/cropped/Silva_Arapi.jpg b/public/img/speakers/cropped/Silva_Arapi.jpg new file mode 100644 index 00000000..6a1df5d8 Binary files /dev/null and b/public/img/speakers/cropped/Silva_Arapi.jpg differ diff --git a/public/img/speakers/cropped/Suzanne_Dumouchel.jpg b/public/img/speakers/cropped/Suzanne_Dumouchel.jpg new file mode 100644 index 00000000..b3805e9a Binary files /dev/null and b/public/img/speakers/cropped/Suzanne_Dumouchel.jpg differ diff --git a/public/img/speakers/cropped/Sylvie_Delacroix.jpeg b/public/img/speakers/cropped/Sylvie_Delacroix.jpeg new file mode 100644 index 00000000..a17cb6c1 Binary files /dev/null and b/public/img/speakers/cropped/Sylvie_Delacroix.jpeg differ diff --git a/public/img/summit hero image.jpg b/public/img/summit hero image.jpg new file mode 100644 index 00000000..7be53057 Binary files /dev/null and b/public/img/summit hero image.jpg differ diff --git a/public/index.html b/public/index.html index 15756c51..18785449 100644 --- a/public/index.html +++ b/public/index.html @@ -4,12 +4,19 @@ - - edgeryders_webkit + + + + + + + + + NGI Policy Summit
diff --git a/public/mstile-150x150.png b/public/mstile-150x150.png new file mode 100644 index 00000000..e6b075db Binary files /dev/null and b/public/mstile-150x150.png differ diff --git a/public/safari-pinned-tab.svg b/public/safari-pinned-tab.svg new file mode 100644 index 00000000..3d9c440c --- /dev/null +++ b/public/safari-pinned-tab.svg @@ -0,0 +1,35 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 00000000..b20abb7c --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/src/App.vue b/src/App.vue index 92670f45..5764e5b0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,30 +1,33 @@ + + diff --git a/src/assets/components/events.scss b/src/assets/components/events.scss new file mode 100644 index 00000000..90b85168 --- /dev/null +++ b/src/assets/components/events.scss @@ -0,0 +1,307 @@ +@responsive { + .timeline .event { + @apply flex flex-col; + } + + .timeline .event-md { + @apply flex-row; + } + + .timeline .time { + @apply hidden pr-3 py-4 text-xs flex-col justify-center items-center; + width: 60px !important; + flex-shrink: 0; + } + + .timeline .time-md { + @apply flex; + } + + .timeline_container { + @apply flex mb-6; + max-width: 100%; + justify-content: flex-start; + align-items: flex-start; + } + + .timeline_container-md { + max-width: 65%; + min-width: 65%; + } + + .timeline .title { + @apply flex items-center border-b py-2; + p { + @apply m-0 + } + } + + .title.hide { + display: none + } + + .events_wrapper { + @apply flex flex-col; + flex-direction: column-reverse; + } + + .events_wrapper-md { + flex-direction: row; + } + + .events .section_title { + justify-content: space-between; + } + + .events .section_title h3 { + @apply mr-2; + } + + .events .section_title .options { + border-radius: 7px; + overflow: hidden; + } + + .events .section_title .icon { + width: 50px; + height: 45px; + border-right: 1px solid white; + background: #ddd; + } + + .events .section_title .icon.calendar { + background: url("data:image/svg+xml,%3Csvg width='20' height='17' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-rule='nonzero'%3E%3Cpath d='M16 17H4a4 4 0 01-4-4V4a4 4 0 014-4h11c.6 0 .6 2 0 2H4a2 2 0 00-2 2v9c0 1.1.9 2 2 2h12a2 2 0 002-2V4a2 2 0 00-2-2h-1c-.6 0-.6-2 0-2h1a4 4 0 014 4v9a4 4 0 01-4 4z'/%3E%3Cpath d='M19 8H1c-.6 0-1-.4-1-1s.4-1 1-1h18c.6 0 1 .4 1 1s-.4 1-1 1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center 50% #efefef; + background-size: 21px !important; + } + + .events .section_title .icon.search { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125'%3E%3Cpath d='M94.5 88.6L76.8 70.9A41.9 41.9 0 0087.5 43c0-23.1-18.8-41.9-41.9-41.9S3.7 19.9 3.7 43s18.8 41.9 41.9 41.9c8.2 0 15.8-2.4 22.2-6.4l18.4 18.4a5.83 5.83 0 008.2 0c2.4-2.3 2.4-6 .1-8.3zM15.4 43c0-16.6 13.5-30.2 30.2-30.2S75.7 26.4 75.7 43 62.2 73.2 45.6 73.2 15.4 59.7 15.4 43z'/%3E%3C/svg%3E") no-repeat center 63% #efefef; + background-size: 19px !important; + } + + .events .section_title .icon.filter { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 75'%3E%3Cpath stroke='black' stroke-width='3px' d='M54 10.5H6a1 1 0 00-1 1v8c0 .4.2.7.5.9L23.3 32v16.5a1 1 0 001.2 1l11.5-3c.4-.2.8-.6.8-1V32l17.7-11.6c.3-.2.5-.5.5-.9v-8c0-.5-.4-1-1-1zM53 19L35.2 30.6a1 1 0 00-.5.8v13.3l-9.5 2.5V31.4a1 1 0 00-.4-.8L7 19v-6.5h46V19z'/%3E%3C/svg%3E") no-repeat center 70% #efefef; + background-size: 24px !important; + } + + .events .section_title .icon.search.active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125'%3E%3Cpath fill='white' d='M94.5 88.6L76.8 70.9A41.9 41.9 0 0087.5 43c0-23.1-18.8-41.9-41.9-41.9S3.7 19.9 3.7 43s18.8 41.9 41.9 41.9c8.2 0 15.8-2.4 22.2-6.4l18.4 18.4a5.83 5.83 0 008.2 0c2.4-2.3 2.4-6 .1-8.3zM15.4 43c0-16.6 13.5-30.2 30.2-30.2S75.7 26.4 75.7 43 62.2 73.2 45.6 73.2 15.4 59.7 15.4 43z'/%3E%3C/svg%3E") no-repeat center 63% #000; + } + + + .events .section_title .icon.filter.active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 75'%3E%3Cpath stroke='white' stroke-width='3px' fill='white' d='M54 10.5H6a1 1 0 00-1 1v8c0 .4.2.7.5.9L23.3 32v16.5a1 1 0 001.2 1l11.5-3c.4-.2.8-.6.8-1V32l17.7-11.6c.3-.2.5-.5.5-.9v-8c0-.5-.4-1-1-1zM53 19L35.2 30.6a1 1 0 00-.5.8v13.3l-9.5 2.5V31.4a1 1 0 00-.4-.8L7 19v-6.5h46V19z'/%3E%3C/svg%3E") no-repeat center 70% #000; + } + + .events .section_title .icon.calendar.active { + background: url("data:image/svg+xml,%3Csvg width='20' height='17' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-rule='nonzero'%3E%3Cpath d='M16 17H4a4 4 0 01-4-4V4a4 4 0 014-4h11c.6 0 .6 2 0 2H4a2 2 0 00-2 2v9c0 1.1.9 2 2 2h12a2 2 0 002-2V4a2 2 0 00-2-2h-1c-.6 0-.6-2 0-2h1a4 4 0 014 4v9a4 4 0 01-4 4z'/%3E%3Cpath d='M19 8H1c-.6 0-1-.4-1-1s.4-1 1-1h18c.6 0 1 .4 1 1s-.4 1-1 1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center 50% #000; + background-size: 24px; + } + + .timeline .filters { + @apply hidden; + } + + .timeline .filters input { + @apply p-2 bg-gray-100; + } + + .timeline .filters-md { + @apply flex + } + + .events_wrapper .sidebar { + width: 100%; + @apply bg-white pb-4; + input { + @apply mb-0 + } + } + + + .events_wrapper .sidebar-md { + max-width: 30%; + min-width: 300px; + @apply mt-4; + display: inline-block; + } + + + .title-md { + @apply flex flex-row pl-6 pt-3 pl-4 items-center; + } + + .timeline .info { + @apply flex w-full flex-col; + position: relative; + } + + .excerpt { + @apply pt-2 pb-2; + p { + @apply m-0; + &:first-child { + @apply font-bold mb-1; + } + } + } + + .timeline .info-md { + @apply border-l; + } + + .timeline .marker { + display: inline-block; + width: 12px; + height: 12px; + margin-right: 7px; + border-radius: 15px; + position: relative; + top: 1px; + } + + .timeline .description { + max-height: 0px; + font-size: 11px; + transition: max-height 0s ease; + overflow: hidden; + } + + .timeline .description-md { + @apply pl-4; + max-height: 0px; + font-size: 11px; + transition: max-height 0s ease; + overflow: hidden; + } + + .timeline .description-md:hover { + @apply pl-4; + } + + .info-md:hover { + border-left: 1px solid #000; + background: #fafafa; + cursor: pointer; + } + + .info:hover .description-md { + max-height: 500px !important; + transition: max-height 1s ease; + @apply pb-2; + } + + .info-md:hover .title { + padding-bottom: 4px; + transition: padding 0.2s ease; + } + + .info.active .description { + max-height: 500px; + transition: max-height 1s ease; + } + + .info-md:hover .description { + max-height: 500px !important; + transition: max-height 1s ease; + } + + .timeline .options { + @apply hidden; + width: 120px !important; + min-width: 120px; + opacity: 0; + transition: all .5s ease; + transform: translateX(-3px); + height: 23px; + margin-left: 15px; + } + + .timeline .options-md { + @apply inline-block; + } + + +.event_title h3 { + @apply border-b border-gray-200 pb-3 px-2 text-2xl font-bold leading-tight; +} + +.event_title:hover { + cursor: pointer; +} + +.event_excerpt { + @apply flex flex-col; +} + +.event_excerpt img { + @apply mb-4; + max-width: 100%; +} + +.event_info .timezone { + @apply font-bold text-lg py-2 pl-1; +} + +.event_info span { + @apply mr-2; +} + +.event_footer { + @apply mt-4 pt-2 border-gray-200 border-t font-bold; +} + +.day h4 { + @apply my-0 mb-0; +} + +.calendar_nav { + @apply flex absolute w-full items-center justify-center px-4 bg-black; + top: 0px; + border-radius: 10px 10px 0 0; + z-index: 999999; + height: 50px; + left: 0px; +} + +.triangle { + @apply inline-block mr-2 w-0 h-0; + border-style: solid; + border-width: 6px 0 6px 7px; + transform: rotate(90deg); + transition: transform 0.4s ease; + border-color: transparent transparent transparent #fff; +} + +.active .triangle { + transform: rotate(0deg); + border-color: transparent transparent transparent #fff; +} + +.arrow { + background: url("data:image/svg+xml,%3Csvg width='26' height='44' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24.6 1.3c.7.7 1 1.5 1 2.4 0 .9-.3 1.8-1 2.4L8.8 22l15.8 15.8a3.4 3.4 0 010 4.8 3.4 3.4 0 01-4.8 0L1.5 24.4a3.4 3.4 0 010-4.8L19.8 1.3a3.4 3.4 0 014.8 0z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E") + center center no-repeat; + background-color: rgba(255, 255, 255, 0); + background-size: 20% !important; + display: inline-block; + position: absolute; + top: 0; + width: 50px; + height: 50px; +} +.arrow:hover { + background-color: rgba(255, 255, 255, 0.1); +} +.arrow.left { + left: 0; +} +.arrow.right { + right: 0; + transform: scaleX(-1); +} + +.calendar_nav h3 { + @apply font-bold text-lg m-0 p-0 text-white; +} + +} diff --git a/src/assets/components/hero.scss b/src/assets/components/hero.scss new file mode 100644 index 00000000..5c798f8f --- /dev/null +++ b/src/assets/components/hero.scss @@ -0,0 +1,97 @@ +@responsive { + + .hero { + @apply w-full flex flex-col justify-center p-8 mb-8 pb-0 relative items-center overflow-hidden bg-gray-100; + } + + .hero-md { + @apply px-20 py-10 pb-0 flex-col; + } + + .hero .content_wrapper { + @apply inline-block; + } + .hero .content_wrapper-md { + @apply flex; + } + + .hero_image { + @apply w-full mr-0 mb-5; + } + + .hero_title { + @apply flex font-display text-3xl font-bold text-left pl-0 pb-1 mb-4; + line-height: 2.2rem; + } + + .hero_title-md { + @apply inline-block pl-1 text-4xl; + } + + .hero_text { + @apply font-display text-left; + border: none !important; + } + + .hero_text p { + font-size: 1.15rem; + } + + .hero_text-md { + @apply font-display pl-1 text-left leading-relaxed + } + + .action_container { + @apply mt-6; + } + + a.action { + @apply p-3 mr-2 rounded-lg; + } + + .hero_image-md { + @apply mr-6 mb-0; + flex-shrink: 0; + } + + .hero .hero_.video { + position: absolute; + width: 100%; + height: 500px; + z-index: 1; + } + + .hero .video video { + position: absolute; + min-width: 100%; + min-height: 100%; + width: auto; + height: auto; + margin: 0; + top: 0; + left: 50%; + transform: translateX(-50%) translateY(-50%); + } + + .hero_stats { + @apply flex flex-col items-start w-full mt-2 w-full; + } + + .hero_stats-md { + @apply flex-row; + } + + .hero_stats p { + @apply mr-3 rounded-lg border border-gray-200 inline-flex bg-white items-center overflow-hidden; + height: 40px; + } + + .hero_stats p span { + @apply px-3; + font-size: 14px; + } + + .hero_stats p span.key { + @apply bg-gray-100 h-full flex items-center font-bold px-3 + } +} diff --git a/src/assets/components/users.scss b/src/assets/components/users.scss new file mode 100644 index 00000000..cc65384a --- /dev/null +++ b/src/assets/components/users.scss @@ -0,0 +1,279 @@ +@responsive { + + .user_grid { + @apply w-full whitespace-no-wrap h-20 mb-3 float-left; + width: 100%; + overflow-y: hidden; + white-space: nowrap; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + + .user_grid-md { + @apply flex flex-wrap w-full float-left h-auto whitespace-normal; + align-content: flex-start; + width: 150%; + } + + .user_grid .user_avatar { + @apply bg-cover inline-block; + width: 78px; + height: 78px; + } + + .user_avatar:hover { + cursor: pointer; + } + + .user_avatar.active { + border: 3px solid #FAD964; + } + + .user_avatar-md { + @apply flex w-1/5 h-auto justify-center items-center bg-black; + + } + .user_avatar-md.active img { + @apply w-11/12; + border-radius: 3px; + border: none; + } + + .mobile_list { + @apply w-full flex flex-col border border-gray-200 rounded-lg relative overflow-hidden bg-white; + max-height: 400px; + -webkit-mask-image: -webkit-radial-gradient(white, black); + } + + .list_container .list_search { + @apply flex-shrink border-b w-full overflow-hidden; + height: 0; + flex-shrink: 0; + transition: height .25s ease; + input { + @apply hidden bg-gray-100 p-4 w-full h-full text-lg; + } + &.active { + height: 60px; + input { + @apply inline-block; + } + } + } + + .list_header, .list_back { + @apply flex items-center justify-between w-full bg-gray-100; + height: 65px; + flex-shrink: 0; + h3 { + @apply text-left w-full px-5 py-4 font-bold; + font-size: 1.35rem !important; + } + } + + .list_back { + background-size: 24px; + border-bottom: 1px solid rgba(0,0,0,0.04); + h3 { + @apply text-xl; + padding-left: 20px; + } + } + + .list_back_toggle { + border-right: 1px solid rgba(0,0,0,0.04); + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%232EA48A' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M85 22L43 64l42 42'/%3E%3C/svg%3E") no-repeat 45% 62% rgba(0,0,0,0.0); + width: 60px; + flex-shrink: 0; + height: 100%; + background-size: 24px !important; + border-radius: 5px 0 0 0px; + &:active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%232EA48A' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M85 22L43 64l42 42'/%3E%3C/svg%3E") no-repeat 45% 62% rgba(0,0,0,0.05); + } + } + + .list_scroll { + @apply overflow-scroll flex-grow h-auto w-full; + } + + + + .item_entry { + @apply flex items-center py-2 font-bold border-b border-gray-200; + height: auto; + .item_text { + @apply flex flex-col h-full items-start justify-center; + .item_title { + @apply font-bold text-lg m-0 p-0 h-auto; + } + .item_description, .event_time { + @apply font-light text-sm m-0 p-0 pt-0; + padding-top: 3px; + } + } + &:last-child { + @apply border-none; + } + } + + .list_scroll li:hover { + cursor: pointer; + } + + .list_scroll li.active { + @apply bg-gray-100; + } + + .list_scroll li .item_image { + @apply h-full w-16 bg-cover inline-block mr-3; + background-position: center center !important; + flex-shrink: 0; + } + + .list_item_info { + @apply py-5 px-6 text-lg; + p { + @apply pb-2; + } + a.list_item_url { + @apply border rounded-sm p-3 font-bold; + font-size: 16px; + } + } + + .list_item_info { + @apply h-full flex-grow overflow-scroll + } + + .mobile_list { + &.user { + .item_entry { + @apply py-0; + height: 60px; + } + } + &.event { + .item_entry { + @apply py-3 px-5 relative; + height: auto; + &.new_date { + @apply flex flex-col p-0 pb-4 items-start; + .item_text { + @apply ml-5; + } + } + .item_time_marker { + background: #207261; + color: white; + @apply p-4 py-2 w-full mb-4; + top: 0; + left: 0; + } + } + .list_back.float { + @apply absolute items-start justify-start; + background: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,0) 100%); + border: none; + height: 120px; + .share_links { + position: absolute; + top: 12px; + right: 0px; + a.social { + background-color: rgba(0,0,0,0.8); + } + } + .list_back_toggle { + border-right: none; + max-height: 60px; + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M85 22L43 64l42 42'/%3E%3C/svg%3E") no-repeat 45% 62% rgba(0,0,0,0); + } + h3 { + @apply text-xl; + padding-left: 20px; + } + } + .list_item_info { + @apply p-0; + .event_image { + @apply bg-cover; + background-position: center center !important; + height: 200px; + width: 100%; + } + .list_event_title { + @apply w-full text-white p-4 h-auto bg-black; + h3 { + @apply font-bold; + } + p { + @apply m-0 p-0 mt-3 pt-3; + border-top: 1px solid rgba(255,255,255,0.4); + } + } + .list_item_description { + @apply mx-4 my-3 mt-5 text-lg; + } + a.list_event_url { + @apply bg-gray-100 font-bold text-lg border-t border-b mx-auto py-4 px-4 w-full block; + width: 100% !important; + background: url("data:image/svg+xml,%3Csvg height='100' width='100' xmlns='http://www.w3.org/2000/svg' version='1.0' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4a2 2 0 00-2 2v12c0 1.1.9 2 2 2h14l4 4V4a2 2 0 00-2-2zm-2 5H6V5h12v2zm0 4H6V9h12v2zm-3 4H6v-2h9v2z'/%3E%3C/svg%3E") no-repeat 15px 55%; + background-size: 25px; + padding-left: 50px; + } + } + } + } + + .share_links { + @apply flex items-center; + a.social { + width: 40px; + height: 40px; + @apply inline-block ml-2; + background-color: #2EA48A; + background-repeat: no-repeat !important; + background-position: center center !important; + border-radius: 100px; + &.email { + background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' data-prefix='fas' data-icon='envelope' class='svg-inline--fa fa-envelope fa-w-16' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='white' d='M502 191c4-3 10 0 10 5v204c0 27-21 48-48 48H48c-26 0-48-21-48-48V196c0-5 6-8 10-5l154 114c21 15 56 47 92 47s72-33 92-47l154-114zM256 320c23 0 57-29 73-41 133-97 143-105 174-129 6-5 9-12 9-19v-19c0-26-22-48-48-48H48C22 64 0 86 0 112v19c0 7 3 14 9 19 31 24 41 32 174 129 16 12 50 41 73 41z'/%3E%3C/svg%3E"); + background-size: 16px !important; + } + &.facebook { + background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' data-prefix='fab' data-icon='facebook-f' class='svg-inline--fa fa-facebook-f fa-w-10' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='white' d='M279 288l14-93h-89v-60c0-25 13-50 53-50h40V6s-37-6-72-6c-73 0-121 44-121 125v70H23v93h81v224h100V288z'/%3E%3C/svg%3E"); + background-size: 11px !important; + } + &.twitter { + background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' data-prefix='fab' data-icon='twitter' class='svg-inline--fa fa-twitter fa-w-16' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='white' d='M459 152l1 13c0 139-106 299-299 299-59 0-115-17-161-47a217 217 0 00156-44c-47-1-85-31-98-72l19 1c10 0 19-1 28-3-48-10-84-52-84-103v-2c14 8 30 13 47 14A105 105 0 0136 67c51 64 129 106 216 110-2-8-2-16-2-24a105 105 0 01181-72c24-4 47-13 67-25-8 24-25 45-46 58 21-3 41-8 60-17-14 21-32 40-53 55z'/%3E%3C/svg%3E"); + background-size: 17px !important; + } + } + } + + .user_info { + @apply pl-0 w-full hidden; + } + + .user_bio { + @apply text-left p-2 pb-4 px-0 overflow-scroll; + max-height: 240px; + } + + .user_bio-md { + @apply overflow-visible; + max-height: 100%; + img { + display: none; + } + } + + .user_name { + @apply text-2xl font-bold text-left w-full inline-block pb-2 border-b; + } + + .user_name-md { + @apply px-2; + } + +} diff --git a/src/assets/custom/ngi.scss b/src/assets/custom/ngi.scss new file mode 100644 index 00000000..03157f1b --- /dev/null +++ b/src/assets/custom/ngi.scss @@ -0,0 +1,159 @@ +@import url("https://fonts.googleapis.com/css?family=Montserrat:400,800|Ubuntu:400,800|Roboto:400,800&display=swap"); + +.hero_info { + background-color: rgba(51,51,51,0.8); + padding: 40px 30px 0px; + margin-bottom: 3rem; +} + +.hero_title { + @apply text-4xl font-bold; + font-family: "Roboto"; + font-weight: 800; + color: white; +} + +.hero_text { + max-width: 700px; + font-family: "Roboto"; + color: white; +} + +.action_container { + a.action { + @apply px-4 py-3 font-bold text-lg; + border-radius: 0; + } +} + +.card_footer { + @apply font-bold; + font-size: 16px; + background: #FAD964; + color: rgba(0,0,0,0.8); +} + +.custom_form_button { + @apply p-4 py-3 font-bold; + color: rgba(0,0,0,0.8); + background: #FAD964; +} + +// People + +@keyframes fadeInProfile { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +.user_grid .user_avatar { + @apply bg-cover inline-block relative; + width: 13.33vw; + height: 13.33vw; + opacity: 0; + animation: fadeInProfile .3s ease forwards; + overflow: hidden; + } + +@for $i from 1 to 13 { + .user_grid .user_avatar:nth-child(#{$i}) { animation-delay: $i * 0.05s; } +} +.user_grid .user_avatar .profile_info { + height: 100%; + width: 100%; + @apply absolute bottom-0 p-2 inline-block; + background: rgba(0,0,0,0.8); + transform: translateY(100%); + transition: all .7s ease; +} + +.user_grid .user_avatar:hover .profile_info { + transform: translateY(0%); + color: white; +} + +.user_grid .user_avatar .profile_info { + h2 { + @apply font-bold; + font-size: 12px; + } + p { + font-size: 12px; + } +} + +.info:hover { + border-left: 4px solid #2EA48A !important; + background: #fafafa; + cursor: pointer; +} + +// icons +.toggle.previous { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M85 22L43 64l42 42'/%3E%3C/svg%3E") no-repeat center 65% #2EA48A; + border-right: 1px solid white; +} + +.toggle.previous:active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M85 22L43 64l42 42'/%3E%3C/svg%3E") no-repeat center 65% #269079; +} +.toggle.next:active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M43 22l42 42-42 42'/%3E%3C/svg%3E") no-repeat center 65% #269079; +} + +.toggle.next { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M43 22l42 42-42 42'/%3E%3C/svg%3E") no-repeat center 65% #2EA48A; +} + +// mobile_list + +.list_container .list_header { + background: #2EA48A; + color: white; +} + +.list_container .list_back { + background: #2EA48A; + color: white; +} + +.toggle.search_list_mobile { + margin-right: 14px; + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125'%3E%3Cpath fill='rgba(0,0,0,0.4)' d='M47.1 32.6a14.6 14.6 0 100 29.2 14.6 14.6 0 000-29.2z'/%3E%3Cpath fill='rgba(0,0,0,0.4)' d='M50.1 1.4a48.7 48.7 0 100 97.4 48.7 48.7 0 000-97.4zm23.7 73.7c-.7.7-1.8 1.1-3 1.1s-2.2-.4-3-1.1l-9.2-9.2-.9.5a21.9 21.9 0 117.7-7.1l-.6 1 9.1 9.1c.7.8 1.2 1.8 1.2 2.9-.1 1-.5 2-1.3 2.8z'/%3E%3C/svg%3E") no-repeat center 4px; + background-size: 33px !important; + &.active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125'%3E%3Cpath fill='white' d='M47.1 32.6a14.6 14.6 0 100 29.2 14.6 14.6 0 000-29.2z'/%3E%3Cpath fill='white' d='M50.1 1.4a48.7 48.7 0 100 97.4 48.7 48.7 0 000-97.4zm23.7 73.7c-.7.7-1.8 1.1-3 1.1s-2.2-.4-3-1.1l-9.2-9.2-.9.5a21.9 21.9 0 117.7-7.1l-.6 1 9.1 9.1c.7.8 1.2 1.8 1.2 2.9-.1 1-.5 2-1.3 2.8z'/%3E%3C/svg%3E") no-repeat center 4px; + } +} + + .list_item_info { + a.list_item_url { + background: #2EA48A; + color: white; + border: none; + border-radius: 4px; + } + } + + + +.mobile_list { + &.event { + .list_item_info { + .list_event_title { + background: #2EA48A; + } + } + a.list_item_url { + background: #fff; + color: #2EA48A; + border-top: 1px solid #ddd; + @apply mx-2 px-1; + border-radius: 0; + } + } +} diff --git a/src/assets/img/bandiera_stelle.png b/src/assets/img/bandiera_stelle.png new file mode 100644 index 00000000..dfb05834 Binary files /dev/null and b/src/assets/img/bandiera_stelle.png differ diff --git a/src/assets/img/findingctrl.jpg b/src/assets/img/findingctrl.jpg new file mode 100644 index 00000000..79e00b9b Binary files /dev/null and b/src/assets/img/findingctrl.jpg differ diff --git a/src/assets/img/findingctrl.png b/src/assets/img/findingctrl.png new file mode 100644 index 00000000..e6054249 Binary files /dev/null and b/src/assets/img/findingctrl.png differ diff --git a/src/assets/img/logo-footer.svg b/src/assets/img/logo-footer.svg new file mode 100644 index 00000000..e7344dd1 --- /dev/null +++ b/src/assets/img/logo-footer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/logos/city_of_amsterdam.png b/src/assets/img/logos/city_of_amsterdam.png new file mode 100644 index 00000000..757737b9 Binary files /dev/null and b/src/assets/img/logos/city_of_amsterdam.png differ diff --git a/src/assets/img/logos/eu-flag.png b/src/assets/img/logos/eu-flag.png new file mode 100644 index 00000000..f78f8cc3 Binary files /dev/null and b/src/assets/img/logos/eu-flag.png differ diff --git a/src/assets/img/logos/eucom.png b/src/assets/img/logos/eucom.png new file mode 100644 index 00000000..04440a71 Binary files /dev/null and b/src/assets/img/logos/eucom.png differ diff --git a/src/assets/img/logos/nesta.png b/src/assets/img/logos/nesta.png new file mode 100644 index 00000000..ac003803 Binary files /dev/null and b/src/assets/img/logos/nesta.png differ diff --git a/src/assets/img/logos/ngiforward.svg b/src/assets/img/logos/ngiforward.svg new file mode 100644 index 00000000..0783113d --- /dev/null +++ b/src/assets/img/logos/ngiforward.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/ngiforward.svg b/src/assets/img/ngiforward.svg new file mode 100644 index 00000000..ae45d4e2 --- /dev/null +++ b/src/assets/img/ngiforward.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/speakers/Anna_Sophie_Harling.png b/src/assets/img/speakers/Anna_Sophie_Harling.png new file mode 100644 index 00000000..d2810331 Binary files /dev/null and b/src/assets/img/speakers/Anna_Sophie_Harling.png differ diff --git a/src/assets/img/speakers/Axel_Voss.jpg b/src/assets/img/speakers/Axel_Voss.jpg new file mode 100644 index 00000000..ae16ee1f Binary files /dev/null and b/src/assets/img/speakers/Axel_Voss.jpg differ diff --git a/src/assets/img/speakers/Geert_Jan_Bogaerts.jpg b/src/assets/img/speakers/Geert_Jan_Bogaerts.jpg new file mode 100644 index 00000000..04c9ca17 Binary files /dev/null and b/src/assets/img/speakers/Geert_Jan_Bogaerts.jpg differ diff --git a/src/assets/img/speakers/Harry_Armstrong.jpg b/src/assets/img/speakers/Harry_Armstrong.jpg new file mode 100644 index 00000000..4e164011 Binary files /dev/null and b/src/assets/img/speakers/Harry_Armstrong.jpg differ diff --git a/src/assets/img/speakers/Ingrid_Schneider.png b/src/assets/img/speakers/Ingrid_Schneider.png new file mode 100644 index 00000000..feefb43c Binary files /dev/null and b/src/assets/img/speakers/Ingrid_Schneider.png differ diff --git a/src/assets/img/speakers/Jack_Hardinges.jpg b/src/assets/img/speakers/Jack_Hardinges.jpg new file mode 100644 index 00000000..624ed7d7 Binary files /dev/null and b/src/assets/img/speakers/Jack_Hardinges.jpg differ diff --git a/src/assets/img/speakers/Katja_Bego.jpg b/src/assets/img/speakers/Katja_Bego.jpg new file mode 100644 index 00000000..5bfabb84 Binary files /dev/null and b/src/assets/img/speakers/Katja_Bego.jpg differ diff --git a/src/assets/img/speakers/Marco_Zappalorto.jpg b/src/assets/img/speakers/Marco_Zappalorto.jpg new file mode 100644 index 00000000..52199764 Binary files /dev/null and b/src/assets/img/speakers/Marco_Zappalorto.jpg differ diff --git a/src/assets/img/speakers/Marleen_Stikker.jpg b/src/assets/img/speakers/Marleen_Stikker.jpg new file mode 100644 index 00000000..9cb86a3b Binary files /dev/null and b/src/assets/img/speakers/Marleen_Stikker.jpg differ diff --git a/src/assets/img/speakers/Martin_Brynskov.jpg b/src/assets/img/speakers/Martin_Brynskov.jpg new file mode 100644 index 00000000..bf8abe99 Binary files /dev/null and b/src/assets/img/speakers/Martin_Brynskov.jpg differ diff --git a/src/assets/img/speakers/Niels_ten_Oever.png b/src/assets/img/speakers/Niels_ten_Oever.png new file mode 100644 index 00000000..a059cfcf Binary files /dev/null and b/src/assets/img/speakers/Niels_ten_Oever.png differ diff --git a/src/assets/img/speakers/Olivier_Bringer.jpeg b/src/assets/img/speakers/Olivier_Bringer.jpeg new file mode 100644 index 00000000..62f69cef Binary files /dev/null and b/src/assets/img/speakers/Olivier_Bringer.jpeg differ diff --git a/src/assets/img/speakers/Paul_Keller.jpeg b/src/assets/img/speakers/Paul_Keller.jpeg new file mode 100644 index 00000000..ccfcae8c Binary files /dev/null and b/src/assets/img/speakers/Paul_Keller.jpeg differ diff --git a/src/assets/img/speakers/Pearse_O'Donohue.jpg b/src/assets/img/speakers/Pearse_O'Donohue.jpg new file mode 100644 index 00000000..a70ec32a Binary files /dev/null and b/src/assets/img/speakers/Pearse_O'Donohue.jpg differ diff --git a/src/assets/img/speakers/Peter_Bihr.jpg b/src/assets/img/speakers/Peter_Bihr.jpg new file mode 100644 index 00000000..06a3ecef Binary files /dev/null and b/src/assets/img/speakers/Peter_Bihr.jpg differ diff --git a/src/assets/img/speakers/Rasmus_Kleis_Nielsen.jpg b/src/assets/img/speakers/Rasmus_Kleis_Nielsen.jpg new file mode 100644 index 00000000..935f4270 Binary files /dev/null and b/src/assets/img/speakers/Rasmus_Kleis_Nielsen.jpg differ diff --git a/src/assets/img/speakers/Rob_van_Kranenburg.jpg b/src/assets/img/speakers/Rob_van_Kranenburg.jpg new file mode 100644 index 00000000..011b1e93 Binary files /dev/null and b/src/assets/img/speakers/Rob_van_Kranenburg.jpg differ diff --git a/src/assets/img/speakers/Silva_Arapi.jpg b/src/assets/img/speakers/Silva_Arapi.jpg new file mode 100644 index 00000000..77cdb6c7 Binary files /dev/null and b/src/assets/img/speakers/Silva_Arapi.jpg differ diff --git a/src/assets/img/speakers/Suzanne_Dumouchel.jpg b/src/assets/img/speakers/Suzanne_Dumouchel.jpg new file mode 100644 index 00000000..c9a645d3 Binary files /dev/null and b/src/assets/img/speakers/Suzanne_Dumouchel.jpg differ diff --git a/src/assets/img/speakers/Sylvie_Delacroix.jpeg b/src/assets/img/speakers/Sylvie_Delacroix.jpeg new file mode 100644 index 00000000..dd606436 Binary files /dev/null and b/src/assets/img/speakers/Sylvie_Delacroix.jpeg differ diff --git a/src/assets/img/speakers/cropped/Anna_Sophie_Harling.png b/src/assets/img/speakers/cropped/Anna_Sophie_Harling.png new file mode 100644 index 00000000..36a42ba1 Binary files /dev/null and b/src/assets/img/speakers/cropped/Anna_Sophie_Harling.png differ diff --git a/src/assets/img/speakers/cropped/Axel_Voss.jpg b/src/assets/img/speakers/cropped/Axel_Voss.jpg new file mode 100644 index 00000000..a053867c Binary files /dev/null and b/src/assets/img/speakers/cropped/Axel_Voss.jpg differ diff --git a/src/assets/img/speakers/cropped/Geert_Jan_Bogaerts.jpg b/src/assets/img/speakers/cropped/Geert_Jan_Bogaerts.jpg new file mode 100644 index 00000000..2f68e6de Binary files /dev/null and b/src/assets/img/speakers/cropped/Geert_Jan_Bogaerts.jpg differ diff --git a/src/assets/img/speakers/cropped/Harry_Armstrong.jpg b/src/assets/img/speakers/cropped/Harry_Armstrong.jpg new file mode 100644 index 00000000..f0d767a8 Binary files /dev/null and b/src/assets/img/speakers/cropped/Harry_Armstrong.jpg differ diff --git a/src/assets/img/speakers/cropped/Ingrid_Schneider.png b/src/assets/img/speakers/cropped/Ingrid_Schneider.png new file mode 100644 index 00000000..feefb43c Binary files /dev/null and b/src/assets/img/speakers/cropped/Ingrid_Schneider.png differ diff --git a/src/assets/img/speakers/cropped/Jack_Hardinges.jpg b/src/assets/img/speakers/cropped/Jack_Hardinges.jpg new file mode 100644 index 00000000..285df674 Binary files /dev/null and b/src/assets/img/speakers/cropped/Jack_Hardinges.jpg differ diff --git a/src/assets/img/speakers/cropped/Katja_Bego.jpg b/src/assets/img/speakers/cropped/Katja_Bego.jpg new file mode 100644 index 00000000..b2e88a0b Binary files /dev/null and b/src/assets/img/speakers/cropped/Katja_Bego.jpg differ diff --git a/src/assets/img/speakers/cropped/Marco_Zappalorto.jpg b/src/assets/img/speakers/cropped/Marco_Zappalorto.jpg new file mode 100644 index 00000000..b850a08a Binary files /dev/null and b/src/assets/img/speakers/cropped/Marco_Zappalorto.jpg differ diff --git a/src/assets/img/speakers/cropped/Marleen_Stikker.jpg b/src/assets/img/speakers/cropped/Marleen_Stikker.jpg new file mode 100644 index 00000000..a39bc6de Binary files /dev/null and b/src/assets/img/speakers/cropped/Marleen_Stikker.jpg differ diff --git a/src/assets/img/speakers/cropped/Martin_Brynskov.jpg b/src/assets/img/speakers/cropped/Martin_Brynskov.jpg new file mode 100644 index 00000000..aa0606cf Binary files /dev/null and b/src/assets/img/speakers/cropped/Martin_Brynskov.jpg differ diff --git a/src/assets/img/speakers/cropped/Niels_ten_Oever.png b/src/assets/img/speakers/cropped/Niels_ten_Oever.png new file mode 100644 index 00000000..af14d884 Binary files /dev/null and b/src/assets/img/speakers/cropped/Niels_ten_Oever.png differ diff --git a/src/assets/img/speakers/cropped/Olivier_Bringer.jpeg b/src/assets/img/speakers/cropped/Olivier_Bringer.jpeg new file mode 100644 index 00000000..1470e1ad Binary files /dev/null and b/src/assets/img/speakers/cropped/Olivier_Bringer.jpeg differ diff --git a/src/assets/img/speakers/cropped/Paul_Keller.jpeg b/src/assets/img/speakers/cropped/Paul_Keller.jpeg new file mode 100644 index 00000000..bfb260d1 Binary files /dev/null and b/src/assets/img/speakers/cropped/Paul_Keller.jpeg differ diff --git a/src/assets/img/speakers/cropped/Pearse_O'Donohue.jpg b/src/assets/img/speakers/cropped/Pearse_O'Donohue.jpg new file mode 100644 index 00000000..7930496d Binary files /dev/null and b/src/assets/img/speakers/cropped/Pearse_O'Donohue.jpg differ diff --git a/src/assets/img/speakers/cropped/Peter_Bihr.jpg b/src/assets/img/speakers/cropped/Peter_Bihr.jpg new file mode 100644 index 00000000..43660721 Binary files /dev/null and b/src/assets/img/speakers/cropped/Peter_Bihr.jpg differ diff --git a/src/assets/img/speakers/cropped/Rasmus_Kleis_Nielsen.jpg b/src/assets/img/speakers/cropped/Rasmus_Kleis_Nielsen.jpg new file mode 100644 index 00000000..11d2045d Binary files /dev/null and b/src/assets/img/speakers/cropped/Rasmus_Kleis_Nielsen.jpg differ diff --git a/src/assets/img/speakers/cropped/Rob_van_Kranenburg.jpg b/src/assets/img/speakers/cropped/Rob_van_Kranenburg.jpg new file mode 100644 index 00000000..75dfa353 Binary files /dev/null and b/src/assets/img/speakers/cropped/Rob_van_Kranenburg.jpg differ diff --git a/src/assets/img/speakers/cropped/Silva_Arapi.jpg b/src/assets/img/speakers/cropped/Silva_Arapi.jpg new file mode 100644 index 00000000..6a1df5d8 Binary files /dev/null and b/src/assets/img/speakers/cropped/Silva_Arapi.jpg differ diff --git a/src/assets/img/speakers/cropped/Suzanne_Dumouchel.jpg b/src/assets/img/speakers/cropped/Suzanne_Dumouchel.jpg new file mode 100644 index 00000000..b3805e9a Binary files /dev/null and b/src/assets/img/speakers/cropped/Suzanne_Dumouchel.jpg differ diff --git a/src/assets/img/speakers/cropped/Sylvie_Delacroix.jpeg b/src/assets/img/speakers/cropped/Sylvie_Delacroix.jpeg new file mode 100644 index 00000000..a17cb6c1 Binary files /dev/null and b/src/assets/img/speakers/cropped/Sylvie_Delacroix.jpeg differ diff --git a/src/assets/img/summit hero image.jpg b/src/assets/img/summit hero image.jpg new file mode 100644 index 00000000..7be53057 Binary files /dev/null and b/src/assets/img/summit hero image.jpg differ diff --git a/src/assets/main-ngi.scss b/src/assets/main-ngi.scss new file mode 100644 index 00000000..8c03bd0d --- /dev/null +++ b/src/assets/main-ngi.scss @@ -0,0 +1,791 @@ +@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700|Ubuntu:400,700&display=swap"); + +@tailwind base; + +@tailwind components; + +@tailwind utilities; + +*:focus { + outline: none; +} + +button:focus {outline:0;} + +.hero_title { + @apply flex font-display text-3xl font-bold text-left pl-0 pb-1 mb-4 border-b border-gray-200; + line-height: 2.2rem; +} + + +.hero_title-md { + @apply inline-block pl-1 mb-3 text-4xl; +} + +.title_logo { + @apply inline-block float-left mr-4; + width: 68px; + margin-top: -7px; + padding: 5px; + border: 5px solid white; + border-radius: 10px; + background-color: #fff; + transform: rotate(-1deg); + box-shadow: 0 2px 0px rgba(0, 0, 0, 0.05); +} + +.hero_logo-md { + flex: 0 0 200px; + padding: 38px; + margin: 20px 40px 0 20px; + border: 5px solid white; + border-radius: 10px; + background-color: #fff; + transform: rotate(-1deg); + box-shadow: 0 2px 7px rgba(0, 0, 0, 0.05); +} + +.hero_text { + @apply font-display text-left; + border: none !important; +} + +.hero_text p { + @apply mb-4; + border: none !important; + font-size: 1.15rem; +} + +.hero_text-md { + @apply font-display pl-1 mb-3 text-left leading-relaxed +} + +.section_title { + @apply font-display text-3xl flex items-center font-bold text-left pb-2 mb-3 border-b border-gray-200; +} + +.section_title-md { + @apply mb-6; +} + +.section_custom { + @apply flex flex-col; +} + +.section_custom-md { + @apply flex-row; +} + +.section_text { + @apply text-lg text-left; +} + +.section_text-md { + @apply border-gray-200 border-l pl-6; +} + +.section_video { + @apply w-full mr-4 pr-5; +} + +.section_custom.reverse { + @apply flex-col-reverse; +} + +.wrapper-md.reverse { + @apply flex-row-reverse; +} + +.wrapper-md.reverse .section_text { + @apply border-r pr-6 border-l-0 pl-0; +} + +.wrapper-md.reverse .section_image { + @apply mr-0 ml-6; +} + +.wrapper.reverse .section_video { + @apply ml-4 pl-5; +} + +.user_name { + @apply text-2xl font-bold text-left w-full inline-block pb-4 border-b mt-4 mb-2; +} + +.user_name-md { + @apply px-2; +} + +.user_avatar:hover { + cursor: pointer; +} +/* purgecss start ignore */ +.section_slider { + @apply w-full relative px-2; +} + +.section_slider-md { + @apply w-full relative px-10; +} + +.slide { + @apply bg-gray-100 overflow-hidden border border-gray-200 rounded-lg relative flex flex-col; + height: 400px; +} + +.slide_title { + @apply bg-cover w-full text-left leading-tight relative py-4 border-b border-gray-200; +} + +.slide_title h1 { + @apply relative mx-4 z-20 font-bold text-lg text-left; +} + +.slide_title.bg-image { + @apply p-10; +} + +.slide_title.bg_image:before { + @apply absolute top-0 text-white h-full w-full z-10 left-0; + content: ""; + background: rgba(0, 0, 0, 0.8); +} + +.slide_title.bg_image h1 { + @apply text-white; +} + +.slide_excerpt { + @apply w-full flex-grow overflow-scroll; +} + +.slide_excerpt p { + @apply text-left p-4; +} + +.slide_footer { + @apply bg-white p-4 py-3 font-bold border-t text-left; +} +/* purgecss end ignore */ + +.slider_arrow { + width: 50px; + height: 50px; + position: absolute; + top: 50%; + z-index: 10; + border-radius: 100%; + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30' %3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.1 4.6A1.5 1.5 0 0 0 15 2.4l-8.5 8.1a2 2 0 0 0 0 3l8.5 8.1a1.5 1.5 0 1 0 2.1-2.2L9.4 12l7.7-7.4z' fill='%23FFF'/%3E%3C/svg%3E") + #000 no-repeat; + background-size: 40%; +} + +.toggle { + flex-basis: 50%; + height: 50px; + width: 40px; + height: 40px; + background-size: 40% !important; +} + +.toggle:hover { + cursor: pointer; +} +.toggle.calendar { + background: url("data:image/svg+xml,%3Csvg width='48' height='44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-rule='nonzero'%3E%3Cpath d='M40 0H8C4 0 0 4 0 8v28c0 4 4 8 8 8h32c4 0 8-4 8-8V8c0-4-4-8-8-8zm0 40H8c-2 0-4-2-4-4V16h40v20c0 2-2 4-4 4z'/%3E%3Ccircle cx='12' cy='24' r='2'/%3E%3Ccircle cx='12' cy='32' r='2'/%3E%3Ccircle cx='20' cy='24' r='2'/%3E%3Ccircle cx='20' cy='32' r='2'/%3E%3Ccircle cx='28' cy='24' r='2'/%3E%3Ccircle cx='28' cy='32' r='2'/%3E%3Ccircle cx='36' cy='24' r='2'/%3E%3Ccircle cx='36' cy='32' r='2'/%3E%3C/g%3E%3C/svg%3E%0A") + no-repeat center center #efefef; +} + +.toggle.list { + background: url("data:image/svg+xml,%3Csvg width='88' height='76' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M9 75a8 8 0 110-16 8 8 0 010 16zm0-29a8 8 0 110-16 8 8 0 010 16zm0-29A8 8 0 119 1a8 8 0 010 16zm70 58H34a8 8 0 110-16h45a8 8 0 110 16zm0-29H34a8 8 0 110-16h45a8 8 0 110 16zm0-29H34a8 8 0 110-16h45a8 8 0 110 16z' fill-rule='nonzero'/%3E%3C/svg%3E%0A") + no-repeat center 53% #efefef; + background-size: 36% !important; + border-right: 1px solid white; +} + +.toggle.cards { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 120'%3E%3Cpath fill='rgba(0,0,0,0.6)' d='M43.6 82L31.9 22.8c-.4-1.7 0-3.4 1-4.8.9-1.4 2.3-2.3 4-2.7l3-.5-26.3-2.2A5 5 0 008 17L3 77.4a5 5 0 004.5 5.5L46.3 86a6.3 6.3 0 01-2.7-4z'/%3E%3Cpath fill='rgba(0,0,0,1)' d='M81.2 13a3.8 3.8 0 00-4.4-3L49 15.4l-11.7 2.3a3.8 3.8 0 00-3 4.5l11.8 59.4a3.8 3.8 0 004.4 3l1.6-.3L90 76.8c1-.2 1.9-.8 2.4-1.6s.8-1.9.6-2.9L81.2 13z'/%3E%3C/svg%3E%0A") + no-repeat center 75% #efefef; + background-size: 45% !important; +} + +.toggle.previous { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M85 22L43 64l42 42'/%3E%3C/svg%3E") no-repeat center 65% #efefef; + border-right: 1px solid white; +} + +.toggle.previous:active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M85 22L43 64l42 42'/%3E%3C/svg%3E") no-repeat center 65% #000; +} +.toggle.next:active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M43 22l42 42-42 42'/%3E%3C/svg%3E") no-repeat center 65% #000; +} + +.toggle.next { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M43 22l42 42-42 42'/%3E%3C/svg%3E") no-repeat center 65% #efefef; +} + +.toggle.cards.active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 120'%3E%3Cpath fill='rgba(255,255,255,0.8)' d='M43.6 82L31.9 22.8c-.4-1.7 0-3.4 1-4.8.9-1.4 2.3-2.3 4-2.7l3-.5-26.3-2.2A5 5 0 008 17L3 77.4a5 5 0 004.5 5.5L46.3 86a6.3 6.3 0 01-2.7-4z'/%3E%3Cpath fill='rgba(255,255,255,1)' d='M81.2 13a3.8 3.8 0 00-4.4-3L49 15.4l-11.7 2.3a3.8 3.8 0 00-3 4.5l11.8 59.4a3.8 3.8 0 004.4 3l1.6-.3L90 76.8c1-.2 1.9-.8 2.4-1.6s.8-1.9.6-2.9L81.2 13z'/%3E%3C/svg%3E%0A") + no-repeat center 75% #000; + background-size: 45% !important; +} + +.toggle.grid { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 100 125'%3E%3Cpath fill='black' d='M35 0a32 32 0 015 2c3 2 4 6 4 10v21c0 5-2 8-6 10a13 13 0 01-5 1H12c-6 0-10-3-12-9V9c1-3 2-5 5-7a41 41 0 015-2h25zM0 65a34 34 0 012-5 10 10 0 019-4h23a11 11 0 0111 11v22c-1 6-5 11-11 11H11c-5 0-9-3-11-9V65zM90 0a14 14 0 016 3 10 10 0 014 7v23a11 11 0 01-12 11H67c-6 0-11-4-11-10a478 478 0 010-23c0-6 3-10 9-11h25zm10 78v12a11 11 0 01-10 10H66a10 10 0 01-10-10V66a10 10 0 0110-10h24a11 11 0 0110 10v12z'/%3E%3C/svg%3E%0A") + no-repeat center 65% #efefef; + background-size: 34% !important; + border-right: 1px solid white; +} + +.toggle.grid.active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 100 125'%3E%3Cpath fill='white' d='M35 0a32 32 0 015 2c3 2 4 6 4 10v21c0 5-2 8-6 10a13 13 0 01-5 1H12c-6 0-10-3-12-9V9c1-3 2-5 5-7a41 41 0 015-2h25zM0 65a34 34 0 012-5 10 10 0 019-4h23a11 11 0 0111 11v22c-1 6-5 11-11 11H11c-5 0-9-3-11-9V65zM90 0a14 14 0 016 3 10 10 0 014 7v23a11 11 0 01-12 11H67c-6 0-11-4-11-10a478 478 0 010-23c0-6 3-10 9-11h25zm10 78v12a11 11 0 01-10 10H66a10 10 0 01-10-10V66a10 10 0 0110-10h24a11 11 0 0110 10v12z'/%3E%3C/svg%3E%0A") + no-repeat center 65% #000; + background-size: 34% !important; +} + +.toggle.calendar.active { + background: url("data:image/svg+xml,%3Csvg width='48' height='44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-rule='nonzero'%3E%3Cpath d='M40 0H8C4 0 0 4 0 8v28c0 4 4 8 8 8h32c4 0 8-4 8-8V8c0-4-4-8-8-8zm0 40H8c-2 0-4-2-4-4V16h40v20c0 2-2 4-4 4z'/%3E%3Ccircle cx='12' cy='24' r='2'/%3E%3Ccircle cx='12' cy='32' r='2'/%3E%3Ccircle cx='20' cy='24' r='2'/%3E%3Ccircle cx='20' cy='32' r='2'/%3E%3Ccircle cx='28' cy='24' r='2'/%3E%3Ccircle cx='28' cy='32' r='2'/%3E%3Ccircle cx='36' cy='24' r='2'/%3E%3Ccircle cx='36' cy='32' r='2'/%3E%3C/g%3E%3C/svg%3E%0A") + no-repeat center center #000; +} + +.toggle.list.active { + background: url("data:image/svg+xml,%3Csvg width='88' height='76' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M9 75a8 8 0 110-16 8 8 0 010 16zm0-29a8 8 0 110-16 8 8 0 010 16zm0-29A8 8 0 119 1a8 8 0 010 16zm70 58H34a8 8 0 110-16h45a8 8 0 110 16zm0-29H34a8 8 0 110-16h45a8 8 0 110 16zm0-29H34a8 8 0 110-16h45a8 8 0 110 16z' fill-rule='nonzero'/%3E%3C/svg%3E%0A") + no-repeat center 53% #000; + background-size: 36% !important; +} + +.wrapper .list { + @apply mr-10 mt-4; + max-height: 500px; + width: 100%; + border: 1px solid #efefef; + border-radius: 10px; + overflow: scroll; +} + +.list_item { + @apply border-gray-200 border-b py-4 px-5; +} +.list_item:hover { + @apply bg-gray-100; + cursor: pointer; +} +.list_item.active { + @apply bg-black text-white; +} +.slider_arrow.left { + left: -5%; + background-position: 45% 60%; +} + +.slider_arrow.right { + top: 50%; + left: auto; + right: -5%; + transform: scale(-1); + background-position: 45% 60%; +} + +.slider_arrow:hover { + cursor: pointer; +} + +.slider_arrow.left:active { + transform: scalex(1.05); +} + +.slider_arrow.right:active { + transform: scalex(-1.05); +} + +.section_terms { + @apply w-full bg-black p-6 text-left flex; +} + +.selected_event { + @apply pt-4; + display: inline-block; +} + +@responsive { + .section { + @apply w-full block bg-white relative px-8 py-6 pb-0; + } + + .section-md { + @apply w-auto px-8 pt-8 pb-4; + margin: 0 auto; + width: 960px; + } + + .content_wrapper { + @apply flex flex-col w-full px-0 relative; + z-index: 10; + } + + .content_wrapper-md { + @apply flex flex-row items-start px-0; + width: 960px; + } + + .hero { + @apply w-full flex flex-col justify-center p-8 pb-0 relative items-center overflow-hidden bg-gray-100; + } + + .hero .content_wrapper { + @apply inline-block; + } + .hero .content_wrapper-md { + @apply flex; + } + + .hero_image { + @apply w-full mr-0 mb-5; + } + + .action_container { + @apply mt-6; + } + + a.action { + @apply p-3 mr-2 rounded-lg; + } + + .hero_image-md { + @apply mr-6 mb-0; + flex-shrink: 0; + } + + .hero .hero_.video { + position: absolute; + width: 100%; + height: 500px; + z-index: 1; + } + + .hero .video video { + position: absolute; + min-width: 100%; + min-height: 100%; + width: auto; + height: auto; + margin: 0; + top: 0; + left: 50%; + transform: translateX(-50%) translateY(-50%); + } + + .hero-md { + @apply px-20 py-10 pb-0 flex-col; + } + + .hero_stats { + @apply flex flex-col items-start w-full mt-2 w-full; + } + + .hero_stats-md { + @apply flex-row; + } + + .hero_stats p { + @apply mr-3 rounded-lg border border-gray-200 inline-flex bg-white items-center overflow-hidden; + height: 40px; + } + + .hero_stats p span { + @apply px-3; + font-size: 14px; + } + + .hero_stats p span.key { + @apply bg-gray-100 h-full flex items-center font-bold px-3 + } + + .section#users { + @apply px-0; + } + + .section#topics { + @apply px-0; + } + + .section#topics .section_title { + @apply mx-6; + } + + .section#users .section_title { + @apply mx-6; + } + + .section-md#users.section_title { + @apply mx-0; + } + + + .card_row { + @apply flex pt-4 pb-6; + height: 100%; + width: 100%; + margin: 0 auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-overflow-scrolling: touch; + scroll-snap-type: x mandatory; + scroll-behavior: smooth; + display: flex; + } + .card_row .card { + @apply inline-block flex-shrink-0 relative pt-4; + width: 300px; + transition: all 0.4s ease; + height: 380px; + + scroll-snap-align: start; + } + .card_row .card .card_container { + @apply rounded-lg overflow-hidden bg-white relative flex flex-col justify-start items-center; + width: 90%; + margin: 0 auto; + height: 100%; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); + } + + .card_row .card.topic .topic_title { + @apply mb-6; + } + + .card_row .card.topic .topic_title h2 { + @apply text-2xl font-bold bg-white px-2 py-2 inline; + width: 90%; + box-decoration-break: clone; + -webkit-box-decoration-break: clone; + } + + .card_row .card.topic .topic_data { + @apply px-4; + position: absolute; + left: 3%; + display: flex; + align-items: start; + justify-content: center; + flex-direction: column; + width: 93%; + height: 93% !important; + -webkit-perspective: inherit; + perspective: inherit; + z-index: 2; + transform: translateY(-50%) translateZ(60px); + -webkit-transform: translateY(-50%) translateZ(60px); + -ms-transform: translateY(-50%) translateZ(60px); + top: 50%; + } + + .card_row .card.topic .topic_data .profile_badge { + @apply mt-0; + } + + .card_row .card:hover { + cursor: pointer; + } + .card_title { + @apply w-full relative bg-gray-200 py-3 mt-6 px-2 flex items-center; + height: 160px; + background: rgba(0, 0, 0, 0.02); + z-index: 10; + } + .card_stack .card_title { + background: rgba(0, 0, 0, 0.08); + border-radius: 15px 15px 0 0; + } + .card_name { + @apply w-full flex flex-col px-6 pt-6 text-left; + } + .card_name h3 { + @apply w-full text-xl font-bold border-b w-full pb-1; + } + .card_name p { + @apply mt-2 text-xs text-left; + } + .card .avatar { + @apply flex-shrink-0 bg-cover rounded-lg mt-3 mx-auto; + width: 82%; + background-position: center center !important; + height: 145px; + box-shadow: 0 -6px 10px rgba(0, 0, 0, 0.1); + } + .card_excerpt { + @apply flex-grow relative overflow-scroll w-full px-0 mx-auto mt-2 pb-4 text-xs text-left; + height: 80%; + width: 80%; + text-align: left; + z-index: 10; + } + .card_stack .card_excerpt { + @apply mb-4; + } + .card_footer { + @apply py-3 px-4 w-full text-white font-bold text-xs relative; + z-index: 10; + box-shadow: 0 -6px 10px rgba(0, 0, 0, 0.1); + background: linear-gradient( + 0deg, + rgba(245, 82, 0, 1) 0%, + rgba(255, 154, 0, 1) 100% + ); + } + .card_stack .card_footer { + @apply w-full py-4; + background: rgba(255, 255, 255, 0.2); + } + + .wrapper { + @apply flex flex-col; + } + + .wrapper-md { + @apply flex-row justify-between w-full; + } + + .section_image { + @apply border border-gray-200 mt-4; + flex-shrink: 0; + } + + .section_image-md { + @apply mr-6; + } + + .calendar_container-md { + @apply mt-4 pt-4; + flex: 40% 0 0; + height: auto; + max-height: 340px !important; + } + .selected_event-md { + flex: 55% 0 0; + } + .calendar_nav-md { + @apply items-center justify-center; + } + .toggle_menu { + @apply bg-gray-200 flex items-center ml-4; + border-radius: 6px; + overflow: hidden; + height: 40px; + width: 100px; + } + + .slider_container { + @apply flex flex-col; + justify-content: flex-end; + align-items: flex-end; + } + + .slider_container .toggle_menu { + @apply mr-6 mt-4; + } + + .toggle_menu-md { + width: 150px !important; + } + + .event_info { + @apply px-3 flex flex-col items-start bg-gray-100 mb-2 border-b border-gray-200; + height: 72px; + } + + + .event_info-md { + @apply flex-row justify-between items-center; + height: 40px; + } + + .slide { + @apply flex relative flex-row; + height: 20em; + flex: 0 0 100%; + transition: transform .75s ease-in-out; + } + + .slide .excerpt { + @apply w-1/2 p-6 hidden; + } + + .slide .item_post { + @apply flex flex-col justify-center items-start px-2 w-full; + background-size: cover; + background-repeat: no-repeat !important; + background-position: center center !important; + } + + .slide .item_post-md { + @apply w-1/2; + } + + + .slide .item_title { + @apply pr-4; + height: 50%; + } + + + + .slide .excerpt-md { + @apply inline-block; + } + + .slide .image { + @apply w-full h-full p-3 absolute flex flex-col justify-end items-start bg-cover; + background-position: center center !important; + } + + .item_post { + width: 50%; + } + + + +} + +.event_title h3 { + @apply border-b border-gray-200 pb-3 px-2 text-2xl font-bold leading-tight; +} + +.event_title:hover { + cursor: pointer; +} + +.event_excerpt { + @apply flex flex-col; +} + +.event_excerpt img { + @apply mb-4; + max-width: 100%; +} + +.event_info .timezone { + @apply font-bold text-lg py-2 pl-1; +} + +.event_info span { + @apply mr-2; +} + +.event_footer { + @apply mt-4 pt-2 border-gray-200 border-t font-bold; +} +/* purgecss start ignore */ +.marked { + border-radius: 5px !important; + background: black !important; + color: white !important; +} + +.vfc-span-day:hover { + background: white !important; +} + +.vfc-marked { + color: black !important; + background: white !important; +} + +.vfc-marked.marked { + color: white !important; + background: black !important; +} + +.marked:hover { + background: rgba(0, 0, 0, 0.8) !important; + cursor: pointer; +} + +.vfc-main-container { + max-height: auto; + overflow: hidden; + transition: all 1s ease; +} + +.calendar_container { + @apply relative; + max-height: 340px; + overflow: hidden; + transition: max-height 0.4s ease; + border-radius: 10px; + border: 1px solid #efefef; +} + +.calendar_container.active { + max-height: 50px !important; + transition: max-height 0.4s ease; + border: 1px solid rgba(0,0,0,0); +} + +.vfc-main-container { + box-shadow: none !important; +} +.vfc-top-date { + @apply hidden; +} +.vfc-styles-conditional-class .vfc-main-container .vfc-navigation-buttons { + @apply hidden; +} +.vfc-content { + padding-top: 60px !important; +} +/* purgecss end ignore */ + +.calendar_nav { + @apply flex absolute w-full items-center justify-center px-4 bg-black; + top: 0px; + border-radius: 10px 10px 0 0; + z-index: 999999; + height: 50px; + left: 0px; +} + +.triangle { + @apply inline-block mr-2 w-0 h-0; + border-style: solid; + border-width: 6px 0 6px 7px; + transform: rotate(90deg); + transition: transform 0.4s ease; + border-color: transparent transparent transparent #fff; +} + +.active .triangle { + transform: rotate(0deg); + border-color: transparent transparent transparent #fff; +} + +.arrow { + background: url("data:image/svg+xml,%3Csvg width='26' height='44' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24.6 1.3c.7.7 1 1.5 1 2.4 0 .9-.3 1.8-1 2.4L8.8 22l15.8 15.8a3.4 3.4 0 010 4.8 3.4 3.4 0 01-4.8 0L1.5 24.4a3.4 3.4 0 010-4.8L19.8 1.3a3.4 3.4 0 014.8 0z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E") + center center no-repeat; + background-color: rgba(255, 255, 255, 0); + background-size: 20% !important; + display: inline-block; + position: absolute; + top: 0; + width: 50px; + height: 50px; +} +.arrow:hover { + background-color: rgba(255, 255, 255, 0.1); +} +.arrow.left { + left: 0; +} +.arrow.right { + right: 0; + transform: scaleX(-1); +} + +.calendar_nav h3 { + @apply font-bold text-lg m-0 p-0 text-white; +} + +.calendar_container.active .calendar_nav { + @apply bg-black rounded-lg text-white; +} diff --git a/src/assets/main.scss b/src/assets/main.scss new file mode 100644 index 00000000..d97522b9 --- /dev/null +++ b/src/assets/main.scss @@ -0,0 +1,57 @@ +@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700|Ubuntu:400,700&display=swap"); + +@tailwind base; + +@tailwind components; + +@tailwind utilities; + +*:focus { + outline: none; +} + +button:focus {outline:0;} + + +@import 'ui/core.scss'; +@import 'ui/cards.scss'; +@import 'ui/slider.scss'; +@import 'ui/icons.scss'; + +@import 'components/hero.scss'; +@import 'components/events.scss'; +@import 'components/users.scss'; + +@import 'custom/ngi.scss'; + + +.wrapper .list { + @apply mr-10 mt-4; + max-height: 500px; + width: 100%; + border: 1px solid #efefef; + border-radius: 10px; + overflow: scroll; +} + +.list_item { + @apply border-gray-200 border-b py-4 px-5; +} +.list_item:hover { + @apply bg-gray-100; + cursor: pointer; +} +.list_item.active { + @apply bg-black text-white; +} + + +.section_terms { + @apply w-full bg-black p-6 text-left flex; +} + +@responsive { + + + +} diff --git a/src/assets/ui/cards.scss b/src/assets/ui/cards.scss new file mode 100644 index 00000000..5ed93f51 --- /dev/null +++ b/src/assets/ui/cards.scss @@ -0,0 +1,178 @@ +@responsive { + .row { + @apply w-full; + height: 410px; + width: 100%; + margin: 0 auto; + } + .row-md { + @apply py-6 px-4; + height: 450px; + } + .card_row { + @apply flex; + height: 100%; + width: 100%; + margin: 0 auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-overflow-scrolling: touch; + scroll-snap-type: x mandatory; + scroll-behavior: smooth; + display: flex; + } + .card_row-md { + overflow-x: hidden; + overflow-y: hidden; + } + .card_row .card { + @apply inline-block flex-shrink-0 relative pt-4; + width: 300px; + transition: all 0.4s ease; + height: 380px; + + scroll-snap-align: start; + } + .card-md { + width: 20% !important; + } + .card_row .card { + @apply inline-block flex-shrink-0 relative pt-4; + width: 300px; + transition: all 0.4s ease; + height: 380px; + scroll-snap-align: start; + } + .card_row .card .card_container { + @apply rounded-lg overflow-hidden bg-white relative flex flex-col justify-start items-center; + width: 100%; + margin: 0 auto; + height: 100%; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); + } + + .card_row .card.topic .topic_title { + @apply mb-6; + } + + .card_row .card.topic .topic_title h2 { + @apply text-2xl font-bold bg-white px-2 py-2 inline; + width: 90%; + box-decoration-break: clone; + -webkit-box-decoration-break: clone; + } + + .card_row .card.topic .topic_data { + @apply px-4; + position: absolute; + left: 3%; + display: flex; + align-items: start; + justify-content: center; + flex-direction: column; + width: 93%; + height: 93% !important; + -webkit-perspective: inherit; + perspective: inherit; + z-index: 2; + transform: translateY(-50%) translateZ(60px); + -webkit-transform: translateY(-50%) translateZ(60px); + -ms-transform: translateY(-50%) translateZ(60px); + top: 50%; + } + + .card_row .card.topic .topic_data .profile_badge { + @apply mt-0; + } + + .card_row .card:hover { + cursor: pointer; + } + .card_title { + @apply w-full relative bg-gray-200 py-3 mt-6 px-2 flex items-center; + height: 160px; + background: rgba(0, 0, 0, 0.02); + z-index: 10; + } + .card_stack .card_title { + background: rgba(0, 0, 0, 0.08); + border-radius: 15px 15px 0 0; + } + .card_name { + @apply w-full flex flex-col px-6 pt-6 text-left; + } + .card_name h3 { + @apply w-full text-xl font-bold border-b w-full pb-1; + } + .card_name p { + @apply mt-2 text-xs text-left; + } + .card .avatar { + @apply flex-shrink-0 bg-cover rounded-lg mt-3 mx-auto; + width: 82%; + background-position: center center !important; + height: 145px; + box-shadow: 0 -6px 10px rgba(0, 0, 0, 0.1); + } + .card_excerpt { + @apply flex-grow relative w-full mx-auto mt-2 pb-4 text-left; + font-size: 16px; + line-height: 22px; + height: 80%; + width: 80%; + text-align: left; + z-index: 10; + } + + .card_stack .card_excerpt { + @apply mb-4; + } + .card_footer { + @apply py-3 px-4 w-full text-white font-bold text-xs relative; + z-index: 10; + box-shadow: 0 -6px 10px rgba(0, 0, 0, 0.1); + background: linear-gradient( + 0deg, + rgba(245, 82, 0, 1) 0%, + rgba(255, 154, 0, 1) 100% + ); + } + .card_stack .card_footer { + @apply w-full py-4; + background: rgba(255, 255, 255, 0.2); + } + + .flip_card { + position: relative; + -webkit-backface-visibility: hidden; + width: 280px !important; + height: 100%; + } + + .flip_card { + &.active .front { + transform: rotateY(-180deg); + transform-style: preserve-3d; + } + &.active .back { + transform: rotateY(0deg); + transform-style: preserve-3d; + } + + .tap { + @apply p-3; + position: relative; + top: 80%; + z-index: 9999; + color: white; + background: black; + } + + .tap-md { + @apply hidden; + } + + } + + +} diff --git a/src/assets/ui/core.scss b/src/assets/ui/core.scss new file mode 100644 index 00000000..e1b7c74c --- /dev/null +++ b/src/assets/ui/core.scss @@ -0,0 +1,134 @@ +@responsive { + .body_container { + width: 100vw; + overflow-x: hidden; + } + .section { + @apply w-full; + &.no-title { + @apply pt-8 pb-4; + } + p { + @apply mb-4; + } + &.section-full { + width: 100% !important; + } + } + + .section-md { + width: 100%; + } + + .wrapper { + @apply flex flex-col; + } + + .wrapper-md { + @apply mx-auto; + max-width: 960px; + } + + .section_image { + @apply mb-4; + flex-shrink: 0; + flex-basis: auto; + } + + .section_image-md { + @apply mr-6; + width: 400px; + } + + .content_wrapper { + @apply flex flex-col w-full relative; + z-index: 10; + } + + .content_wrapper-md { + @apply flex flex-row items-start; + } + + .section_title { + @apply font-display text-xl flex items-center font-bold text-left pb-2 mb-3 mx-auto; + } + + .section_title-md { + @apply text-3xl; + } + + .section_custom { + @apply flex flex-col; + } + + .section_custom-md { + @apply flex-row; + } + + .section_text { + @apply text-lg text-left; + } + + .section_text-md { + @apply border-gray-200 border-l pl-6; + } + + .section_video { + @apply w-full mr-4 pr-5; + } + + .section_custom.reverse { + @apply flex-col-reverse; + } + + .wrapper-md.reverse { + @apply flex-row-reverse; + } + + .wrapper-md.reverse .section_text { + @apply border-r pr-6 border-l-0 pl-0; + } + + .wrapper-md.reverse .section_image { + @apply mr-0 ml-6; + } + + .wrapper.reverse .section_video { + @apply ml-4 pl-5; + } + + .section_terms { + @apply w-full bg-black p-6 text-left flex; + } + + .partners_wrapper { + @apply flex flex-row justify-between my-4; + } + + .partners_wrapper-md { + @apply flex flex-row; + } + + .partner { + width: 100%; + height: 100px; + border-right: 1px solid #efefef; + + @apply flex flex-col bg-gray-100 items-center justify-center; + &:last-child { + border: none + } + img { + max-width: 80%; + margin: 0 auto; + } + } + .partner-md { + width: 33%; + height: 200px; + img { + max-width: 60%; + margin: 0 auto; + } + } +} diff --git a/src/assets/ui/icons.scss b/src/assets/ui/icons.scss new file mode 100644 index 00000000..0af38f2c --- /dev/null +++ b/src/assets/ui/icons.scss @@ -0,0 +1,94 @@ +@responsive { + +.toggle_menu { + @apply bg-gray-200 items-center ml-4; + border-radius: 4px; + overflow: hidden; + flex-shrink: 0; +} + +.toggle { + float: left; + width: 45px; + height: 40px; + background-size: 40% !important; +} + +.toggle:hover { + cursor: pointer; +} +.toggle.calendar { + background: url("data:image/svg+xml,%3Csvg width='48' height='44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-rule='nonzero'%3E%3Cpath d='M40 0H8C4 0 0 4 0 8v28c0 4 4 8 8 8h32c4 0 8-4 8-8V8c0-4-4-8-8-8zm0 40H8c-2 0-4-2-4-4V16h40v20c0 2-2 4-4 4z'/%3E%3Ccircle cx='12' cy='24' r='2'/%3E%3Ccircle cx='12' cy='32' r='2'/%3E%3Ccircle cx='20' cy='24' r='2'/%3E%3Ccircle cx='20' cy='32' r='2'/%3E%3Ccircle cx='28' cy='24' r='2'/%3E%3Ccircle cx='28' cy='32' r='2'/%3E%3Ccircle cx='36' cy='24' r='2'/%3E%3Ccircle cx='36' cy='32' r='2'/%3E%3C/g%3E%3C/svg%3E%0A") + no-repeat center center #efefef; +} + +.toggle.list { + background: url("data:image/svg+xml,%3Csvg width='88' height='76' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M9 75a8 8 0 110-16 8 8 0 010 16zm0-29a8 8 0 110-16 8 8 0 010 16zm0-29A8 8 0 119 1a8 8 0 010 16zm70 58H34a8 8 0 110-16h45a8 8 0 110 16zm0-29H34a8 8 0 110-16h45a8 8 0 110 16zm0-29H34a8 8 0 110-16h45a8 8 0 110 16z' fill-rule='nonzero'/%3E%3C/svg%3E%0A") + no-repeat center 53% #efefef; + background-size: 36% !important; + border-right: 1px solid white; +} + +.toggle.cards { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 120'%3E%3Cpath fill='rgba(0,0,0,0.6)' d='M43.6 82L31.9 22.8c-.4-1.7 0-3.4 1-4.8.9-1.4 2.3-2.3 4-2.7l3-.5-26.3-2.2A5 5 0 008 17L3 77.4a5 5 0 004.5 5.5L46.3 86a6.3 6.3 0 01-2.7-4z'/%3E%3Cpath fill='rgba(0,0,0,1)' d='M81.2 13a3.8 3.8 0 00-4.4-3L49 15.4l-11.7 2.3a3.8 3.8 0 00-3 4.5l11.8 59.4a3.8 3.8 0 004.4 3l1.6-.3L90 76.8c1-.2 1.9-.8 2.4-1.6s.8-1.9.6-2.9L81.2 13z'/%3E%3C/svg%3E%0A") + no-repeat center 75% #efefef; + background-size: 45% !important; +} + +.toggle.previous { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M85 22L43 64l42 42'/%3E%3C/svg%3E") no-repeat center 65% #efefef; + border-right: 1px solid white; +} + +.toggle.previous:active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M85 22L43 64l42 42'/%3E%3C/svg%3E") no-repeat center 65% #000; +} +.toggle.next:active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M43 22l42 42-42 42'/%3E%3C/svg%3E") no-repeat center 65% #000; +} + +.toggle.next { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 128 160'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='16' d='M43 22l42 42-42 42'/%3E%3C/svg%3E") no-repeat center 65% #efefef; +} + +.toggle.cards.active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 120'%3E%3Cpath fill='rgba(255,255,255,0.8)' d='M43.6 82L31.9 22.8c-.4-1.7 0-3.4 1-4.8.9-1.4 2.3-2.3 4-2.7l3-.5-26.3-2.2A5 5 0 008 17L3 77.4a5 5 0 004.5 5.5L46.3 86a6.3 6.3 0 01-2.7-4z'/%3E%3Cpath fill='rgba(255,255,255,1)' d='M81.2 13a3.8 3.8 0 00-4.4-3L49 15.4l-11.7 2.3a3.8 3.8 0 00-3 4.5l11.8 59.4a3.8 3.8 0 004.4 3l1.6-.3L90 76.8c1-.2 1.9-.8 2.4-1.6s.8-1.9.6-2.9L81.2 13z'/%3E%3C/svg%3E%0A") + no-repeat center 75% #000; + background-size: 45% !important; +} + +.toggle.grid { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 100 125'%3E%3Cpath fill='black' d='M35 0a32 32 0 015 2c3 2 4 6 4 10v21c0 5-2 8-6 10a13 13 0 01-5 1H12c-6 0-10-3-12-9V9c1-3 2-5 5-7a41 41 0 015-2h25zM0 65a34 34 0 012-5 10 10 0 019-4h23a11 11 0 0111 11v22c-1 6-5 11-11 11H11c-5 0-9-3-11-9V65zM90 0a14 14 0 016 3 10 10 0 014 7v23a11 11 0 01-12 11H67c-6 0-11-4-11-10a478 478 0 010-23c0-6 3-10 9-11h25zm10 78v12a11 11 0 01-10 10H66a10 10 0 01-10-10V66a10 10 0 0110-10h24a11 11 0 0110 10v12z'/%3E%3C/svg%3E%0A") + no-repeat center 65% #efefef; + background-size: 34% !important; + border-right: 1px solid white; +} + +.toggle.grid.active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' viewBox='0 0 100 125'%3E%3Cpath fill='white' d='M35 0a32 32 0 015 2c3 2 4 6 4 10v21c0 5-2 8-6 10a13 13 0 01-5 1H12c-6 0-10-3-12-9V9c1-3 2-5 5-7a41 41 0 015-2h25zM0 65a34 34 0 012-5 10 10 0 019-4h23a11 11 0 0111 11v22c-1 6-5 11-11 11H11c-5 0-9-3-11-9V65zM90 0a14 14 0 016 3 10 10 0 014 7v23a11 11 0 01-12 11H67c-6 0-11-4-11-10a478 478 0 010-23c0-6 3-10 9-11h25zm10 78v12a11 11 0 01-10 10H66a10 10 0 01-10-10V66a10 10 0 0110-10h24a11 11 0 0110 10v12z'/%3E%3C/svg%3E%0A") + no-repeat center 65% #000; + background-size: 34% !important; +} + +.toggle.calendar.active { + background: url("data:image/svg+xml,%3Csvg width='48' height='44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-rule='nonzero'%3E%3Cpath d='M40 0H8C4 0 0 4 0 8v28c0 4 4 8 8 8h32c4 0 8-4 8-8V8c0-4-4-8-8-8zm0 40H8c-2 0-4-2-4-4V16h40v20c0 2-2 4-4 4z'/%3E%3Ccircle cx='12' cy='24' r='2'/%3E%3Ccircle cx='12' cy='32' r='2'/%3E%3Ccircle cx='20' cy='24' r='2'/%3E%3Ccircle cx='20' cy='32' r='2'/%3E%3Ccircle cx='28' cy='24' r='2'/%3E%3Ccircle cx='28' cy='32' r='2'/%3E%3Ccircle cx='36' cy='24' r='2'/%3E%3Ccircle cx='36' cy='32' r='2'/%3E%3C/g%3E%3C/svg%3E%0A") + no-repeat center center #000; +} + +.toggle.list.active { + background: url("data:image/svg+xml,%3Csvg width='88' height='76' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M9 75a8 8 0 110-16 8 8 0 010 16zm0-29a8 8 0 110-16 8 8 0 010 16zm0-29A8 8 0 119 1a8 8 0 010 16zm70 58H34a8 8 0 110-16h45a8 8 0 110 16zm0-29H34a8 8 0 110-16h45a8 8 0 110 16zm0-29H34a8 8 0 110-16h45a8 8 0 110 16z' fill-rule='nonzero'/%3E%3C/svg%3E%0A") + no-repeat center 53% #000; + background-size: 36% !important; +} + +.toggle.search_list_mobile { + width: 40px; + height: 40px; + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125'%3E%3Cpath fill='rgba(0,0,0,0.7)' d='M47.1 32.6a14.6 14.6 0 100 29.2 14.6 14.6 0 000-29.2z'/%3E%3Cpath fill='rgba(0,0,0,0.7)' d='M50.1 1.4a48.7 48.7 0 100 97.4 48.7 48.7 0 000-97.4zm23.7 73.7c-.7.7-1.8 1.1-3 1.1s-2.2-.4-3-1.1l-9.2-9.2-.9.5a21.9 21.9 0 117.7-7.1l-.6 1 9.1 9.1c.7.8 1.2 1.8 1.2 2.9-.1 1-.5 2-1.3 2.8z'/%3E%3C/svg%3E") no-repeat center 3px; + background-size: 84% !important; + &.active { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125'%3E%3Cpath d='M47.1 32.6a14.6 14.6 0 100 29.2 14.6 14.6 0 000-29.2z'/%3E%3Cpath d='M50.1 1.4a48.7 48.7 0 100 97.4 48.7 48.7 0 000-97.4zm23.7 73.7c-.7.7-1.8 1.1-3 1.1s-2.2-.4-3-1.1l-9.2-9.2-.9.5a21.9 21.9 0 117.7-7.1l-.6 1 9.1 9.1c.7.8 1.2 1.8 1.2 2.9-.1 1-.5 2-1.3 2.8z'/%3E%3C/svg%3E") no-repeat center 3px; + } +} + +} diff --git a/src/assets/ui/slider.scss b/src/assets/ui/slider.scss new file mode 100644 index 00000000..35ac7fed --- /dev/null +++ b/src/assets/ui/slider.scss @@ -0,0 +1,78 @@ +@responsive { + + + .slider_container { + @apply flex mx-auto border rounded-lg overflow-hidden; + overflow: hidden; + width: 90%; + } + + .slider_container-md { + @apply w-full; + } + + .slide { + @apply flex relative mx-auto justify-start flex-row bg-gray-100; + height: 20em; + width: 90%; + transition: transform .75s ease-in-out; + } + + .slide .excerpt { + @apply w-1/2 p-6 hidden text-lg flex items-center h-full font-light; + display: none; + } + + .slide .excerpt-md { + @apply flex; + } + + .slide .item_post { + @apply flex justify-start items-center h-full px-0 w-full; + background-size: cover; + background-repeat: no-repeat !important; + background-position: 0 center !important; + } + + .slide .item_post-md { + @apply w-1/2; + } + + + .slide .item_title { + @apply w-full text-lg inline-block w-full font-bold; + h4 { + @apply w-full py-3 px-5; + font-weight: bold; + background: #2EA48A; + color: white; + display: block; + } + } + + .slide { + .item_title-md { + @apply pr-4 text-xl font-bold; + line-height: 45px; + h4 { + display: inline; + box-decoration-break: clone; + -webkit-box-decoration-break: clone; + padding: 10px 10px; + } + } + .slide_excerpt { + @apply px-4 pt-4; + } + .slide_excerpt-md { + @apply px-0; + } + } + + + .slide .image { + @apply w-full h-full p-3 absolute flex flex-col justify-end items-start bg-cover; + background-position: center center !important; + } + +} diff --git a/src/components/Card.vue b/src/components/Card.vue old mode 100644 new mode 100755 diff --git a/src/components/Carousel.vue b/src/components/Carousel.vue old mode 100644 new mode 100755 index 766515b3..49ed3091 --- a/src/components/Carousel.vue +++ b/src/components/Carousel.vue @@ -1,18 +1,18 @@ @@ -21,50 +21,86 @@ export default { data () { return { - slides: [ - { - title: 'I am Slide A', - id: 1 - }, - { - title: 'I am Slide B', - id: 2 - }, - { - title: 'I am Slide C', - id: 3 - }, - { - title: 'I am Slide D', - id: 4 - }, - { - title: 'I am Slide E', - id: 5 - } - ] + slideIndex: 0, + slideCount: 3, + slides: [], + play: false } }, methods: { next () { - const first = this.slides.shift() - this.slides = this.slides.concat(first) + var slideCount = this.slideCount; + if (this.$mq == "sm") { + slideCount = 1; + }; + if (this.slideIndex + slideCount >= this.slides.length) { + this.slideIndex = 0 + } else { + this.slideIndex = this.slideIndex + slideCount; + }; }, previous () { - const last = this.slides.pop() - this.slides = [last].concat(this.slides) + var slideCount = this.slideCount; + if (this.$mq == "sm") { + slideCount = 1; + }; + if (this.slideIndex - slideCount < 0) { + this.slideIndex = 0 + } else { + this.slideIndex = this.slideIndex - slideCount; + }; + }, + getImg(value) { + return require('../../' + value); + }, + clear_interval() { + if (this.interval) { + clearInterval(this.interval); + this.interval = false; + } + }, + toggle_play() { + if (this.autoplay && this.interval) { + this.play = false; + this.clear_interval(); + } + if (this.autoplay && !this.interval) { + var self = this; + this.interval = setInterval(function() { + self.next(); + }, this.autoplay); + this.play = true; + } } }, created() { - if (this.custom.length) { - this.slides = this.custom.slice(0); - } + this.slides = this.custom.content.slice(0); + if (this.$mq == "sm") { + this.slideCount = 3; + } else { + this.slideCount = 1; + }; + if (this.autoplay != undefined) { + this.toggle_play(this.autoplay); + }; }, - props: ["custom", "display"] + props: ["custom", "display", "autoplay"] } \ No newline at end of file diff --git a/src/components/Custom.vue b/src/components/Custom.vue old mode 100644 new mode 100755 index 855f9ea8..e088a2f7 --- a/src/components/Custom.vue +++ b/src/components/Custom.vue @@ -1,42 +1,42 @@ + \ No newline at end of file diff --git a/src/components/FlipCard.vue b/src/components/FlipCard.vue index 51059dbc..0d445dd4 100755 --- a/src/components/FlipCard.vue +++ b/src/components/FlipCard.vue @@ -1,16 +1,16 @@ diff --git a/src/components/Form.vue b/src/components/Form.vue old mode 100644 new mode 100755 index 60b9f3a8..c68633b7 --- a/src/components/Form.vue +++ b/src/components/Form.vue @@ -1,20 +1,20 @@