Commit 77e73438 authored by Yorrd's avatar Yorrd
Browse files

fix: update Logo and layout on landing page

parent 7e9d67c3
Pipeline #1698 passed with stages
in 11 minutes and 10 seconds
......@@ -23,3 +23,4 @@ accounts-password@1.6.0
fourseven:scss
ostrio:files
typescript@3.7.5
email
import 'imports/meteor-polyfill';
import '../../imports/client/main-element';
import './web-worker';
......
......@@ -16,9 +16,9 @@ export class CCBLandingPage extends EmotionMixin(ScopingElement) {
switch (page) {
case '':
return html`
<a-stack size="xl">
<a-stack size="xl" style=${{ marginTop: spacing.xxl }}>
<a-inline horizontal size="lg" padding="xl" style=${{ width: `calc(100vw - ${spacing.xl} * 2)` }}>
<a-stack size="md" class="${this.css({ flex: '1', paddingTop: spacing.xxl })}">
<a-stack size="md" class="${this.css({ flex: '1' })}">
<ccb-text style=${{ fontWeight: 'bold' }}> Unsere Mission </ccb-text>
<ccb-text>
Wir sind ein Team aus Tech und Legal Begeisterten und haben im Rahmen des #wirvsvirus Hackathon
......@@ -43,21 +43,42 @@ export class CCBLandingPage extends EmotionMixin(ScopingElement) {
Beitrag zur Bewältigung der aktuellen Krise leisten.
</ccb-text>
<!-- <a-inline size="md"> -->
<a-stack class="${this.css({ alignItems: 'center' })}" size="md">
<a-link href="/aboutus">
<ccb-button> Über uns </ccb-button>
</a-link>
</a-stack>
<a-stack class="${this.css({ alignItems: 'center' })}" size="md">
<a-link href="mailto:dialog@coronalegalchatbot.de">
<ccb-button secondary> Jetzt kontaktieren </ccb-button>
</a-link>
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/0l38cOidQGo"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
</a-stack>
<!-- </a-inline> -->
</a-stack>
<a-stack size="md" class="${this.css({ flex: '1', justifyContent: 'center', minWidth: '300px' })}">
<a-stack size="lg" centered class="${this.css({ flex: '1', minWidth: '300px' })}">
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/0l38cOidQGo"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
<a-inline size="md">
<a-link href="https://t.me/CoronaLegalChatBot" target="_blank">
<ccb-button class="${this.css({ width: '100%' })}">
Zum Legal Chatbot für&nbsp;<b>Fragende</b> auf Telegram
</ccb-button>
</a-link>
<a-link href="/contentadmin">
<ccb-button secondary class="${this.css({ width: '100%' })}">
Zum Autorentool
</ccb-button>
</a-link>
</a-inline>
<a-stack size="md" class="${this.css({ alignItems: 'center' })}">
<ccb-text style=${{ fontStyle: 'italic', textAlign: 'center' }}>
Diese Demo speist sich aus etwa 100 Beispiel-Antworten und kann den Inhalten Deiner Behörde
......@@ -65,21 +86,9 @@ export class CCBLandingPage extends EmotionMixin(ScopingElement) {
demonstriert werden.
</ccb-text>
</a-stack>
<a-link href="https://t.me/CoronaLegalChatBot" target="_blank">
<ccb-button class="${this.css({ width: '100%' })}">
Zum Legal Chatbot für&nbsp;<b>Fragende</b> auf Telegram
</ccb-button>
</a-link>
<a-link href="/contentadmin">
<ccb-button secondary class="${this.css({ width: '100%' })}">
Zum Autorentool
</ccb-button>
</a-link>
</a-stack>
</a-inline>
<a-stack size="xl" class="${this.css({ alignItems: 'center' })}">
<ccb-h4>Unsere Partner:</ccb-h4>
<a-stack size="xl" class="${this.css({ alignItems: 'center', marginTop: '200px' })}">
<a-box padding="xl">
<a-inline horizontal size="xl" class="${this.css({ opacity: '0.6', justifyContent: 'center' })}">
<a-link href="https://www.ksb-intax.de/" target="_blank">
......@@ -273,7 +282,7 @@ export class CCBLandingPage extends EmotionMixin(ScopingElement) {
private wirvsvirusLogo() {
return html`
<img
src="/wirvsviruslogo.png"
src="/wirvsviruslogo_solutionenabler.png"
class="${this.css({
marginLeft: 'auto',
marginRight: 'auto',
......
......@@ -33,16 +33,28 @@ export class MainElement extends Loader(AdornisLayout) {
public topBar() {
return html`
${Meteor.absoluteUrl().includes('livelinks')
? html`
<div
style="position: absolute; top: 0; left: 0; width: 100%; background-color: red; color: white; font-weight: bold; height: 40px"
>
Hier nicht eintragen, Testumgebung
</div>
`
: ''}
<ccb-topbar @toggle-sidebar="${() => this.toggleLeftSidebar()}"></ccb-topbar>
${AdornisRouter.get('page').pipe(
map(page =>
page === ''
? html`
<a-box padding="lg" style=${{ width: '100vw' }} centered>
<img src="/coronalogo.png" style=${{ height: '64px' }} />
</a-box>
`
: html`
${Meteor.absoluteUrl().includes('livelinks') && false
? html`
<div
style="position: absolute; top: 0; left: 0; width: 100%; background-color: red; color: white; font-weight: bold; height: 40px"
>
Hier nicht eintragen, Testumgebung
</div>
`
: ''}
<ccb-topbar @toggle-sidebar="${() => this.toggleLeftSidebar()}"></ccb-topbar>
`,
),
)}
`;
}
......
Subproject commit fdb4bd9bdcd819ce8f4ae03303574ca615de4985
Subproject commit df2cb9e5ef90a521027b1705d3f8a50901b04f11
Subproject commit 0ab84333f23142006772f412f0d485d4c7dec094
Subproject commit d955ce8d97ab67a2925e476264a37ff0cbc17e22
Subproject commit 162ac64f5e009c09e96f0dc772e1483b0b894247
Subproject commit ada1a32d42002ea8e9c922c467db756d18e23a06
Subproject commit 67b52f73a329101e4a26c3d277472b9399e39ef5
Subproject commit 86a6f8fca90a4dbdaafd9aba99cc0eab22d1927e
Subproject commit afd03575456330ca22553e49ecf9d42efacb4b8c
Subproject commit 89aab9615a6fce0b8cef68f9cc8105bfa0211b86
Subproject commit e402c7f2257b2debaf19db0a62a4a12b9fb67f3c
Subproject commit e75c1b0d3552fdcd3499521cfecb99c51646bb79
Subproject commit 694802b58eeaaae6faaaa3fcd1a99ab9a6634eae
Subproject commit 95ed5be6d61298e12618cc3b9ef7f732b8ae9eb5
Subproject commit 9a98ea5e4d06adb115d5ff06f986e7aa97566199
Subproject commit 887fef22a7906b6ab5583c2f4e0464e7f8316b8e
eval(`
const { EJSON: x1 } = require('meteor/ejson');
EJSON = x1;
const { Email: x2 } = require('meteor/email');
Email = x2;
const { WebApp: x3 } = require('meteor/webapp');
WebApp = x3;
const { Meteor: x4 } = require('meteor/meteor');
Meteor = x4;
const { Mongo: x5 } = require('meteor/mongo');
Mongo = x5;
`);
import 'imports/meteor-polyfill';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment