site-libsoc/Server/app/svelte/src/join-us-component.svelte

167 lines
4.5 KiB
Svelte
Raw Normal View History

2023-06-24 04:39:41 +07:00
<svelte:options tag="join-us-component" />
<script>
// Import statements
import { onMount } from 'svelte'
2023-06-24 20:44:16 +07:00
import { addMarkersGroups } from '/js/groups.js'
import { addMarkersCoops } from '/js/coops.js'
import { addMarkersCommunities } from '/js/communities.js'
2023-06-24 04:39:41 +07:00
// Import components
// Main code
2023-06-24 20:44:16 +07:00
// Import components
import "/js/components/map-component.js"
// Main code
export function mapCallback(createMap) {
let map = createMap([51.505, -0.09],3)
addMarkersGroups(map)
addMarkersCoops(map)
addMarkersCommunities(map)
}
2023-06-24 04:39:41 +07:00
onMount(() => {
})
</script>
2023-06-24 20:44:16 +07:00
Are you against exploitation of one human being by another?
Do you agree that we should cooperate and not compete with each other?
In that case, you are already a libertarian socialist. Join us
FInd our group, community or cooperative near you and join in order to make a world we both envision a reality.
None of them near you? Not a problem! Join our WhatsApp group and we will help you get started.
<div id="container">
<div id="text-container">
2023-06-27 16:31:28 +07:00
<h1>Join Us</h1>
2023-06-27 03:45:31 +07:00
<img src="/img/common/join-group.svg" id="join-group" alt="join group">
2023-06-27 16:31:28 +07:00
<ol id="condition-list">
<li>Are you against dictatorship and in favor of democracy?</li>
<li>Are you against exploitation of one human being by another?</li>
<li>Do you agree that we should cooperate and not compete with each other?</li>
2023-06-24 20:44:16 +07:00
<p>If the answer is <b>YES</b>, then you are already a libertarian socialist. <b>JOIN US!</b></p>
2023-06-27 16:31:28 +07:00
</ol>
<h2>What You Will Get</h2>
<ol id="value-proposition-list">
<li>A community that is always ready to help with all your troubles;</li>
<li>Access to the means of production of our cooperatives;</li>
<li>Products and services at the cost of production or even for free;</li>
<li>Monetary and non-monetary help with opening your own cooperative;</li>
<p>and much more!</p>
</ol>
<h2>Find Us</h2>
2023-06-24 20:44:16 +07:00
<div id="call-to-action-list">
<p>Find our</p>
<ol>
2023-06-26 00:39:06 +07:00
<li><a href="/groups">group</a>,</li>
<li><a href="/communities">community</a> or</li>
<li><a href="/cooperatives">cooperative</a></li>
2023-06-24 20:44:16 +07:00
</ol>
<p>near you and join to help make a world we both envision a reality.</p>
</div>
2023-06-27 04:02:39 +07:00
<p>None of them near you? Not a problem! Join our <a href="https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh" target="_blank" rel=noreferrer>WhatsApp group</a> or <a href="https://discord.gg/xAPZmyr8B6" target="_blank" rel=noreferrer>Discord server</a> and we will help you start your own.</p>
2023-06-24 20:44:16 +07:00
<map-component id="map" callback={mapCallback}></map-component>
</div>
</div>
2023-06-24 04:39:41 +07:00
<style>
@import '/css/common.css';
2023-06-27 16:31:28 +07:00
h2 {
margin-bottom: 1rem;
}
#value-proposition-list {
margin-bottom: 2rem;
}
#value-proposition-list > li {
margin-bottom: 1rem;
}
ol li {
position: relative;
font-family: var(--serif,serif);
2023-06-27 16:49:27 +07:00
margin-left: 1.5rem;
2023-06-27 16:31:28 +07:00
list-style-position: outside
}
2023-06-27 03:45:31 +07:00
#join-group {
position: absolute;
width: 10.5rem;
height: auto;
left: calc(50% + 1.2rem);
transform: translate(-50%);
z-index: 0;
opacity: 0.2;
}
2023-06-24 20:44:16 +07:00
#map {
--height: 30rem;
--width: 100%;
--margin-bottom: 3rem;
}
2023-06-27 16:31:28 +07:00
#call-to-action-list > ol>li {
2023-06-24 20:44:16 +07:00
position: relative;
font-family: var(--serif,serif);
2023-06-27 16:49:27 +07:00
margin-left: 3rem;
2023-06-24 20:44:16 +07:00
}
#condition-list {
margin-bottom: 2rem;
2023-06-27 03:45:31 +07:00
margin-top: 7rem;
2023-06-24 20:44:16 +07:00
}
2023-06-27 16:31:28 +07:00
#condition-list>li {
2023-06-24 20:44:16 +07:00
margin-bottom: 1rem;
}
#text-container {
max-width: calc(100vw - 4rem);
margin: auto;
}
h1 {
margin-bottom: 1rem;
2023-06-28 18:00:41 +07:00
font-size: 2.2rem;
2023-06-24 20:44:16 +07:00
text-align: center;
}
#container {
margin: auto;
2023-06-28 21:17:51 +07:00
max-width: 1000px;
2023-06-24 20:44:16 +07:00
margin-top: 1rem;
margin-bottom: 4rem;
}
#container>div>p {
margin-bottom: 1rem;
}
#call-to-action-list>p {
margin-bottom: 1rem;
}
#call-to-action-list>:nth-child(2) {
margin-bottom: 0rem;
}
#call-to-action-list>ol>li {
margin-bottom: 0.5rem;
}
#text-container a {
color: #DD1C1A
}
#container p {
text-align: justify;
}
2023-06-24 04:39:41 +07:00
</style>