[frontend] Add hoodpage explanation to hoodsettings
This commit is contained in:
parent
09810680e8
commit
e9020957b5
|
@ -9,17 +9,48 @@
|
||||||
</mat-panel-title>
|
</mat-panel-title>
|
||||||
</mat-expansion-panel-header>
|
</mat-expansion-panel-header>
|
||||||
<p>
|
<p>
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis
|
The public hood page is an customizable site you can use to tell hood
|
||||||
malesuada orci justo, id cursus orci bibendum ac. Nulla ut sapien a
|
users about the hood, how to use it and give other context. You can
|
||||||
dolor sodales facilisis at ac lacus. Nam nulla felis, malesuada id
|
send the link to the public hood page to advertise for your hood. The
|
||||||
pharetra varius, congue luctus magna. Duis et tellus pretium, euismod
|
public hood page will automatically include your configured platforms
|
||||||
ipsum nec, fringilla orci. Sed dapibus at velit id posuere. Aenean at
|
and direct the users on how to subscribe on their beloved platform.
|
||||||
nunc sed arcu malesuada dapibus. Nunc quis rutrum diam. Morbi placerat
|
</p>
|
||||||
diam sit amet tincidunt hendrerit. Cras viverra, tortor sed congue
|
<p>
|
||||||
congue, dui ante lobortis purus, quis elementum tortor nulla vel mi.
|
<strong>Link to your hood page:</strong>
|
||||||
Etiam nec leo consectetur lorem fringilla commodo. Duis lectus est,
|
<a
|
||||||
vulputate sit amet ipsum eget, efficitur condimentum diam. Duis eget
|
mat-icon-button
|
||||||
quam est. Ut et semper turpis. Aliquam eget fermentum sem.
|
[routerLink]="['/hoods', hoodId]"
|
||||||
|
target="_blank"
|
||||||
|
aria-label="Open in new tab"
|
||||||
|
>
|
||||||
|
<mat-icon>open_in_new</mat-icon>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<strong>Configuring your hood page: </strong> Below there are two
|
||||||
|
boxes. You can use the
|
||||||
|
<strong>
|
||||||
|
left box to type in the text you want to appear on your
|
||||||
|
hoodpage</strong
|
||||||
|
>. You can preview your text in the right box.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<strong>Use Markdown to format your text: </strong> You can use the
|
||||||
|
markdown syntax to insert headings, bold text, italic text and so on.
|
||||||
|
A
|
||||||
|
<a
|
||||||
|
href="https://guides.github.com/features/mastering-markdown/#syntax"
|
||||||
|
target="_blank"
|
||||||
|
>tutorial for the basic syntax can be found here</a
|
||||||
|
>. Just play around and use the preview to check your style. When you
|
||||||
|
are satisfied, click the <strong>Save-Button</strong> to save your
|
||||||
|
input and review your public hood page.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<strong>Share the hood page: </strong> Just send the link to your hood
|
||||||
|
page to your community. We also recommend to link it in your platform
|
||||||
|
account description (e.g. Twitter description) to give the users
|
||||||
|
context and more information.
|
||||||
</p>
|
</p>
|
||||||
</mat-expansion-panel>
|
</mat-expansion-panel>
|
||||||
</mat-accordion>
|
</mat-accordion>
|
||||||
|
|
|
@ -15,7 +15,18 @@ export class HoodpageComponent implements OnInit {
|
||||||
|
|
||||||
constructor(private hoodsService: HoodsService) {}
|
constructor(private hoodsService: HoodsService) {}
|
||||||
|
|
||||||
markdown = `# TODO Hoodpage`;
|
markdown = `## Welcome to the hood!
|
||||||
|
|
||||||
|
We are a community in xyz-city that supports each other.
|
||||||
|
Here you can find all platforms where you can communicate
|
||||||
|
to members of communities and announce neighborhood festivals,
|
||||||
|
ask your neighbors for help or just make contact.
|
||||||
|
|
||||||
|
You only need one of the plaforms below.
|
||||||
|
Subscribe to this hood as described. If you want to broadcast a message just
|
||||||
|
tweet/direct message/mail to the subscribed platform as you know it and the
|
||||||
|
bots will distribute your message to all subscribers on other platforms.
|
||||||
|
`;
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.hoodsService.getHood(this.hoodId).subscribe((hood) => {
|
this.hoodsService.getHood(this.hoodId).subscribe((hood) => {
|
||||||
|
|
Loading…
Reference in a new issue