Published your App
Replit-Commit-Author: Deployment Replit-Commit-Session-Id: 23852c00-4779-460a-9e0c-d09fee4b6c92 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 46325f17-ddfc-4b84-9989-ea8d9d793cea Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/23852c00-4779-460a-9e0c-d09fee4b6c92/H1wOZyV Replit-Commit-Deployment-Build-Id: 08d9db3d-1e56-420d-b7da-0add8a49e95b Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
2019c333ee
commit
666eb0e395
@ -49,14 +49,14 @@ export function BreakingNewsWidget() {
|
||||
<Globe className="w-4 h-4 text-primary" />
|
||||
<h3 className="font-bold text-card-foreground text-sm">Aktuelle Nachrichten</h3>
|
||||
</div>
|
||||
<div className="p-3 flex-1 flex flex-col justify-between">
|
||||
<div className="p-3 flex-1 flex flex-col">
|
||||
{visible.map((item, i) => (
|
||||
<a
|
||||
key={`${offset}-${i}`}
|
||||
href={item.link}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="block group cursor-pointer"
|
||||
className="block group cursor-pointer flex-1 flex flex-col justify-center"
|
||||
data-testid={`link-breaking-news-${i}`}
|
||||
>
|
||||
<div className="flex items-start gap-2">
|
||||
@ -71,7 +71,7 @@ export function BreakingNewsWidget() {
|
||||
</div>
|
||||
<ExternalLink className="w-3 h-3 text-muted-foreground flex-shrink-0 mt-0.5 opacity-0 group-hover:opacity-100 transition-opacity" />
|
||||
</div>
|
||||
{i < VISIBLE_COUNT - 1 && <div className="border-b border-card-border mt-2 mb-2" />}
|
||||
{i < VISIBLE_COUNT - 1 && <div className="border-b border-card-border mt-2" />}
|
||||
</a>
|
||||
))}
|
||||
{isLoading && (
|
||||
|
||||
@ -49,14 +49,14 @@ export function NewsWidget() {
|
||||
<Newspaper className="w-4 h-4 text-primary" />
|
||||
<h3 className="font-bold text-card-foreground text-sm">Musiknachrichten</h3>
|
||||
</div>
|
||||
<div className="p-3 flex-1 flex flex-col justify-between">
|
||||
<div className="p-3 flex-1 flex flex-col">
|
||||
{visible.map((item, i) => (
|
||||
<a
|
||||
key={`${offset}-${i}`}
|
||||
href={item.link}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="block group cursor-pointer"
|
||||
className="block group cursor-pointer flex-1 flex flex-col justify-center"
|
||||
data-testid={`link-news-${i}`}
|
||||
>
|
||||
<div className="flex items-start gap-2">
|
||||
@ -71,7 +71,7 @@ export function NewsWidget() {
|
||||
</div>
|
||||
<ExternalLink className="w-3 h-3 text-muted-foreground flex-shrink-0 mt-0.5 opacity-0 group-hover:opacity-100 transition-opacity" />
|
||||
</div>
|
||||
{i < VISIBLE_COUNT - 1 && <div className="border-b border-card-border mt-2 mb-2" />}
|
||||
{i < VISIBLE_COUNT - 1 && <div className="border-b border-card-border mt-2" />}
|
||||
</a>
|
||||
))}
|
||||
{isLoading && (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user