File tree Expand file tree Collapse file tree 3 files changed +67
-2
lines changed Expand file tree Collapse file tree 3 files changed +67
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { programsNav } from '@/navs/program'
5
5
import clsx from 'clsx'
6
6
import Link from 'next/link'
7
7
import styles from './Footer.module.css'
8
+ import MadeInBadge from './MadeInBadge'
8
9
9
10
const footerNav = {
10
11
'Getting started' : {
@@ -146,8 +147,9 @@ export function Footer() {
146
147
Status
147
148
</ p >
148
149
</ a >
149
- < span className = "mt-4 inline-flex justify-center sm:ml-auto sm:mt-0 sm:justify-start" >
150
- </ span >
150
+ < div className = "mt-4 inline-flex justify-center sm:ml-auto sm:mt-0 sm:justify-start" >
151
+ < MadeInBadge />
152
+ </ div >
151
153
</ div >
152
154
</ div >
153
155
</ footer >
Original file line number Diff line number Diff line change
1
+ import { IndianFlag } from '@/components/Logos'
2
+
3
+ export default function MadeInBadge ( ) {
4
+ return (
5
+ < div className = "title-font flex items-center justify-center pl-6 font-medium text-gray-900 md:justify-start" >
6
+ < div className = "mt-2 flex items-center text-sm text-gray-500 dark:text-gray-300" >
7
+ Made with
8
+ < div className = "heart mx-2" > </ div >
9
+ in
10
+ < p className = "sr-only" > India</ p >
11
+ < IndianFlag className = "ml-2 h-4 w-auto rounded-sm" />
12
+ </ div >
13
+ </ div >
14
+ )
15
+ }
Original file line number Diff line number Diff line change @@ -52,3 +52,51 @@ thead tr th {
52
52
.prose strong {
53
53
font-weight : 700 ;
54
54
}
55
+
56
+ /* Heart */
57
+
58
+ .heart {
59
+ position : relative;
60
+ width : 10px ;
61
+ height : 10px ;
62
+ background-color : red;
63
+ transform : rotate (45deg ) scale (1 );
64
+ border-radius : 0 0 2px 0 ;
65
+ animation : pumpHeart 1500ms ease-in-out infinite;
66
+ }
67
+ .heart ::before ,
68
+ .heart ::after {
69
+ content : '' ;
70
+ position : absolute;
71
+ width : 100% ;
72
+ height : 100% ;
73
+ border-radius : 50% ;
74
+ background-color : red;
75
+ }
76
+ .heart ::before {
77
+ transform : translateY (-50% );
78
+ }
79
+ .heart ::after {
80
+ transform : translateX (-50% );
81
+ }
82
+
83
+ @keyframes pumpHeart {
84
+ 0% {
85
+ transform : rotate (45deg ) scale (1 );
86
+ }
87
+ 50% {
88
+ transform : rotate (45deg ) scale (1 );
89
+ }
90
+ 60% {
91
+ transform : rotate (45deg ) scale (1.2 );
92
+ }
93
+ 80% {
94
+ transform : rotate (45deg ) scale (0.95 );
95
+ }
96
+ 90% {
97
+ transform : rotate (45deg ) scale (1 );
98
+ }
99
+ 100% {
100
+ transform : rotate (45deg ) scale (1 );
101
+ }
102
+ }
You can’t perform that action at this time.
0 commit comments