Skip to content

Commit

Permalink
DAO-542 Added RIF LOGO in the input for the create proposal (#78)
Browse files Browse the repository at this point in the history
* DAO-542 Added RIF LOGO

* Removed imgix loader; this because we are not using that.
  • Loading branch information
Freshenext authored Jul 25, 2024
1 parent 0fae2fb commit d4667fd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
images: {
loader: 'imgix',
path: '/'
}
}

export default nextConfig
Binary file added public/images/rif-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/pages/proposals/create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useCreateProposal } from '@/app/proposals/hooks/useCreateProposal'
import { useVotingPower } from '@/app/proposals/hooks/useVotingPower'
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/Accordion'
import { Button } from '@/components/Button'
import Image from 'next/image'
import {
Form,
FormControl,
Expand All @@ -23,7 +24,6 @@ import { zodResolver } from '@hookform/resolvers/zod'
import { useRouter } from 'next/navigation'
import { useEffect, useState } from 'react'
import { useForm } from 'react-hook-form'
import { FaBitcoin } from 'react-icons/fa6'
import { GoRocket } from 'react-icons/go'
import { Address } from 'viem'
import { z } from 'zod'
Expand Down Expand Up @@ -237,7 +237,7 @@ export default function CreateProposal() {
</SelectItem> */}
<SelectItem value={currentEnvContracts.stRIF as Address}>
<div className="flex items-center">
<FaBitcoin className="mr-2" />
<Image src="/images/rif-logo.png" alt="stRIF Logo" width={20} height={20} />
stRIF
</div>
</SelectItem>
Expand Down

0 comments on commit d4667fd

Please sign in to comment.