mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
♻️ Remove theme-ui pragmas
This commit is contained in:
parent
781a6ff3a2
commit
32cd710b8d
16 changed files with 2 additions and 41 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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' }}>
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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={{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
`
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue