feat: add syllabus button on desktop
All checks were successful
Deploy to Netlify / Deploy to Netlify (push) Successful in 1m11s
All checks were successful
Deploy to Netlify / Deploy to Netlify (push) Successful in 1m11s
This commit is contained in:
parent
4aebc41e2b
commit
db1a7bca57
1 changed files with 14 additions and 2 deletions
|
|
@ -267,7 +267,19 @@ export default function ColleDetailPage() {
|
|||
<span className="sr-only">Partager</span>
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
{syllabusLink && (
|
||||
<Button
|
||||
variant="outline"
|
||||
size="icon"
|
||||
className="h-10 w-10"
|
||||
onClick={() => window.open(syllabusLink, "_blank")}
|
||||
>
|
||||
<Album className={"h-5 w-5"} />
|
||||
<span className="sr-only">Programme de colle</span>
|
||||
</Button>
|
||||
)}
|
||||
|
||||
{/* <Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
className="h-9 w-9"
|
||||
|
|
@ -279,7 +291,7 @@ export default function ColleDetailPage() {
|
|||
className={`h-4 w-4 ${isReloading ? "animate-spin" : ""}`}
|
||||
/>
|
||||
<span className="sr-only">Recharger</span>
|
||||
</Button>
|
||||
</Button> */}
|
||||
|
||||
{/* <Button
|
||||
variant="ghost"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue