Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Commit 9ae48ec

Browse files
working ResumeLink
1 parent d3276b6 commit 9ae48ec

File tree

4 files changed

+31
-9
lines changed

4 files changed

+31
-9
lines changed

public/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
work correctly both with client-side routing and a non-root public URL.
2525
Learn how to configure a non-root public URL by running `npm run build`.
2626
-->
27+
<link rel="preconnect" href="https://fonts.googleapis.com"/>
28+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
29+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap" rel="stylesheet"/>
2730
<title>GitMe</title>
2831
</head>
2932
<body>

src/Home.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ export default function App() {
99

1010
return (
1111
<div className="App">
12-
<header>
13-
<link rel="preconnect" href="https://fonts.googleapis.com"/>
14-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
15-
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap" rel="stylesheet"/>
16-
</header>
1712
<div id="intro-block">
1813
<img src={logo} alt="Logo" className='logo'/>
1914
<h2 class='head'>An AI improvement application</h2>

src/ResumeLink.css

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1-
.App * {
1+
.App-main {
22
color: white;
3+
white-space: pre-wrap;
4+
display: block;
5+
max-width: 1100px;
6+
margin: 0 auto;
7+
font-family: roboto;
8+
font-size: 20px;
9+
}
10+
11+
h2 {
12+
margin-top: 10px;
13+
margin-bottom: 30px;
14+
padding-bottom: 15px;
15+
border-bottom: 3px dashed white;
16+
}
17+
18+
.App-main :not(h2) {
19+
text-align: left;
20+
margin: 0 10px;
21+
}
22+
23+
.App-main > :not(h2) {
24+
padding-bottom: 20px;
25+
border-bottom: 1px solid #ccc;
26+
margin-bottom: 20px;
327
}

src/ResumeLink.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ function ResumeReview(){
77

88
return(
99
<div className="App">
10-
<body>
10+
<div className="App-main">
1111
<h2>Here is a list of your repositories and a resume summary of each one</h2>
1212
{state.data.map((item, index) => (
1313
<div key={index}>
14-
<h4>{item.repository}</h4>
14+
<h3>{item.repository}</h3>
1515
<p>{item.generated_summary}</p>
1616
</div>
1717
))}
18-
</body>
18+
</div>
1919
</div>
2020

2121
);

0 commit comments

Comments
 (0)