Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F86431004
Box.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Oct 6, 11:14
Size
331 B
Mime Type
text/x-java
Expires
Tue, Oct 8, 11:14 (2 d)
Engine
blob
Format
Raw Data
Handle
21419254
Attached To
R13029 webapp_nextjs
Box.js
View Options
// components/Box.js
import
Link
from
'next/link'
;
import
'./Box.css'
;
function
Box
({
title
,
description
,
link
})
{
return
(
<
div
className
=
"box"
>
<
Link
href
=
{
link
}
>
<
h2
>
{
title
}
<
/h2>
<
p
>
{
description
}
<
/p>
<
/Link>
{
/* Optional: Add styles here */
}
<
/div>
);
}
export
default
Box
;
Event Timeline
Log In to Comment