Skip to content

Commit

Permalink
Fix: Sponsors deleted - Navbar fixed - Try to fix headless ui vercel …
Browse files Browse the repository at this point in the history
…error
  • Loading branch information
rakun256 committed Oct 14, 2024
1 parent 705c6a1 commit 4f39307
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
18 changes: 10 additions & 8 deletions components/FAQ.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import { Disclosure, Transition } from '@headlessui/react';
import { bebas } from './font';
import { ChevronRightIcon } from '@heroicons/react/24/solid';
import { questions } from '@/constants/FAQ';

function classNames(...classes) {
return classes.filter(Boolean).join(' ');
}

const FAQ = () => {
return (
<div className='py-[25px]'>
Expand All @@ -20,7 +22,7 @@ const FAQ = () => {
<div className=''>
{questions.map((question) => (
<div key={question.id}>
{/* Behaivour on Small Screen */}
{/* Küçük Ekran Davranışı */}
<Disclosure
defaultOpen={question.defaultOpen}
as='div'
Expand Down Expand Up @@ -66,7 +68,7 @@ const FAQ = () => {
</>
)}
</Disclosure>
{/* Behaivour on Big Screen */}
{/* Büyük Ekran Davranışı */}
<div className='hidden pb-8 pt-6 md:grid md:grid-cols-12 md:gap-8'>
<dt className='flex flex-row text-base font-medium text-gray-900 md:col-span-5'>
<svg
Expand All @@ -75,19 +77,19 @@ const FAQ = () => {
fill='none'
xmlns='http://www.w3.org/2000/svg'
>
<g id='SVGRepo_bgCarrier' stroke-width='0'></g>
<g id='SVGRepo_bgCarrier' strokeWidth='0'></g>
<g
id='SVGRepo_tracerCarrier'
stroke-linecap='round'
stroke-linejoin='round'
strokeLinecap='round'
strokeLinejoin='round'
></g>
<g id='SVGRepo_iconCarrier'>
<path
d='M10 7L15 12L10 17'
stroke='#F8FCCD'
stroke-width='1.5'
stroke-linecap='round'
stroke-linejoin='round'
strokeWidth='1.5'
strokeLinecap='round'
strokeLinejoin='round'
></path>
</g>
</svg>
Expand Down
8 changes: 4 additions & 4 deletions components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ import React from 'react';

export default function Navbar() {
return (
<div className='fixed z-10 flex w-full flex-row items-center justify-center border-b-[1px] border-solid border-black bg-primary-dark py-8 text-primary-light'>
<p className='hidden pl-5 text-lg md:block'>
<div className='fixed z-10 flex w-full items-center border-b-[1px] border-solid border-black bg-primary-dark p-8 text-primary-light justify-center'>
<p className='hidden flex-1 text-left text-lg md:block'>
Yıldız Teknik Üniversitesi
</p>
<a
href='https://forms.office.com/pages/responsepage.aspx?id=CClghVvhukORSDi8dzqBbiW71iuprpdGm4fb9lyf0dFUNFVYSzJLR09NNjI5U1I5RExRMjBTRk5DSS4u'
className=' min-[768px]:px-auto ease mx-20 flex justify-center rounded-full border-[1px] border-primary-light px-10 py-2 text-lg transition-all hover:scale-[1.1] hover:bg-primary-light hover:text-primary-dark active:scale-[0.8] md:px-8 min-[768px]:w-[150px] lg:w-auto lg:px-20'
className='ease flex-shrink-0 flex justify-center rounded-full border-[1px] border-primary-light px-10 py-2 text-lg transition-all hover:scale-[1.1] hover:bg-primary-light hover:text-primary-dark active:scale-[0.8]'
target='_blank'
>
Kayıt Ol
</a>
<a
href='https://maps.app.goo.gl/rfNDFw7kpkF6syJU8'
className='ease hidden text-lg transition-all hover:scale-[1.1] active:scale-[0.8] md:block'
className='ease hidden flex-1 text-right text-lg transition-all hover:scale-[1.1] active:scale-[0.8] md:block'
target='_blank'
>
Davutpaşa Kampüsü, Tarihi Hamam
Expand Down
12 changes: 6 additions & 6 deletions components/Sponsors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ const Sponsors = () => {
</div>
<div className='wrapper flex flex-row justify-center '>
<div className='item-center mx-auto pt-10'>
<Image
{/*<Image
src={'/assets/sponsors/altin/sisecam.png'}
alt='sisecam'
width={200}
height={200}
/>
/>*/}
</div>
</div>

Expand All @@ -38,7 +38,7 @@ const Sponsors = () => {
<div className='h-[2px] w-full bg-primary-dark'></div>
</div>
<div className='wrapper grid grid-cols-1 justify-center pt-10 md:grid-cols-3'>
<div className='flex flex-row justify-center'>
{/* <div className='flex flex-row justify-center'>
<Image
src={'/assets/sponsors/urun/haribo.png'}
alt='sisecam'
Expand All @@ -64,7 +64,7 @@ const Sponsors = () => {
height={200}
className='justify-center'
/>
</div>
</div>*/}
</div>

<div className='flex items-center gap-5 pt-20 md:gap-10'>
Expand All @@ -75,7 +75,7 @@ const Sponsors = () => {
<div className='h-[2px] w-full bg-primary-dark'></div>
</div>
<div className='wrapper grid grid-cols-1 justify-center pt-10 md:grid-cols-3'>
<div className='flex flex-row justify-center'>
{/*<div className='flex flex-row justify-center'>
<Image
src={'/assets/sponsors/alan/exar.png'}
alt='sisecam'
Expand All @@ -101,7 +101,7 @@ const Sponsors = () => {
height={200}
className='justify-center'
/>
</div>
</div>*/}
</div>
</div>
);
Expand Down

0 comments on commit 4f39307

Please sign in to comment.