File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- @import url ( ' nelum-kuluna.scss' ) ;
1+ @import ' nelum-kuluna.scss' ;
22
33.underlined {
44 position : relative ;
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import CoffeeBeans from '@/icons/CoffeeBeans';
3535import RegisterButton from './RegisterButton' ;
3636import FlipWords from './FlipWords' ;
3737import Meetup from '@/icons/Meetup' ;
38+ import { goodBrush } from '@/app/fonts' ;
3839
3940export type HeroProps = HTMLAttributes < HTMLDivElement > & TestableComponent ;
4041
@@ -62,7 +63,9 @@ const Hero: ForwardRefExoticComponent<HeroProps & RefAttributes<HTMLDivElement>>
6263 ) }
6364 >
6465 < div className = "z-50 flex flex-col items-center justify-center gap-5 px-6 text-center lg:gap-6" >
65- < h1 className = "hero__title font-good-brush tracking-[-0.04em] leading-none text-[40px] md:text-5xl lg:text-[12em] max-w-lg md:max-w-xl lg:max-w-4xl text-center text-white" >
66+ < h1
67+ className = { `hero__title ${ goodBrush . className } tracking-[-0.04em] leading-none text-[40px] md:text-5xl lg:text-[12em] max-w-lg md:max-w-xl lg:max-w-4xl text-center text-white` }
68+ >
6669 JavaScript Colombo
6770 </ h1 >
6871 < h3 className = "flex gap-2 flex-wrap justify-center items-center font-space-grotesk leading-snug dark:text-[#FFFFFFB2] text-[#00000080] text-[20px] lg:text-xl max-w-md md:max-w-xl lg:max-w-[640px] text-center" >
Original file line number Diff line number Diff line change 2525import type { Config } from 'tailwindcss' ;
2626import defaultTheme from 'tailwindcss/defaultTheme' ;
2727import animate from 'tailwindcss-animate' ;
28+ import { goodBrush } from './app/fonts' ;
2829
2930const config : Config = {
3031 darkMode : [ 'class' ] ,
@@ -80,7 +81,6 @@ const config: Config = {
8081 fontFamily : {
8182 sans : [ 'Inter' , ...defaultTheme . fontFamily . sans ] ,
8283 'space-grotesk' : [ 'Space Grotesk' , 'monospace' ] ,
83- 'good-brush' : [ 'var(--font-good-brush)' ] ,
8484 mono : [
8585 'Menlo' ,
8686 'Monaco' ,
You can’t perform that action at this time.
0 commit comments