-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from torontojs/feat/report
Feat/report
- Loading branch information
Showing
5 changed files
with
199 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
import SiteNav from '../components/SiteNav/index.astro'; | ||
import SkipToContent from '../components/SkipToContent/index.astro'; | ||
import BaseLayout from '../layouts/Base/index.astro'; | ||
import '../styles/report.css'; | ||
const BLOG_URL = Astro.site?.href; | ||
--- | ||
<BaseLayout | ||
htmlTitle={['Report', 'Toronto JS Blog']} | ||
title="Report Toronto JS Blog" | ||
url={`${BLOG_URL}report`} | ||
description="Submitting a report to TorontoJS." | ||
tags={['development', 'javascript', 'toronto', 'community', 'blog']} | ||
> | ||
<SkipToContent slot="header" /> | ||
<header slot="header"> | ||
<SiteNav /> | ||
<div class="fullWidth"> | ||
<h1>Report Violation</h1> | ||
</div> | ||
</header> | ||
|
||
<div> | ||
<div class="spaceMain"> | ||
<p class="centering">Did you experience something questionable at a Toronto JS event, or on our discussion channels? Feel free to direct others to our Code Of Conduct. | ||
</p> | ||
<p class="centering">Our organizers, moderators and volunteers want to maintain a welcoming environment free of abuse, harassment, or discrimination.</p> | ||
</div> | ||
<div class="spaceMain"> | ||
<h3 class="centering">Please provide the following information:</h3> | ||
<p class="centering"> | ||
the time and place the harassment took place, the member(s) involved in the violation, any surrounding details you think are relevant to the report. | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<form> | ||
<label for="name"> | ||
Name | ||
</label> | ||
<input id="name" /> | ||
<label for="email"> | ||
Email (required) | ||
</label> | ||
<input type="email" id="email" required /> | ||
<label for="comment"> | ||
Explain what happened (required) | ||
</label> | ||
<textarea name="comment" id="comment" required></textarea> | ||
<button type="submit" value="submit">Submit</button> | ||
</form> | ||
</div> | ||
</BaseLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
.fullWidth { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
/* max-inline-size is the problem here, nested style for h2 */ | ||
} | ||
|
||
h1 { | ||
font-size: 3rem; | ||
text-align: center; | ||
} | ||
|
||
.spaceMain { | ||
display: block; | ||
width: 100%; | ||
text-align: center; | ||
padding: 2rem; | ||
} | ||
|
||
.centering { | ||
margin: auto; | ||
} | ||
|
||
.buttonStyle { | ||
background-color: white; | ||
width: 3.5rem; | ||
height: 2.5rem; | ||
border-radius: 10px; | ||
border: 2px solid black; | ||
} |