forked from are0h/TheBadSpace
Added mobile first menu and started responsive
Swithced the main nav to a mobile layout to cut down on complex responsive styling to make the heaader work. Also began touching up site wide responsive styles so the site works on multiple devices.about-updates
parent
7feb76517a
commit
c087d00a2b
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
class ExportController extends Controller
|
||||||
|
{
|
||||||
|
//
|
||||||
|
public function exportCSV()
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
$columns = [
|
||||||
|
'id',
|
||||||
|
'product_name',
|
||||||
|
'product_url',
|
||||||
|
'price',
|
||||||
|
'category'
|
||||||
|
];
|
||||||
|
|
||||||
|
$products = [
|
||||||
|
[1, 'product 1', 'https://example.com/product-1', '9.99', 'category 1'],
|
||||||
|
[2, 'product 2', 'https://example.com/product-2', '19.99', 'category 2'],
|
||||||
|
[3, 'product 3', 'https://example.com/product-3', '29.99', 'category 3'],
|
||||||
|
[4, 'product 4', 'https://example.com/product-4', '39.99', 'category 4'],
|
||||||
|
];
|
||||||
|
|
||||||
|
header('Content-Type: text/csv');
|
||||||
|
header('Content-Disposition: attachment; filename="products.csv"');
|
||||||
|
|
||||||
|
echo implode(',', $columns) . PHP_EOL;
|
||||||
|
foreach ($products as $product) {
|
||||||
|
echo implode(',', $product) . PHP_EOL;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated by Pixelmator Pro 3.3.8 -->
|
||||||
|
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path id="Path" fill="none" stroke="none" d="M 0 0 L 24 0 L 24 24 L 0 24 Z"/>
|
||||||
|
<path id="path1" fill="none" stroke="#efebe3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M 18 6 L 6 18"/>
|
||||||
|
<path id="path2" fill="none" stroke="#efebe3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M 6 6 L 18 18"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 523 B |
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated by Pixelmator Pro 3.3.8 -->
|
||||||
|
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path id="Path" fill="none" stroke="none" d="M 0 0 L 24 0 L 24 24 L 0 24 Z"/>
|
||||||
|
<path id="path1" fill="none" stroke="#140d0d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M 4 6 L 20 6"/>
|
||||||
|
<path id="path2" fill="none" stroke="#140d0d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M 4 12 L 20 12"/>
|
||||||
|
<path id="path3" fill="none" stroke="#140d0d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M 4 18 L 20 18"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 658 B |
Loading…
Reference in New Issue