-
Notifications
You must be signed in to change notification settings - Fork 479
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 #26592 from code-dot-org/dedup-resource-card
Dedup HAML/React - Regional Partner Playbook
- Loading branch information
Showing
6 changed files
with
213 additions
and
68 deletions.
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
144 changes: 144 additions & 0 deletions
144
apps/src/sites/code.org/pages/public/educate/regional-partner/RegionalPartnerPlaybook.jsx
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,144 @@ | ||
import React, { Component } from 'react'; | ||
|
||
import ResourceCard from '@cdo/apps/templates/studioHomepages/ResourceCard'; | ||
import ResourceCardResponsiveContainer from '@cdo/apps/templates/studioHomepages/ResourceCardResponsiveContainer'; | ||
|
||
const CARDS = [ | ||
{ | ||
title: 'Administrator and Counselor PD', | ||
description: | ||
'* How-To Guide <br> * Set Your Agenda<br> * Logistics (Venue, Catering)<br> * Supplies & Resources', | ||
link: '/educate/regional-partner/playbook/administrator', | ||
}, | ||
|
||
{ | ||
title: 'Advocacy', | ||
description: | ||
'Links to resources and websites to help you advocate for K-12 computer science policy in your state', | ||
link: '/educate/regional-partner/playbook/advocacy', | ||
}, | ||
|
||
{ | ||
title: 'Communications and Branding', | ||
description: | ||
'* Weekly Update Email Archive<br> * Code.org Comms to Teachers<br> * Workshop & Email Comms.<br> * Branding Guidelines', | ||
link: '/educate/regional-partner/playbook/communications', | ||
}, | ||
|
||
{ | ||
title: 'Community Building', | ||
description: | ||
'* Resources & Ideas<br> * Community Events for Teachers<br> * CS Fair for Students', | ||
link: '/educate/regional-partner/playbook/community', | ||
}, | ||
|
||
{ | ||
title: 'Data', | ||
description: '* Resources & Ideas<br> * How to use the data dashboard', | ||
link: '/educate/regional-partner/playbook/data', | ||
}, | ||
|
||
{ | ||
title: 'Facilitator Support', | ||
description: | ||
'* 1-Pager & Contract Exemplars <br> * Facilitator Recruitment Resources <br> * Facilitator Support Resources <br> * Facilitator Payments', | ||
link: '/educate/regional-partner/playbook/facilitator-support', | ||
}, | ||
|
||
{ | ||
title: 'Fundraising Resources', | ||
description: '* Organization Sustainability <br> * Fundraising Playbook', | ||
link: '/educate/regional-partner/playbook/funding', | ||
}, | ||
|
||
{ | ||
title: 'Ordering Supplies', | ||
description: | ||
'* Accessing Mimeo <br> * How to Order Supplies <br> * Printable Certificates <br> * Admin/Counselor Supplies ', | ||
link: '/educate/regional-partner/playbook/ordering-supplies', | ||
}, | ||
|
||
{ | ||
title: 'Regional Partner Network', | ||
description: | ||
'Access the Regional Partner Directory and learn more about the Advisory Committee', | ||
link: '/educate/regional-partner/playbook/directory', | ||
}, | ||
|
||
{ | ||
title: 'Payment Information', | ||
description: | ||
'Everything you need to know about how your organization will be compensated', | ||
link: '/educate/regional-partner/playbook/payments', | ||
}, | ||
|
||
{ | ||
title: 'Reporting and Evaluations', | ||
description: | ||
'* Annual Report Requirements<br> * Post Workshop Feedback Form<br> * Regional Partner Annual Planning', | ||
link: '/educate/regional-partner/playbook/reporting-and-evaluations', | ||
}, | ||
|
||
{ | ||
title: 'Teacher & District Recruitment', | ||
description: | ||
'* How to recruit teachers and districts<br/> * Teacher applications', | ||
link: '/educate/regional-partner/playbook/teacher-recruitment', | ||
}, | ||
|
||
{ | ||
title: 'Teachers & Curriculum', | ||
description: | ||
'* Info for Teacher Support<br> * Links to Online Curriculum <br> * Curriculum 1-pagers <br>', | ||
link: '/educate/regional-partner/playbook/curriculum', | ||
}, | ||
|
||
{ | ||
title: 'Timeline', | ||
description: | ||
'Visit this page for guidance on what to focus on and events being held each month', | ||
link: '/educate/regional-partner/playbook/timeline', | ||
}, | ||
|
||
{ | ||
title: 'Training Materials', | ||
description: 'Virtual trainings and past Regional Partner Summit resources', | ||
link: '/educate/regional-partner/playbook/training-materials', | ||
}, | ||
|
||
{ | ||
title: 'Workshops & Professional Learning', | ||
description: 'Everything you need to know to plan your workshops', | ||
link: '/educate/regional-partner/playbook/workshops-pl', | ||
}, | ||
|
||
{ | ||
title: 'FAQ', | ||
description: "Can't find what you're looking for? Check the FAQ", | ||
link: '/educate/regional-partner/playbook/faq', | ||
}, | ||
|
||
{ | ||
title: 'Legacy', | ||
description: | ||
"See information about Code.org's Legacy programs: ECS, CS in Algebra, CS in Science", | ||
link: '/educate/regional-partner/playbook/legacy', | ||
}, | ||
]; | ||
|
||
export default class RegionalPartnerPlaybook extends Component { | ||
render() { | ||
return ( | ||
<ResourceCardResponsiveContainer> | ||
{CARDS.map((card) => ( | ||
<ResourceCard | ||
{...card} | ||
buttonText="Learn More" | ||
allowWrap={true} | ||
allowDangerouslySetInnerHtml={true} | ||
/> | ||
))} | ||
</ResourceCardResponsiveContainer> | ||
); | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
apps/src/sites/code.org/pages/public/educate/regional-partner/playbook.js
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,22 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import {Provider} from 'react-redux'; | ||
import RegionalPartnerPlaybook from './RegionalPartnerPlaybook'; | ||
import {getStore, registerReducers} from '@cdo/apps/redux'; | ||
import isRtl from '@cdo/apps/code-studio/isRtlRedux'; | ||
import responsive from '@cdo/apps/code-studio/responsiveRedux'; | ||
import initResponsive from '@cdo/apps/code-studio/responsive'; | ||
|
||
registerReducers({isRtl, responsive}); | ||
|
||
document.addEventListener("DOMContentLoaded", () => { | ||
initResponsive(); | ||
|
||
const container = document.getElementById('regional-partner-playbook'); | ||
ReactDOM.render( | ||
<Provider store={getStore()}> | ||
<RegionalPartnerPlaybook /> | ||
</Provider>, | ||
container, | ||
); | ||
}); |
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
10 changes: 10 additions & 0 deletions
10
pegasus/sites.v3/code.org/public/educate/regional-partner/playbook.haml
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,10 @@ | ||
--- | ||
title: Regional Partner Virtual Playbook | ||
theme: responsive | ||
--- | ||
|
||
%meta{name: 'robots', content: 'noindex'} | ||
|
||
%script{src: minifiable_asset_path('js/code.org/public/educate/regional-partner/playbook.js')} | ||
|
||
#regional-partner-playbook |
49 changes: 0 additions & 49 deletions
49
pegasus/sites.v3/code.org/public/educate/regional-partner/playbook.md
This file was deleted.
Oops, something went wrong.