Skip to content

Commit

Permalink
[PREVIEW] i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyd-eth committed Oct 3, 2023
1 parent 93e48d9 commit ec71910
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { useForm } from 'antd/lib/form/Form'
import { NftRewardsFormProps } from 'components/NftRewards/AddNftCollectionForm'
import {
EditingFundingCycleConfig,
useEditingFundingCycleConfig,
} from 'components/v2v3/V2V3Project/V2V3ProjectSettings/hooks/useEditingFundingCycleConfig'
import { useReconfigureFundingCycle } from 'components/v2v3/V2V3Project/V2V3ProjectSettings/hooks/useReconfigureFundingCycle'
import { JB721GovernanceType } from 'models/nftRewards'
import { useState } from 'react'
import { useAppSelector } from 'redux/hooks/useAppSelector'
Expand All @@ -10,11 +15,6 @@ import {
pinNftCollectionMetadata,
pinNftRewards,
} from 'utils/nftRewards'
import {
EditingFundingCycleConfig,
useEditingFundingCycleConfig,
} from '../../../ReconfigureFundingCycleSettingsPage/hooks/useEditingFundingCycleConfig'
import { useReconfigureFundingCycle } from '../../../ReconfigureFundingCycleSettingsPage/hooks/useReconfigureFundingCycle'

export const useSettingsLaunchNftsForm = () => {
const [form] = useForm<NftRewardsFormProps>()
Expand Down
3 changes: 0 additions & 3 deletions src/locales/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -752,9 +752,6 @@ msgstr ""
msgid "New NFTs will be available in your next cycle as long as it starts after your edit deadline."
msgstr ""

msgid "New NFTs will be available in your next cycle as long as it starts after your edit deadline."
msgstr ""

msgid "Confirm"
msgstr ""

Expand Down
18 changes: 13 additions & 5 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
/** @type {import('tailwindcss').Config} */

const defaultTheme = require('tailwindcss/defaultTheme')

/**
* @typedef { import('tailwindcss').DarkModeConfig } DarkModeConfig
*/

/** @type {DarkModeConfig} */
const darkModeValue = 'class' // Use class for now, switch to media later

module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
darkMode: 'class', // Use class for now, switch to media later
darkMode: darkModeValue,
important: true,
theme: {
fontFamily: {
Expand Down Expand Up @@ -43,12 +51,12 @@ module.exports = {
},
keyframes: {
rise: {
'0%': { transform: 'translate(-50%, 100%)', opacity: 0 },
'100%': { transform: 'translate(0%, 0%)', opacity: 1 },
'0%': { transform: 'translate(-50%, 100%)', opacity: '0' },
'100%': { transform: 'translate(0%, 0%)', opacity: '1' },
},
set: {
'0%': { transform: 'translate(0%, 0%)', opacity: 1 },
'100%': { transform: 'translate(50%, 100%)', opacity: 0 },
'0%': { transform: 'translate(0%, 0%)', opacity: '1' },
'100%': { transform: 'translate(50%, 100%)', opacity: '0' },
},
},
animation: {
Expand Down

0 comments on commit ec71910

Please sign in to comment.