Skip to content

Commit 32fed33

Browse files
committed
CSS cleanup
1 parent 4ce7522 commit 32fed33

14 files changed

+843
-434
lines changed

components/Navigation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const Navigation = () => {
2121
};
2222

2323
return (
24-
<nav className="tec-bg-gradient-1">
24+
<nav className="tec-nav-bg-gradient">
2525
<div className="px-2 py-4 mx-auto max-w-7xl sm:px-6 lg:px-8 sm:py-6 lg:py-8">
2626
<div className="relative flex items-center justify-between">
2727
<div className="absolute inset-y-0 left-0 flex items-center sm:hidden">

components/Workgroup.css

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@layer components {
2+
.tec-wg-hero-body p {
3+
@apply pb-5 lg:pb-10;
4+
}
5+
.tec-wg-desc:hover ~ div {
6+
@apply opacity-0;
7+
}
8+
}

components/Workgroup.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const Workgroup = ({ wg }) => {
2828
};
2929

3030
return (
31-
<div className="absolute top-0 left-0 w-full h-48 p-2 text-sm text-center transition duration-500 ease-in-out pointer-events-none wg-title tec-text-bg-unicorn-1">
31+
<div className="absolute top-0 left-0 w-full h-48 p-2 text-sm text-center transition duration-500 ease-in-out pointer-events-none wg-title tec-bg-unicorn-1">
3232
<div className="flex flex-row items-center justify-start h-full space-x-5 bg-black">
3333
<img src={wg.wgImg} className="inline-block w-24 h-24 ml-5" />
3434
<div
@@ -43,7 +43,7 @@ const Workgroup = ({ wg }) => {
4343

4444
const Description = () => {
4545
return (
46-
<div className="flex flex-col justify-between w-full p-5 text-sm h-60 lg:h-48 tec-text-bg-unicorn-2">
46+
<div className="flex flex-col justify-between w-full p-5 text-sm h-60 lg:h-48 tec-bg-unicorn-2">
4747
<div className="mb-2">{wg.description}</div>
4848
<div className="flex flex-row items-center justify-between space-x-4">
4949
<div className="">

0 commit comments

Comments
 (0)