All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web.lib.components.header.code-quarkus-io-header.tsx Maven / Gradle / Ivy

There is a newer version: 37
Show newest version
import React, { useState } from 'react';
import './code-quarkus-io-header.scss';
import { createLinkTracker, useAnalytics } from '../../core/analytics';
import classNames from 'classnames';
import { Button } from 'react-bootstrap';
import { FaAngleLeft, FaHandsHelping, FaRedhat } from 'react-icons/fa';
import { CompanyHeader, CodeQuarkusHeaderProps } from './code-quarkus-header';

function SupportButton(prop: {}) {
  const [ opened, open ] = useState(false);
  const analytics = useAnalytics();
  const linkTracker = createLinkTracker(analytics, 'Support panel');
  const openPanel = (e: any) => {
    analytics.event('Open Support panel', { element: 'support-button' });
    open(true);
  };
  const closePanel = (e: any) => {
    analytics.event('Close Support panel', { element: 'support-button' });
    open(false);
  };
  return (
    
); } export function CodeQuarkusIoHeader(props: CodeQuarkusHeaderProps) { const analytics = useAnalytics(); const linkTracker = createLinkTracker(analytics, 'Header'); return ( <> Back to quarkus.io ); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy