♻️ Remove theme-ui pragmas

This commit is contained in:
Malted 2023-04-07 00:04:53 +01:00
parent 781a6ff3a2
commit 32cd710b8d
No known key found for this signature in database
GPG key ID: C1AF1C0E5180BE02
16 changed files with 2 additions and 41 deletions

View file

@ -4,7 +4,6 @@ import { Slide } from 'react-reveal'
import Zoom from 'react-reveal/Zoom'
import MSparkles from './money'
import Image from 'next/image'
/** @jsxImportSource theme-ui */
const Photo = ({
icon,

View file

@ -1,10 +1,7 @@
import CardModel from './card-model'
import { Box, Grid, Heading, Text } from 'theme-ui'
import { Fade } from 'react-reveal'
import Buttons from './button'
/** @jsxImportSource theme-ui */
export default function Bank({ data }) {
return (
<Box sx={{ position: 'relative' }}>

View file

@ -1,11 +1,8 @@
import Icon from '../../icon'
import { Box, Card, Flex, Image, Link, Text } from 'theme-ui'
import { Zoom } from 'react-reveal'
import ReactTooltip from 'react-tooltip'
import Comma from '../../comma'
/** @jsxImportSource theme-ui */
const CardModel = ({
background,
children,

View file

@ -1,10 +1,7 @@
import React, { useState } from 'react'
import React from 'react'
import Buttons from './button'
import CardModel from './card-model'
import { Box, Grid, Flex, Image, Text } from 'theme-ui'
import ReactTooltip from 'react-tooltip'
/** @jsxImportSource theme-ui */
const Cover = () => (
<Box

View file

@ -1,10 +1,7 @@
import CardModel from './card-model'
import { Box, Button, Grid, Link, Text } from 'theme-ui'
import Buttons from './button'
import Event from '../events'
/** @jsxImportSource theme-ui */
export default function Events({ data, stars, events }) {
return (
<CardModel

View file

@ -1,12 +1,9 @@
import CardModel from './card-model'
import { Box, Flex, Grid, Image, Link, Text } from 'theme-ui'
import { useState, useEffect } from 'react'
import Buttons from './button'
import ScrollingHackathons from '../../hackathons/scrolling-hackathons'
import Dot from '../../dot'
import { formatDate } from '../../../lib/dates'
/** @jsxImportSource theme-ui */
const Cover = () => (
<Box
sx={{

View file

@ -2,8 +2,6 @@ import CardModel from './card-model'
import { Box, Flex, Grid, Image, Text } from 'theme-ui'
import Buttons from './button'
/** @jsxImportSource theme-ui */
export default function Sinerider({ stars }) {
return (
<CardModel

View file

@ -2,9 +2,7 @@ import CardModel from './card-model'
import { Box, Flex, Grid, Heading, Image, Link, Text } from 'theme-ui'
import Buttons from './button'
import Event from '../events'
import Dot from '../../dot'
import Comma from '../../comma'
/** @jsxImportSource theme-ui */
const Cover = () => (
<Box

View file

@ -1,11 +1,8 @@
import CardModel from './card-model'
import { Box, Flex, Grid, Image, Link, Text } from 'theme-ui'
import Buttons from './button'
import styled from '@emotion/styled'
import RelativeTime from 'react-relative-time'
/** @jsxImportSource theme-ui */
function Game({ game, gameImage, gameImage1, ...props }) {
return (
<Box

View file

@ -2,8 +2,6 @@ import CardModel from './card-model'
import { Box, Card, Flex, Grid, Heading, Text } from 'theme-ui'
import Buttons from './button'
import Icon from '@hackclub/icons'
import Dot from '../../dot'
/** @jsxImportSource theme-ui */
function BreakdownBox({
subtitle,

View file

@ -1,10 +1,7 @@
import CardModel from './card-model'
import { Box, Card, Flex, Grid, Heading, Image, Text } from 'theme-ui'
import { useState } from 'react'
import Buttons from './button'
/** @jsxImportSource theme-ui */
const WorkshopCard = ({
slug,
name,

View file

@ -1,8 +1,6 @@
import { Box, Card, Image, Link, Text } from 'theme-ui'
import Icon from '../icon'
/** @jsxImportSource theme-ui */
export default function CarouselCards({
background,
titleColor,

View file

@ -1,11 +1,8 @@
import { Box, Text } from 'theme-ui'
import CarouselCards from './carousel-cards'
import { keyframes } from '@emotion/react'
import React, { useEffect, useState } from 'react'
import React, { useState } from 'react'
import Ticker from 'react-ticker'
import PageVisibility from 'react-page-visibility'
import { Fade } from 'react-reveal'
/** @jsxImportSource theme-ui */
export default function Carousel({ cards }) {
let [speed, setSpeed] = useState(5)

View file

@ -47,8 +47,6 @@ import Photo29 from '../../public/winter/29.jpeg'
import Photo30 from '../../public/winter/30.jpeg'
import Photo31 from '../../public/winter/31.png'
/** @jsxImportSource theme-ui */
const Header = styled(Box)`
background: url('/pattern.svg');
`

View file

@ -10,9 +10,7 @@ import { Link, Text, Button, Card } from 'theme-ui'
import Icon from '@hackclub/icons'
import Form from '../../components/hackathons/grant/form'
import Apply from '../../components/hackathons/grant/apply'
import Zoom from 'react-reveal/Zoom'
/** @jsxImportSource theme-ui */
const styles = `
html {

View file

@ -37,8 +37,6 @@ import GitHub from '../components/index/github'
import Photo from '../components/photo'
import Comma from '../components/comma'
/** @jsxImportSource theme-ui */
function Page({
hackathonsData,
bankData,