Skip to content

Commit

Permalink
Revert "cleanup"
Browse files Browse the repository at this point in the history
This reverts commit e27f891.
  • Loading branch information
TenzDelek committed Jan 29, 2025
1 parent bc8f84c commit 0a03c02
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Buttons/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Button({className, children, overlay, onClick, type, disabled,test}) {
data-test={test || ""}
type={type}
onClick={onClick}
className={`${!overlay && 'gradient-bg'} flex items-center justify-center text-white h-[54px] rounded-md p-[8px] ${className}`}
className={`${overlay ? '' : 'gradient-bg'} flex items-center justify-center text-white h-[54px] rounded-md p-[8px] ${className}`}
>{children}</button>
);
}
Expand Down
2 changes: 1 addition & 1 deletion components/Form/Cfp/stepTwo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable react/no-unescaped-entities */
import React from "react";
import React, { useState, useEffect } from "react";
import Button from "../../Buttons/button";


Expand Down
2 changes: 2 additions & 0 deletions components/Header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ import cities from '../../config/city-lists.json';
import Venue from '../Venue/venue';
import Announcement from '../announcement';
import Link from 'next/link';
import { useMediaQuery } from 'react-responsive';

function Header() {
const isMobile = useMediaQuery({ maxWidth: '590px' });
return (
<div className='relative'>
<div className='container w-full flex items-center justify-center'>
Expand Down
1 change: 1 addition & 0 deletions components/Slider/slider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Slider from 'react-slick';
import Arrow from '../illustration/arrow';
import React, { useEffect, useState, useRef } from 'react';
import { useMediaQuery } from 'react-responsive';

Expand Down
1 change: 1 addition & 0 deletions components/Speaker/guideline.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { useState } from 'react'
import Plus from '../illustration/plus';
import Heading from '../Typography/heading';
import Button from '../Buttons/button';
import CFPdata from "../../config/cfp-data.json"
const faqs = [
{
q: 'What is AACoT?',
Expand Down
2 changes: 1 addition & 1 deletion components/Venue/venue.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function isEventEnded(date){
return getEventStatus(date) === "Ended";
}

function Venue({ city }) {
function Venue({ className, city }) {

const eventEnded = isEventEnded(city.date);
const textColor = eventEnded ? "text-white": "text-white";
Expand Down
1 change: 1 addition & 0 deletions pages/venue/online/register/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Paper from '../../../../components/Form/paper';
import Sponsors from "../../../../components/Sponsors/sponsors";
import cfpData from "../../../../config/cfp-data.json"

export default function SpeakersForm(){
return(<div><div className='flex justify-center border border-x-0 border-b-0 border-[#333]'>
Expand Down

0 comments on commit 0a03c02

Please sign in to comment.