Skip to content

Commit 95cacf2

Browse files
committed
Fix prettier config and format
Signed-off-by: Sahil Gupte <[email protected]>
1 parent d931f6d commit 95cacf2

File tree

5 files changed

+13
-14
lines changed

5 files changed

+13
-14
lines changed
File renamed without changes.

example/src/components/Home.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
import React from 'react'
2-
import { Link } from "react-router-dom";
2+
import { Link } from 'react-router-dom'
33

44
const Home = () => {
55
return (
6-
<div className="Home">
7-
<div className="header">
6+
<div className='Home'>
7+
<div className='header'>
88
<h1>Frontend-reactjs</h1>
99
</div>
1010

11-
<div className="contri">
12-
<div className="contri_heading">
11+
<div className='contri'>
12+
<div className='contri_heading'>
1313
<h3>Start Contributing</h3>
1414
</div>
1515
<hr />
1616

17-
<div className="contri_components">
18-
<Link to="/login" className="component">
17+
<div className='contri_components'>
18+
<Link to='/login' className='component'>
1919
<h2>Login</h2>
2020
</Link>
21-
<Link to="/register" className="component">
21+
<Link to='/register' className='component'>
2222
<h2>Register</h2>
2323
</Link>
24-
<Link to="/product_card" className="component" >
24+
<Link to='/product_card' className='component'>
2525
<h2>Product card</h2>
2626
</Link>
2727
{/* Add new Link Here for your new component */}
@@ -31,4 +31,4 @@ const Home = () => {
3131
)
3232
}
3333

34-
export default Home
34+
export default Home

src/.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"env": {
33
"jest": true
44
}
5-
}
5+
}

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export { default as Login } from './lib-components/login'
22
export { default as Register } from './lib-components/register'
33
export { default as ProductCard } from './lib-components/product_card'
4-

src/lib-components/product_card/index.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*===== GOOGLE FONTS =====*/
2-
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
2+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
33
/*===== VARIABLES CSS =====*/
44
:root {
55
/*===== Colores =====*/
@@ -8,7 +8,7 @@
88
--dark-color: #272d40;
99
--dark-color-lighten: #f2f5ff;
1010
/*===== Fuente y tipografia =====*/
11-
--body-font: "Poppins", sans-serif;
11+
--body-font: 'Poppins', sans-serif;
1212
--h1-font-size: 1.5rem;
1313
--h2-font-size: 1.25rem;
1414
--normal-font-size: 1rem;

0 commit comments

Comments
 (0)