From 8ca9f2a58c98d670c8a834317a15d753405cbf91 Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Tue, 31 Mar 2020 16:11:11 -0400 Subject: [PATCH] add community page css --- website/pages/community/index.jsx | 16 ++++++++-------- website/pages/community/style.css | 8 ++++++++ website/pages/style.css | 1 + 3 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 website/pages/community/style.css diff --git a/website/pages/community/index.jsx b/website/pages/community/index.jsx index f518dd352..81d1381e1 100644 --- a/website/pages/community/index.jsx +++ b/website/pages/community/index.jsx @@ -4,7 +4,7 @@ import Head from 'next/head' export default function CommunityPage() { return ( -
+
Community | Packer by HashiCorp @@ -17,33 +17,33 @@ export default function CommunityPage() { data={[ { header: 'IRC', - body: '`#packer-tool` on Freenode' + body: '`#packer-tool` on Freenode', }, { header: 'Announcement List', 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', body: - '[Packer Google Group](https://groups.google.com/group/packer-tool)' + '[Packer Google Group](https://groups.google.com/group/packer-tool)', }, { header: 'Community Forum', body: - '[Packer Community Forum](https://discuss.hashicorp.com/c/packer)' + '[Packer Community Forum](https://discuss.hashicorp.com/c/packer)', }, { header: 'Bug Tracker', 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', 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.', + }, ]} />
diff --git a/website/pages/community/style.css b/website/pages/community/style.css new file mode 100644 index 000000000..6ec5efb6a --- /dev/null +++ b/website/pages/community/style.css @@ -0,0 +1,8 @@ +#p-community { + max-width: var(--site-max-width); + margin: 72px auto; + + & .g-section-header { + margin-bottom: 100px; + } +} diff --git a/website/pages/style.css b/website/pages/style.css index 39a3fc7cd..99c209df6 100644 --- a/website/pages/style.css +++ b/website/pages/style.css @@ -37,6 +37,7 @@ /* Local Pages */ @import './home/style.css'; @import './downloads/style.css'; +@import './community/style.css'; /* Print Styles */ @import './print.css';