File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,27 +99,6 @@ export default function Preview() {
9999 < div className = "home-bar" />
100100 </ div >
101101 </ div >
102-
103- < motion . div
104- className = "qr-section"
105- initial = { { opacity : 0 , y : 20 } }
106- animate = { { opacity : 1 , y : 0 } }
107- transition = { { delay : 1 , duration : 0.5 } }
108- >
109- < div className = "qr-text" >
110- < h3 > Experience on Mobile</ h3 >
111- < p > Scan to see the real Zappify app on your phone</ p >
112- </ div >
113- < div className = "qr-code-wrapper" >
114- < img src = { `https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=${ encodeURIComponent ( window . location . origin ) } ` } alt = "QR Code" />
115- </ div >
116- < button className = "share-btn" onClick = { ( ) => {
117- navigator . clipboard . writeText ( window . location . origin ) ;
118- alert ( "Link copied! Share it with anyone." ) ;
119- } } >
120- Copy App Link
121- </ button >
122- </ motion . div >
123102 </ div >
124103 </ div >
125104 ) ;
Original file line number Diff line number Diff line change @@ -1510,59 +1510,4 @@ ul {
15101510 margin-bottom : 20px ;
15111511}
15121512
1513- .qr-section {
1514- margin-top : 40px ;
1515- display : flex;
1516- flex-direction : column;
1517- align-items : center;
1518- gap : 15px ;
1519- background : rgba (255 , 255 , 255 , 0.05 );
1520- padding : 24px ;
1521- border-radius : 24px ;
1522- border : 1px solid rgba (255 , 255 , 255 , 0.1 );
1523- backdrop-filter : blur (10px );
1524- }
1525-
1526- .qr-code-wrapper {
1527- background : white;
1528- padding : 12px ;
1529- border-radius : 16px ;
1530- box-shadow : 0 10px 30px rgba (0 , 0 , 0 , 0.3 );
1531- }
1532-
1533- .qr-code-wrapper img {
1534- display : block;
1535- }
1536-
1537- .qr-text {
1538- color : # fff ;
1539- text-align : center;
1540- }
1541-
1542- .qr-text h3 {
1543- margin : 0 ;
1544- font-size : 18px ;
1545- font-weight : 700 ;
1546- }
1547-
1548- .qr-text p {
1549- margin : 5px 0 0 ;
1550- font-size : 13px ;
1551- opacity : 0.6 ;
1552- }
15531513
1554- .share-btn {
1555- margin-top : 10px ;
1556- background : var (--brand-red );
1557- color : white;
1558- border : none;
1559- padding : 10px 20px ;
1560- border-radius : 12px ;
1561- font-weight : 600 ;
1562- cursor : pointer;
1563- transition : transform 0.2s ;
1564- }
1565-
1566- .share-btn : hover {
1567- transform : scale (1.05 );
1568- }
You can’t perform that action at this time.
0 commit comments