mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-28 05:37:49 +02:00
Updated links model and poll page (#206)
* Improved sharing * Updated desktop poll
This commit is contained in:
parent
c4cbf2f6bb
commit
2ead375b42
50 changed files with 955 additions and 1848 deletions
|
@ -35,8 +35,8 @@ export const Profile: React.VoidFunctionComponent = () => {
|
|||
return (
|
||||
<div className="mx-auto max-w-3xl py-4 lg:mx-0">
|
||||
<div className="mb-4 flex items-center px-4">
|
||||
<div className="bg-primary-50 mr-4 inline-flex h-14 w-14 items-center justify-center rounded-lg">
|
||||
<User className="text-primary-500 h-7" />
|
||||
<div className="mr-4 inline-flex h-14 w-14 items-center justify-center rounded-lg bg-primary-50">
|
||||
<User className="h-7 text-primary-500" />
|
||||
</div>
|
||||
<div>
|
||||
<div
|
||||
|
@ -71,9 +71,9 @@ export const Profile: React.VoidFunctionComponent = () => {
|
|||
<div className="sm:table-cell sm:p-4">
|
||||
<div>
|
||||
<div className="flex">
|
||||
<Calendar className="text-primary-500 mr-2 mt-[1px] h-5" />
|
||||
<Link href={`/admin/${poll.links[0].urlId}`}>
|
||||
<a className="hover:text-primary-500 text-slate-700 hover:no-underline">
|
||||
<Calendar className="mr-2 mt-[1px] h-5 text-primary-500" />
|
||||
<Link href={`/admin/${poll.adminUrlId}`}>
|
||||
<a className="text-slate-700 hover:text-primary-500 hover:no-underline">
|
||||
<div>{poll.title}</div>
|
||||
</a>
|
||||
</Link>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue