Skip to content

Commit

Permalink
why ins't this working
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyborgnetical committed May 3, 2024
1 parent 9791906 commit d4c463c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ export default defineConfig({
integrations: [tailwind(), react()],
redirects: {
'/Home': '/',
},
site: 'https://cyborgnetical.github.io/',
base: 'Parlier-Welding-Website',
}
});

6 changes: 5 additions & 1 deletion src/pages/Cabinet/Officer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { name , position , img = "", gridCol = ""} = Astro.props;
---

<div class=" grid grid-cols-2 grid-rows-3 p-4 border shadow-xl shadow-sky-500">
<div class=" grid grid-cols-2 grid-rows-3 p-4">
<img alt="Place Holder Image" class=" flex justify-center items-center rounded-md">
<h2 class=" bg-slate-300 rounded-md pl-5"> {name} </h2>
<h3 style="margin: auto; width:100%;">Club {position}</h3>
Expand All @@ -33,6 +33,10 @@ const { name , position , img = "", gridCol = ""} = Astro.props;
grid-column:var(--gridCol) ;
align-items: stretch;
font-size: 12px;
transition: box-shadow 250ms;
&:hover{
box-shadow: 0 0 5px 5px skyblue;
}
& img{
grid-row: 1 / -1;
background-color: white;
Expand Down

0 comments on commit d4c463c

Please sign in to comment.