File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const Footer = () => {
6
6
return (
7
7
< div className = "flex items-center justify-center w-[calc(100%_+_4rem)] pt-16 mt-auto text-cr-primary-contrast" >
8
8
< footer className = "flex flex-col w-full gap-4 p-8 max-w-7xl rounded-t-2xl bg-cr-primary image-star" >
9
- < div className = "flex flex-col items-center gap-2 p-2 rounded-2xl bg-white /20 sm:flex-row backdrop-blur-[1.25px] " >
9
+ < div className = "flex flex-col items-center gap-2 p-2 rounded-2xl bg-cr-primary-contrast /20 border border-cr-primary-contrast/20 backdrop-glass sm:flex-row " >
10
10
< div className = "flex items-center gap-2" >
11
11
< img
12
12
className = "w-12 h-12 rotate-30"
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ const FrontPage: Page = ({ pathname }) => {
79
79
</ div >
80
80
</ section >
81
81
< section aria-label = "introduction" className = "flex flex-col gap-12 p-8 text-lg -mx-8 md:mx-0 motion-safe:transition-[margin] text-center rounded-2xl xl:flex-row text-cr-primary-contrast image-star bg-cr-primary" >
82
- < Heading . H2 id = "introduction" className = "flex p-4 flex-col items-center justify-center w-full rounded-2xl text-cr-primary-contrast bg-cr-primary-contrast/30 backdrop-blur-[1.25px] border border-cr-primary-contrast/20 xl:p-0 xl:w-1/2" >
82
+ < Heading . H2 id = "introduction" className = "flex p-4 flex-col items-center justify-center w-full rounded-2xl text-cr-primary-contrast bg-cr-primary-contrast/30 backdrop-glass border border-cr-primary-contrast/20 xl:p-0 xl:w-1/2" >
83
83
< span className = "text-2xl" >
84
84
Introducing...
85
85
</ span >
Original file line number Diff line number Diff line change @@ -47,6 +47,12 @@ module.exports = {
47
47
"background-image" : "url('/images/textures/star.svg')" ,
48
48
"background-size" : "2rem 2rem" ,
49
49
"background-position" : "50% 50%"
50
+ } ,
51
+ ".backdrop-glass" : {
52
+ "--tw-backdrop-blur" : "blur(1.25px);" ,
53
+ "--tw-backdrop-saturate" : "saturate(180%)" ,
54
+ "-webkit-backdrop-filter" : "var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);" ,
55
+ "backdrop-filter" : "var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);"
50
56
}
51
57
} ) ;
52
58
addUtilities ( {
You can’t perform that action at this time.
0 commit comments