add community page css

This commit is contained in:
Jeff Escalante 2020-03-31 16:11:11 -04:00
parent 8d917b6f77
commit 8ca9f2a58c
No known key found for this signature in database
GPG Key ID: 32D23C61AB5450DB
3 changed files with 17 additions and 8 deletions

View File

@ -4,7 +4,7 @@ import Head from 'next/head'
export default function CommunityPage() { export default function CommunityPage() {
return ( return (
<div id="community"> <div id="p-community">
<Head> <Head>
<title key="title">Community | Packer by HashiCorp</title> <title key="title">Community | Packer by HashiCorp</title>
</Head> </Head>
@ -17,33 +17,33 @@ export default function CommunityPage() {
data={[ data={[
{ {
header: 'IRC', header: 'IRC',
body: '`#packer-tool` on Freenode' body: '`#packer-tool` on Freenode',
}, },
{ {
header: 'Announcement List', header: 'Announcement List',
body: body:
'[HashiCorp Announcement Google Group](https://groups.google.com/group/hashicorp-announce)' '[HashiCorp Announcement Google Group](https://groups.google.com/group/hashicorp-announce)',
}, },
{ {
header: 'Discussion List', header: 'Discussion List',
body: body:
'[Packer Google Group](https://groups.google.com/group/packer-tool)' '[Packer Google Group](https://groups.google.com/group/packer-tool)',
}, },
{ {
header: 'Community Forum', header: 'Community Forum',
body: body:
'[Packer Community Forum](https://discuss.hashicorp.com/c/packer)' '[Packer Community Forum](https://discuss.hashicorp.com/c/packer)',
}, },
{ {
header: 'Bug Tracker', header: 'Bug Tracker',
body: body:
'[Issue tracker on GitHub](https://github.com/hashicorp/packer/issues). Please only use this for reporting bugs. Do not ask for general help here. Use IRC or the mailing list for that.' '[Issue tracker on GitHub](https://github.com/hashicorp/packer/issues). Please only use this for reporting bugs. Do not ask for general help here. Use IRC or the mailing list for that.',
}, },
{ {
header: 'Training', header: 'Training',
body: body:
'Paid [HashiCorp training courses](https://www.hashicorp.com/training) are also available in a city near you. Private training courses are also available.' 'Paid [HashiCorp training courses](https://www.hashicorp.com/training) are also available in a city near you. Private training courses are also available.',
} },
]} ]}
/> />
</div> </div>

View File

@ -0,0 +1,8 @@
#p-community {
max-width: var(--site-max-width);
margin: 72px auto;
& .g-section-header {
margin-bottom: 100px;
}
}

View File

@ -37,6 +37,7 @@
/* Local Pages */ /* Local Pages */
@import './home/style.css'; @import './home/style.css';
@import './downloads/style.css'; @import './downloads/style.css';
@import './community/style.css';
/* Print Styles */ /* Print Styles */
@import './print.css'; @import './print.css';