mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Removed snowflake, and added some link queries
This commit is contained in:
parent
0c69bf931f
commit
0e7c6bd289
2 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'
|
|||
import Link from 'next/link'
|
||||
import dynamic from 'next/dynamic'
|
||||
|
||||
const Snowfall = dynamic(() => import('react-snowfall'), { ssr: false })
|
||||
// const Snowfall = dynamic(() => import('react-snowfall'), { ssr: false })
|
||||
|
||||
import tabs from '../data/tabs.json'
|
||||
import constants from '../constants.json'
|
||||
|
@ -33,7 +33,7 @@ export default function Layout(props) {
|
|||
setWindowSize([window.innerWidth, window.innerHeight])
|
||||
})
|
||||
}, [])
|
||||
const snowflakeCount = (windowSize[0] + windowSize[1]) / 8
|
||||
// const snowflakeCount = (windowSize[0] + windowSize[1]) / 26
|
||||
|
||||
return (
|
||||
<div>
|
||||
|
@ -46,7 +46,7 @@ export default function Layout(props) {
|
|||
height: `${windowSize[1]}px`,
|
||||
}}
|
||||
>
|
||||
<Snowfall snowflakeCount={snowflakeCount} />
|
||||
{/* <Snowfall snowflakeCount={snowflakeCount} /> */}
|
||||
</div>
|
||||
<div className="sidebar">
|
||||
<div className="headercontainer">
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
"text": "Összes kérdés JSON"
|
||||
},
|
||||
"irc": {
|
||||
"href": "/irc",
|
||||
"href": "/irc?index",
|
||||
"text": "IRC chat"
|
||||
},
|
||||
"dataeditor": {
|
||||
"href": "/dataeditor",
|
||||
"href": "/dataeditor?index",
|
||||
"text": "Dataeditor"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue