Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open files and images in a new tab #98

Merged
merged 1 commit into from
Feb 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/cards/FileCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function FileCard({ file }) {
return (
<li className="col-span-1 bg-white rounded-lg overflow-hidden shadow-label list-none">
<Link href={url}>
<a>
<a target="_blank" rel="noopener noreferrer">
<div>
<div className="h-40 border-b-4 border-gray-300 overflow-hidden">
<div className="bg-gradient-to-b from-my-green to-my-dark-green">
Expand Down
2 changes: 1 addition & 1 deletion components/cards/ImageCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function ImageCard({ image }) {
return (
<li className="col-span-1 bg-white rounded-lg overflow-hidden shadow-label list-none">
<Link href={url}>
<a>
<a target="_blank" rel="noopener noreferrer">
<div>
<div className="h-40 border-b-4 border-gray-300 overflow-hidden">
<img src={url} className="object-cover h-full " />
Expand Down