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 = [
7272 description && (
7373 <div class = " flex-1" >
7474 <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+ }
7681 </h2 >
7782 <p class = " text-gray-600 mb-4" style = " color:oklch(54.6% 0.03 256.802);" >
7883 { industry } { industry && location && <>—</>} { location }
@@ -151,11 +156,11 @@ const socialLinks = [
151156 )}
152157
153158 { 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" >
157162 { Object .values (jobs ).map ((job ) => (
158- <li >
163+ <li >
159164 <a href = { ` /sponsor/${job .id } ` } >{ job .data .title } </a >
160165 </li >
161166 ))}
@@ -262,4 +267,15 @@ const socialLinks = [
262267 border: 0 solid rgba(33,33,33,0.2);
263268 border-width: 1px 0 0 0;
264269 }
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+ }
265281</style >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export async function getStaticPaths() {
3333>
3434 <TwoCols >
3535 <Fragment slot =" content" >
36- <SponsorCard {sponsor } />
36+ <SponsorCard {sponsor } showJobs />
3737 </Fragment >
3838 <Fragment slot =" sidebar" >
3939 { (<JobCard { job } />)}
You can’t perform that action at this time.
0 commit comments