Skip to content

Commit

Permalink
Wordpress Pages Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odiengineering committed Aug 22, 2024
1 parent d7dc061 commit e0461e1
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 0 deletions.
86 changes: 86 additions & 0 deletions pages/nhpr-flower.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 class="wp-block-heading">Recall overview</h2>

<p>The Department of Cannabis Control (DCC) is issuing this notice of mandatory recall for a single “NHPR” flower product(s) due to the presence of Aspergillus niger.</p>

<figure class="wp-block-table"><table><tbody><tr><td class="has-text-align-left" data-align="left"><strong>DCC Recall Publication Date </strong>
</td><td>8/22/2024</td></tr><tr><td class="has-text-align-left" data-align="left"><strong>Recall Type</strong></td><td>Mandatory</td></tr><tr><td class="has-text-align-left" data-align="left"><strong>Product Type</strong>
</td><td>Flower</td></tr><tr><td class="has-text-align-left" data-align="left"><strong>Product Description</strong>
</td><td>NHPR flower</td></tr><tr><td class="has-text-align-left" data-align="left"><strong>Legal Business Name</strong>
</td><td>BTD, Inc.</td></tr><tr><td class="has-text-align-left" data-align="left"><strong>Legal Business License Number</strong></td><td>C12-0000219-LIC</td></tr><tr><td class="has-text-align-left" data-align="left"><strong>Packaged By</strong>
</td><td>BTD, Inc.</td></tr><tr><td class="has-text-align-left" data-align="left"><strong>Packaged By License Number</strong>
</td><td>C12-0000219-LIC</td></tr><tr><td class="has-text-align-left" data-align="left"><strong>Business Website</strong>
</td><td>No website is available.</td></tr></tbody></table></figure>

<h2 class="wp-block-heading">Product details</h2>

<p>This recall applies to the following “NHPR” flower product[s].</p>

<figure class="wp-block-table"><table><thead><tr><th><strong>Product</strong>&nbsp;</th><th><strong>Batch Number</strong>&nbsp;</th><th><strong>Product Size</strong>&nbsp;</th><th><strong>UID Number</strong>&nbsp;</th><th><strong>Date Packaged</strong>&nbsp;</th><th>Date Sold</th></tr></thead><tbody><tr><td>TRIXZ</td><td>01678</td><td>3.5 grams</td><td>1A40603000054CC000001678</td><td>On or after May 2, 2024</td><td>On or after May 2, 2024</td></tr></tbody></table></figure>

<h2 class="wp-block-heading">Locations where the recalled product was sold </h2>

<link
rel="stylesheet"
href="https://cdn.datatables.net/1.10.24/css/jquery.dataTables.min.css"
/>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/colreorder/1.5.4/js/dataTables.colReorder.min.js"></script>
<table id="recall_details_tbl" class="display compact" width="100%">
<thead>
<tr>
<th class="min-tablet">County</th>
<th class="min-phone-l">Legal Business Name&nbsp;</th>
<th class="all">License Number</th>
</tr>
</thead>
<tbody>
<tr>
<td>SANTA CLARA</td>
<td>BTD, INC.</td>
<td>C12-0000219-LIC</td>
</tr>
</tbody>
</table>
<script>
$(document).ready(function () {
const recall_table = new DataTable("#recall_details_tbl", {
columns: [{ data: "county" }, { data: "license" }, { data: "business" }, ],
colReorder: true,
responsive: true,
});
const newColumnOrder = [0, 1, 2];
recall_table.colReorder.order(newColumnOrder).draw();
});
</script>

<h2 class="wp-block-heading">What consumers need to know</h2>

<p>If you purchased this product:&nbsp;&nbsp;</p>

<ul>
<li>If you are experiencing symptoms or any adverse reactions, contact your physician immediately.&nbsp;&nbsp;</li>

<li>Check your package for the UID and batch number(s) above.&nbsp;&nbsp;&nbsp;</li>

<li>If the numbers match, dispose of the product or return it to the retailer for proper disposal.</li>
</ul>

<h2 class="wp-block-heading">What licensees need to know&nbsp;</h2>

<p>DCC&nbsp;sent&nbsp;notices to&nbsp;all&nbsp;licensees with&nbsp;this product in their inventory&nbsp;with&nbsp;instructions&nbsp;about responding to this recall.&nbsp;Contact our team at&nbsp;<a href="mailto:[email protected]">[email protected]</a> if you have any questions.</p>

<div class="wp-block-buttons">
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button" href="/resources/cannabis-recalls-and-safety-notices/">View all cannabis recalls</a></div>
</div>

<style>
.post-date{
display:none;
}
.pdf-link-icon{
display:none;
}
</style>
</div></div>
114 changes: 114 additions & 0 deletions pages/nhpr-flower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"meta": {
"created_date": "2024-08-22T21:08:55",
"updated_date": "2024-08-22T22:42:15",
"field_reference": "https://developer.wordpress.org/rest-api/reference/pages/",
"api_version": "v2",
"api_url": "https://api.cannabis.ca.gov/wp-json/wp/v2/",
"object_url": "https://api.cannabis.ca.gov/wp-json/wp/v2/pages/19564",
"process": {
"source_code": "https://github.com/cagov/wordpress-to-github",
"source_data": "https://api.cannabis.ca.gov",
"deployment_target": "https://github.com/cagov/static-content-cannabis/tree/main"
},
"refresh_frequency": "as needed"
},
"data": {
"id": 19564,
"date": "2024-08-22T14:08:55",
"date_gmt": "2024-08-22T21:08:55",
"guid": "https://api.cannabis.ca.gov/?page_id=19564",
"modified": "2024-08-22T15:42:15",
"modified_gmt": "2024-08-22T22:42:15",
"slug": "nhpr-flower",
"status": "publish",
"type": "page",
"link": "https://api.cannabis.ca.gov/resources/cannabis-recalls-and-safety-notices/nhpr-flower/",
"title": "NHPR flower",
"excerpt": "<p>Recall overview The Department of Cannabis Control (DCC) is issuing this notice of mandatory recall for a single “NHPR” flower product(s) due to the presence of Aspergillus niger. DCC Recall Publication Date 8/22/2024 Recall Type Mandatory Product Type Flower Product Description NHPR flower Legal Business Name BTD, Inc. Legal Business License Number C12-0000219-LIC Packaged By [&hellip;]</p>\n",
"author": 36,
"featured_media": 0,
"parent": 9345,
"menu_order": 0,
"comment_status": "closed",
"ping_status": "closed",
"template": "/code/wp-content/plugins/ca-design-system-gutenberg-blocks/includes/templates/template-page-single-column.php",
"meta": {
"_stopmodifiedupdate": false,
"_modified_date": "",
"footnotes": ""
},
"categories": [
"Mandatory recalls",
"Recalls and safety notices"
],
"tags": [],
"design_system_fields": {
"template": "template-page-single-column"
},
"og_meta": {
"editor": {
"platform": "WordPress",
"plugin": "autodescription",
"plugin_name": "The SEO Framework",
"plugin_version": "4.1.5.1",
"editor_url": "https://api.cannabis.ca.gov"
},
"site_name": "Department of Cannabis Control",
"site_description": "Learn about California cannabis laws and licenses",
"site_url": "https://api.cannabis.ca.gov",
"canonical_url": "https://api.cannabis.ca.gov/resources/cannabis-recalls-and-safety-notices/nhpr-flower/",
"page_title": "NHPR flower",
"page_description": "Learn about California cannabis laws and licenses",
"page_social_image_url": "https://api.cannabis.ca.gov/wp-content/uploads/2021/07/cropped-Cannabis_horizontal_social.png",
"page_social_image_width": 1200,
"page_social_image_height": 630,
"page_social_image_alt": "",
"meta_title": "NHPR flower",
"meta_description": "Learn about California cannabis laws and licenses",
"meta_canonical_url": "https://api.cannabis.ca.gov/resources/cannabis-recalls-and-safety-notices/nhpr-flower/",
"open_graph_title": "NHPR flower",
"open_graph_description": "Learn about California cannabis laws and licenses",
"twitter_title": "NHPR flower",
"twitter_description": "Learn about California cannabis laws and licenses"
},
"headless_categories": [
{
"term_id": 813,
"name": "Mandatory recalls",
"slug": "mandatory-recalls",
"term_group": 0,
"term_taxonomy_id": 813,
"taxonomy": "category",
"description": "",
"parent": 812,
"filter": "raw",
"cat_ID": 813,
"category_description": "",
"cat_name": "Mandatory recalls",
"category_nicename": "mandatory-recalls",
"category_parent": 812
},
{
"term_id": 812,
"name": "Recalls and safety notices",
"slug": "recalls-and-safety-notices",
"term_group": 0,
"term_taxonomy_id": 812,
"taxonomy": "category",
"description": "",
"parent": 0,
"filter": "raw",
"cat_ID": 812,
"category_description": "",
"cat_name": "Recalls and safety notices",
"category_nicename": "recalls-and-safety-notices",
"category_parent": 0
}
],
"headless_tags": [],
"headless_publishing": [],
"headless_preview": [],
"wordpress_url": "https://api.cannabis.ca.gov/resources/cannabis-recalls-and-safety-notices/nhpr-flower/"
}
}

0 comments on commit e0461e1

Please sign in to comment.