mirror of
https://github.com/skidoodle/erettsegi-browser.git
synced 2025-02-15 05:39:15 +01:00
add divider between buttons
This commit is contained in:
parent
6ca06abc00
commit
53b8cb85d9
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@ import { subjects } from '@/utils/subjects'
|
||||||
import Footer from '@/components/Footer'
|
import Footer from '@/components/Footer'
|
||||||
import { Select, SelectItem } from '@nextui-org/select'
|
import { Select, SelectItem } from '@nextui-org/select'
|
||||||
import { Button, ButtonGroup } from '@nextui-org/button'
|
import { Button, ButtonGroup } from '@nextui-org/button'
|
||||||
|
import { Divider } from '@nextui-org/divider'
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
const [flPdfLink, setflPdfLink] = useState<string>('')
|
const [flPdfLink, setflPdfLink] = useState<string>('')
|
||||||
|
@ -137,6 +138,7 @@ export default function Home() {
|
||||||
>
|
>
|
||||||
Feladatlap
|
Feladatlap
|
||||||
</Button>
|
</Button>
|
||||||
|
<Divider orientation="vertical" />
|
||||||
<Button
|
<Button
|
||||||
isDisabled={!utPdfLink}
|
isDisabled={!utPdfLink}
|
||||||
className="w-24 mt-3 text-sm bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-2"
|
className="w-24 mt-3 text-sm bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-2"
|
||||||
|
@ -161,6 +163,7 @@ export default function Home() {
|
||||||
Forrás
|
Forrás
|
||||||
</Button>
|
</Button>
|
||||||
) : null}
|
) : null}
|
||||||
|
<Divider orientation="vertical" />
|
||||||
{selectedSubject === 'inf' ||
|
{selectedSubject === 'inf' ||
|
||||||
selectedSubject === 'infoism' ||
|
selectedSubject === 'infoism' ||
|
||||||
selectedSubject === 'digkult' ? (
|
selectedSubject === 'digkult' ? (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue