Skip to content

Commit 86994d9

Browse files
styling
1 parent 2b38606 commit 86994d9

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

src/components/app-home-page/app-home-page.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,41 @@ button:hover {
2323
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
2424
transform: translateY(1px);
2525
}
26+
27+
28+
table {
29+
width: 100%;
30+
border-collapse: collapse;
31+
margin: 20px 0;
32+
font-size: 18px;
33+
text-align: left;
34+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
35+
border-radius: 8px;
36+
overflow: hidden;
37+
}
38+
39+
th, td {
40+
padding: 12px 15px;
41+
border-bottom: 2px solid #ddd;
42+
}
43+
44+
th {
45+
background-color: #007BFF;
46+
color: white;
47+
text-transform: uppercase;
48+
}
49+
50+
tr:hover {
51+
background-color: #f5f5f5;
52+
}
53+
54+
a {
55+
text-decoration: none;
56+
color: #007BFF;
57+
font-weight: bold;
58+
}
59+
60+
a:hover {
61+
color: #0056b3;
62+
text-decoration: underline;
63+
}

src/components/app-home-page/app-home-page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ export class AppHome {
1717
</p>
1818
<p><strong>Please Note:</strong> Currently, The routing to different pages is not working perfectly and you can navigate to each page, after clicking it from main Home page only. Direct URLs to each individual page is not working. </p>
1919

20-
<table style={{ border: '1px solid black', borderSpacing: '0', padding: '8px' }}>
20+
<table>
21+
<tr>
22+
<th>Project</th>
23+
<th>Link</th>
24+
</tr>
2125
<tr>
2226
<td>Main Portfolio site</td>
2327
<td><a href="https://sanjeetkumarit.netlify.app/" target="_blank" rel="noopener noreferrer">Visit</a></td>

0 commit comments

Comments
 (0)