-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Daksh Chauhan <dak-x@outlook.com>
- Loading branch information
Showing
9 changed files
with
227 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
.App { | ||
text-align: center; | ||
text-align: center; | ||
} | ||
|
||
.App-logo { | ||
height: 40vmin; | ||
pointer-events: none; | ||
height: 40vmin; | ||
pointer-events: none; | ||
} | ||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
} | ||
|
||
.App-header { | ||
background-color: #282c34; | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
color: white; | ||
background-color: #282c34; | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
color: white; | ||
} | ||
|
||
.App-link { | ||
color: #61dafb; | ||
color: #61dafb; | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import logo from './logo.svg'; | ||
// import './App.css'; | ||
import MainBody from "./components/MainBody" | ||
|
||
function App() { | ||
return ( | ||
<MainBody></MainBody> | ||
); | ||
return ( < | ||
MainBody > < /MainBody> | ||
|
||
); | ||
} | ||
|
||
export default App; | ||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export const baseUrl = "https://42e5-2405-201-4019-9b7b-55d1-7b40-bc65-d7ae.ngrok.io" | ||
export const baseUrl = "http://localhost:8080" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,50 @@ | ||
.title{ | ||
width: 912px; | ||
height: 26px; | ||
|
||
/* Regular text */ | ||
|
||
font-family: Apercu Pro; | ||
font-style: normal; | ||
font-weight: 800; | ||
font-size: 40px; | ||
line-height: 26px; | ||
/* identical to box height, or 130% */ | ||
|
||
|
||
/* Black */ | ||
|
||
color: #000000; | ||
|
||
|
||
/* Inside Auto Layout */ | ||
|
||
flex: none; | ||
order: 0; | ||
flex-grow: 0; | ||
margin: 20px 0px; | ||
.title { | ||
width: 912px; | ||
height: 26px; | ||
/* Regular text */ | ||
font-family: Noto Sans; | ||
font-style: normal; | ||
font-weight: 800; | ||
font-size: 40px; | ||
line-height: 26px; | ||
/* identical to box height, or 130% */ | ||
/* Black */ | ||
color: #000000; | ||
/* Inside Auto Layout */ | ||
flex: none; | ||
order: 0; | ||
flex-grow: 0; | ||
margin: 20px 0px; | ||
} | ||
|
||
.flex-container{ | ||
display: flex; | ||
justify-content: space-between; | ||
.flex-container { | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
|
||
.inner-text{ | ||
font-size: 20px; | ||
margin-bottom: 20px; | ||
.inner-text { | ||
font-family: Noto Sans; | ||
font-style: normal; | ||
/* font-weight: 800; */ | ||
/* font-size: 40px; */ | ||
font-size: 16px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.link,.link:visited{ | ||
text-decoration: none; | ||
.link, | ||
.link:visited { | ||
text-decoration: none; | ||
} | ||
|
||
.card{ | ||
|
||
/* width: 80%; */ | ||
padding: 20px; | ||
box-sizing: border-box; | ||
margin: 20px auto; | ||
background: #F2F4F8; | ||
border-radius: 30px; | ||
|
||
} | ||
.card { | ||
font-family: Noto Sans; | ||
/* font-style: normal; */ | ||
/* font-weight: 800; */ | ||
font-size: 12px; | ||
/* width: 80%; */ | ||
padding: 20px; | ||
box-sizing: border-box; | ||
margin: 20px auto; | ||
background: #F2F4F8; | ||
border-radius: 30px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import React from 'react' | ||
import "./card.css" | ||
export default function Card({title,innerText,date,link}) { | ||
export default function Card({ title, innerText, date, link }) { | ||
return ( | ||
<div className="card"> | ||
<div className="title" >{title}</div> | ||
<div className="inner-text" div dangerouslySetInnerHTML={{ __html: innerText }}> | ||
</div> | ||
<div className="flex-container"> | ||
<div className="last-visited"> {date}</div> | ||
<a className="link" href={link}>visit</a> | ||
</div> | ||
<div className="title" >{title}</div> | ||
<div className="inner-text" div dangerouslySetInnerHTML={{ __html: innerText }}> | ||
|
||
</div> | ||
<div className="flex-container"> | ||
<div className="last-visited"> {date}</div> | ||
<a className="link" href={link}>visit</a> | ||
</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.