Skip to content

Commit

Permalink
Merge branch 'rawan-events'
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawan-Abdellatif committed Jul 29, 2024
2 parents ca55f71 + c05d914 commit 80b2d49
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions src/pages/geminai.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,16 @@ import IMG_3070 from "./IMG_3070.jpg";
import styles from "./index.module.css";
import Link from "@docusaurus/Link";

const commonImageStyles = {
height: '100px',
width: '190px',
borderRadius: '10px',
padding: '15px 40px',
margin: '35px',
};
const darkThemeBackgroundColor = 'var(--ifm-color-gray-500)';

export function Institutionsa({ list }) {
const isDarkTheme = document.documentElement.getAttribute('data-theme') === 'dark';

return (
<section >
<div >
{list.map((category) => (
<div key={category.title} className="row margin-bottom--lg" style={{
borderRadius:'8px',
padding:'17px',

}}

>
Expand All @@ -42,9 +32,14 @@ export function Institutionsa({ list }) {
src={props.log}
alt={props.name}
style={{
...commonImageStyles,
backgroundColor: isDarkTheme ? darkThemeBackgroundColor:'white' ,
}}

height:'100px',
width: '185px',
borderRadius:'10px',
padding:'10px 45px',
margin:'25px' ,
backgroundColor:' var(--ifm-color-gray-500)'
}}
/>
</a>

Expand Down

0 comments on commit 80b2d49

Please sign in to comment.