Skip to content

Commit

Permalink
Add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVanderbist committed Jan 3, 2024
1 parent 5bd834e commit 4c30a11
Show file tree
Hide file tree
Showing 5 changed files with 25,809 additions and 80 deletions.
3,695 changes: 3,693 additions & 2 deletions resources/compiled/ignition.css

Large diffs are not rendered by default.

22,077 changes: 22,071 additions & 6 deletions resources/compiled/ignition.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions resources/js/Ignition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import {IgniteData} from './types';
import {useInView} from 'react-intersection-observer';
import AppDebugWarning from 'components/AppDebugWarning';
import FlareFooter from "components/FlareFooter";
import Footer from "components/Footer";

type Props = {
errorOccurrence: ErrorOccurrence;
Expand Down Expand Up @@ -59,7 +59,7 @@ export default function Ignition({

{hasDebugInfo(errorOccurrence) && <Section name="debug" children={<Debug/>}/>}

<Section name="flare" children={<FlareFooter />}/>
<Section name="footer" children={<Footer />}/>
</main>
</InViewContextProvider>
</ErrorOccurrenceContext.Provider>
Expand Down
70 changes: 0 additions & 70 deletions resources/js/components/FlareFooter.tsx

This file was deleted.

43 changes: 43 additions & 0 deletions resources/js/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import {FlareIcon, IgnitionIcon} from '@flareapp/ignition-ui';
import React from 'react';

export default function Footer() {
return (
<footer
className="mx-auto mb-20 px-6 lg:px-10 max-w-4xl lg:max-w-[90rem] | flex flex-row justify-between gap-4 ~text-gray-500">
<ul className="grid grid-flow-col gap-5 justify-center items-center uppercase text-xs font-medium">
<li>
<IgnitionIcon/>
</li>
<li>·</li>
<li>
<a href="https://github.com/spatie/laravel-ignition" target="_blank"
className="hover:text-red-500">Source</a>
</li>
<li>·</li>
<li>
<a href="https://flareapp.io/docs/ignition/introducing-ignition/overview" target="_blank"
className="hover:text-red-500">Docs</a>
</li>
<li>·</li>
<li>
<a href="https://laravel.com" target="_blank" className="hover:text-red-500">Laravel</a>
</li>
</ul>
<div className="text-sm flex items-center">
<p>
Ignition is built by
<a
href="https://flareapp.io/?utm_campaign=ignition&utm_source=ignition"
target="_blank"
className="font-medium hover:text-purple-500"
>
<FlareIcon className={"inline-block -mt-1 ml-1 mr-px"}/>
Flare
</a>,
the Laravel error reporting service.
</p>
</div>
</footer>
)
}

0 comments on commit 4c30a11

Please sign in to comment.