File tree Expand file tree Collapse file tree 2 files changed +22
-6
lines changed Expand file tree Collapse file tree 2 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,12 @@ const socialLinks = [
72
72
description && (
73
73
<div class = " flex-1" >
74
74
<h2 class = " text-2xl font-bold mb-2 " >
75
- { title }
75
+ { ! isSponsorPage ?
76
+ <a href = { ` /sponsor/${sponsor .id } ` } >
77
+ { title }
78
+ </a > :
79
+ <>{ title } </>
80
+ }
76
81
</h2 >
77
82
<p class = " text-gray-600 mb-4" style = " color:oklch(54.6% 0.03 256.802);" >
78
83
{ industry } { industry && location && <>—</>} { location }
@@ -151,11 +156,11 @@ const socialLinks = [
151
156
)}
152
157
153
158
{ showJobs && jobs && (
154
- <div class = " mt-4 " >
155
- <h3 class = " font-semibold" >Open Positions: </h3 >
156
- <ul class = " list-disc list-inside" >
159
+ <div class = " mt-6 pt-6 " style = " border: 0 solid rgba(33,33,33,0.2); border-width: 1px 0 0 0; " >
160
+ <h3 class = " text-xl font-semibold" >All job offers </h3 >
161
+ <ul class = " list-disc list-inside" >
157
162
{ Object .values (jobs ).map ((job ) => (
158
- <li >
163
+ <li >
159
164
<a href = { ` /sponsor/${job .id } ` } >{ job .data .title } </a >
160
165
</li >
161
166
))}
@@ -262,4 +267,15 @@ const socialLinks = [
262
267
border: 0 solid rgba(33,33,33,0.2);
263
268
border-width: 1px 0 0 0;
264
269
}
270
+
271
+ li {
272
+ list-style-type:disc;
273
+ list-style-position: inside;
274
+ }
275
+ h2 a, li a {
276
+ text-decoration: underline;
277
+ }
278
+ h2 a:hover, li a:hover {
279
+ color:var(--color-primary-hover);
280
+ }
265
281
</style >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export async function getStaticPaths() {
33
33
>
34
34
<TwoCols >
35
35
<Fragment slot =" content" >
36
- <SponsorCard {sponsor } />
36
+ <SponsorCard {sponsor } showJobs />
37
37
</Fragment >
38
38
<Fragment slot =" sidebar" >
39
39
{ (<JobCard { job } />)}
You can’t perform that action at this time.
0 commit comments