diff --git a/src/components/about/Testimonials.js b/src/components/about/Testimonials.js index 0743491..1a73473 100644 --- a/src/components/about/Testimonials.js +++ b/src/components/about/Testimonials.js @@ -2,24 +2,24 @@ import React, { useState } from 'react' function Card({ name, title, quote, image }) { return ( -
  • +
  • -
    +
    {name}
    -
    +
    {title}
    -

    {quote}

    +

    {quote}

  • ) } function Testimonials() { - const [showMore, setShowMore] = useState(false) + // const [showMore, setShowMore] = useState(false) const row_one = [ { @@ -41,9 +41,6 @@ function Testimonials() { quote: ' For me, a memorable moment at Agrobot came from assembling our first chain/sprocket power transmission system. Other than my bicycle, it was the first time I handled components and systems like these outside of coursework. Though nerve-wracking at first, it was fulfilling to assemble the system and have everything fit into place perfectly, and seeing all the components spin for the first time live was a feeling like no idea.', }, - ] - - const row_two = [ { name: 'Cihan Alperen Bosnali', title: 'Navigation Team Lead', @@ -56,9 +53,6 @@ function Testimonials() { quote: 'Currently, we are designing a fully modular agricultural robot extermination mechanism, aiming for 3D printing feasibility. This system leverages AI to detect harmful weeds, significantly reducing herbicide usage and minimizing toxic emissions. A fun fact about me is I grow 20 different varieties of vegetables and fruits in my backyard, and I love turning them into delicious homemade jams!', }, - ] - - const row_three = [ { name: 'Husan Aulakh', title: 'Applied AI Lead', @@ -78,52 +72,21 @@ function Testimonials() {

    Testimonials

    -
    - - - + +
    +
    +
    + {row_one.map((testimonial, index) => ( + + ))} +
    +
    - {showMore ? null : ( -
    - )} -
    ) } diff --git a/tailwind.config.js b/tailwind.config.js index 418b97b..995e19a 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,36 +1,43 @@ /** @type {import('tailwindcss').Config} */ -const plugin = require('tailwindcss/plugin') +const plugin = require('tailwindcss/plugin'); module.exports = { - content: ['./src/**/*.{js,jsx,ts,tsx}'], + content: [ + "./src/**/*.{js,jsx,ts,tsx}", + ], theme: { extend: { margin: { - standard: '192px', - 'mobile-standard': '192px', + 'standard': '192px', + 'mobile-standard': '192px' }, width: { - content: '1000px', + 'content': '1000px', 'mobile-content': '300px', }, fontSize: { - header: '48px', - body: '32px', + 'header': '48px', + 'body': '32px', 'mobile-header': '40px', - 'mobile-body': '20px', + 'mobile-body': '20px' }, fontFamily: { - RobotoMono: ['Roboto Mono', 'monospace'], - Inter: ['Inter', 'sans-serif'], - Roboto: ['Roboto', 'sans-serif'], + 'RobotoMono': ['Roboto Mono', 'monospace'], + 'Inter': ['Inter', 'sans-serif'], + 'Roboto': ['Roboto', 'sans-serif'], }, placeholderColor: { 'custom-green': '#78BE20', // Example custom color }, filter: { - 'figma-shadow': - 'drop-shadow(0.25rem 0.25rem 0.25rem rgba(0, 0, 0, 0.5))', + 'figma-shadow': 'drop-shadow(0.25rem 0.25rem 0.25rem rgba(0, 0, 0, 0.5))', + }, + minWidth: { + '128': '31rem', }, + minHeight: { + '128': '62rem', + } }, }, variants: { @@ -41,25 +48,22 @@ module.exports = { plugins: [ require('tailwindcss-filters'), plugin(function ({ addUtilities }) { - addUtilities( - { - '.bg-glass': { - background: 'rgba(255, 255, 255, 0.81)', - }, - '.shadow-glass': { - 'box-shadow': '0 4px 30px rgba(0, 0, 0, 0.1)', - }, - '.backdrop-blur-glass': { - 'backdrop-filter': 'blur(5px)', - '-webkit-backdrop-filter': 'blur(5px)', - }, - '.border-glass': { - 'border-radius': '16px', - border: '1px solid rgba(255, 255, 255, 0.49)', - }, + addUtilities({ + '.bg-glass': { + background: 'rgba(255, 255, 255, 0.81)', + }, + '.shadow-glass': { + 'box-shadow': '0 4px 30px rgba(0, 0, 0, 0.1)', }, - ['responsive', 'hover'] - ) + '.backdrop-blur-glass': { + 'backdrop-filter': 'blur(5px)', + '-webkit-backdrop-filter': 'blur(5px)', + }, + '.border-glass': { + 'border-radius': '16px', + 'border': '1px solid rgba(255, 255, 255, 0.49)', + }, + }, ['responsive', 'hover']); }), require('@tailwindcss/forms'), function ({ addUtilities }) { @@ -69,6 +73,7 @@ module.exports = { }, } addUtilities(newUtilities, ['responsive', 'hover', 'focus']) - }, + } ], + }