add-frames #1

Merged
philipp merged 22 commits from add-frames into fork 2022-11-02 10:25:45 +01:00
Showing only changes of commit 259d166d00 - Show all commits

View file

@ -2,12 +2,10 @@ import React from 'react';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
export const DashboardCardLIT: React.FC<any> = ({ app }: { app: any }) => { export const DashboardCardLIT: React.FC<any> = ({ app }: { app: any }) => {
const url = `/${app.slug}`;
return ( return (
<> <>
<Link <Link
to={url} to={`/${app.slug}`}
// className="mx-1 inline-flex items-center px-2.5 py-1.5 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500" // className="mx-1 inline-flex items-center px-2.5 py-1.5 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500"
> >
<div <div
@ -18,7 +16,7 @@ export const DashboardCardLIT: React.FC<any> = ({ app }: { app: any }) => {
<div className="mr-4 flex items-center"> <div className="mr-4 flex items-center">
<img <img
className="h-16 w-16 rounded-md overflow-hidden mr-4 flex-shrink-0" className="h-16 w-16 rounded-md overflow-hidden mr-4 flex-shrink-0"
src={`/assets/${app.slug}.svg`} src={app.assetSrc}
alt={app.name} alt={app.name}
/> />