Skip to content

Instantly share code, notes, and snippets.

Privacy Policy for BeAccountable

Last updated: [Date]

BeAccountable ("we", "us", "our") operates the BeAccountable mobile application (the "App"). This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our App and the choices you have associated with that data.

1. Information Collection and Use

We collect several different types of information for various purposes to provide and improve our App to you.

import AppLayout from '@/components/Layouts/AppLayout'
import Head from 'next/head'
import React from 'react'
import axios from '@/lib/axios'
import { useEffect, useState } from 'react'
const Events = ({ events }) => {
// const [events, setEvents] = useState(null)
console.log(events)
const [dataLoaded, setDataLoaded] = useState(false)
import React from 'react';
const LevelsFilter = ({ levels, updateQuery, queryParams }) => {
function colorClassName(level) {
const levelColor = 'bg-' + level.color + '-500 text-grey-600 flex pointer px-3 py-2 text-sm mr-2 mb-2 text-center justify-center hover:bg-opacity-75 font-bold opacity-50';
return levelColor;
}
return (
@n8udd
n8udd / LevelsFilter.js
Created October 15, 2021 14:45
Level Filter component with dynamic colours (Inertia JS)
import React from 'react'
const LevelsFilter = ({ levels, updateQuery, queryParams }) => {
function levelColor(color) {
return 'bg-' + color + '-500';
}
return (
<div className="bg-white shadow-md p-6 mb-4 dark:text-white w-full" id="levels">