Skip to content

Commit

Permalink
Added filcnaplo.hu
Browse files Browse the repository at this point in the history
  • Loading branch information
Zan1456 committed May 14, 2024
1 parent 5104bf1 commit 09bcb39
Show file tree
Hide file tree
Showing 73 changed files with 5,577 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Sites/filcnaplo.hu/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["next/babel"],
"plugins": ["inline-react-svg"]
}
3 changes: 3 additions & 0 deletions Sites/filcnaplo.hu/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
36 changes: 36 additions & 0 deletions Sites/filcnaplo.hu/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
29 changes: 29 additions & 0 deletions Sites/filcnaplo.hu/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
BSD 3-Clause License

Copyright (c) 2020, Filc
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6 changes: 4 additions & 2 deletions Sites/filcnaplo.hu/README_en.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# filcnaplo.hu website achive

> Last updated: 2024.05.13.
> Last updated: 2024.05.14.
> Languages: [Magyar](README.md), [English](README_en.md)
> Languages: [Magyar](README.md), [English](README_en.md)
![image](https://github.com/refilc/filc-archive/assets/62830223/91e6b05d-4ff9-4003-82b7-6400f8208307)
3 changes: 3 additions & 0 deletions Sites/filcnaplo.hu/declarations.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// NOTE: The declaration below was injected by `"framer"`
// see https://www.framer.com/docs/guides/handshake for more information.
declare module "https://framer.com/m/*";
Binary file added Sites/filcnaplo.hu/landing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions Sites/filcnaplo.hu/lib/components/downloads/latest_release.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import ReactMarkdown from 'react-markdown'
import StarIcon from '../icons/star.svg'
import DownloadIcon from '../icons/download.svg'
import GithubIcon from '../icons/github.svg'

export default function LatestReleaseCard ({ latest }: any) {
return (
<div
className='flex flex-col p-8 shadow-lg w-full'
style={{
background: 'linear-gradient(#FFFFFF, #E9FEFA)',
borderRadius: 24
}}
>
<div
className='flex items-center gap-2 px-3 py-1 mr-auto'
style={{ background: '#00E8C855', borderRadius: 45 }}
>
<div style={{ height: 20 }}>
<StarIcon />
</div>
Legújabb verzió
</div>
<b className='text-4xl mt-4'>{latest.name}</b>
<div className='flex items-center gap-4'>
<div>{new Date(latest.published_at).toLocaleDateString('hu-HU')}</div>
<div className='flex items-center gap-2'>
<div style={{ height: 16 }}>
<DownloadIcon />
</div>
{latest.assets ? latest.assets[0].download_count : '0'}
</div>
</div>
<ReactMarkdown className='mt-6'>{latest.body}</ReactMarkdown>
<div className='flex gap-4 mt-4 -mb-1 justify-start'>
<div
className='noselect flex items-center font-semibold cursor-pointer border border-solid px-4 py-2 rounded-xl'
style={{ borderColor: '#01342D' }}
onClick={() => window.open(latest.html_url, '_blank')}
>
<div style={{ width: 16, marginRight: 12 }}>
<GithubIcon />
</div>
GitHub
</div>
</div>
</div>
)
}
49 changes: 49 additions & 0 deletions Sites/filcnaplo.hu/lib/components/downloads/release.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import DownloadIcon from '../icons/download.svg'
import GithubIcon from '../icons/github.svg'

export default function ReleaseCard ({ release }: any) {
return (
<div
className='px-6 py-3 mt-2 flex items-center justify-between rounded-2xl shadow-md lg:w-3/4 w-full'
style={{ background: '#F1FFFF' }}
key={release.tag_name}
>
<div className='flex-col flex'>
<span className='font-bold'>{release.name}</span>
<div className='flex gap-4'>
<div className='block'>
{new Date(release.published_at).toLocaleDateString('hu-HU')}
</div>
<div className='flex items-center gap-2'>
<div style={{ height: 16 }}>
<DownloadIcon />
</div>
{release.assets ? release.assets[0].download_count : '0'}
</div>
</div>
</div>
<div className='flex gap-2 items-center h-8'>
<div
className='noselect rounded-xl px-4 py-2 border border-solid cursor-pointer hidden md:block'
style={{ color: '#222', borderColor: '#222' }}
onClick={() => window.open(release.html_url, '_blank')}
>
<div className='w-5 h-5'>
<GithubIcon />
</div>
</div>
<div
className='noselect rounded-xl px-4 py-2 cursor-pointer'
style={{ background: '#01342D', color: '#fff' }}
onClick={() =>
window.open(release.assets[0].browser_download_url, '_blank')
}
>
<div className='w-5 h-5'>
<DownloadIcon />
</div>
</div>
</div>
</div>
)
}
67 changes: 67 additions & 0 deletions Sites/filcnaplo.hu/lib/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
import DiscordIcon from './icons/discord.svg'
import InstagramIcon from './icons/instagram.svg'
import GithubIcon from './icons/github.svg'
import Image from 'next/image'

const connections: any[][] = [
[
'https://instagram.com/filc_club',
'Instagram',
<InstagramIcon key='instagram' />
],
['https://github.com/filc', 'Github', <GithubIcon key='github' />],
['https://filcnaplo.hu/discord', 'Discord', <DiscordIcon key='discord' />]
]

export default function Footer () {
return (
<>
<div
className='flex w-screen flex-col justify-end mt-32 p-12 sm:h-64 gap-4'
style={{
background: 'linear-gradient(180deg, #0B5342 0%, #01342D 100%)'
}}
>
<div className='flex items-center gap-6'>
<div className='lg:w-auto'>
<Image
src='/img/logo.svg'
alt='logo'
height={48}
width={48}
style={{ borderRadius: 16 }}
/>
</div>
<span
className='font-bold text-2xl sm:text-4xl'
style={{ color: '#E8FFFB' }}
>
Filc Napló
</span>
</div>
<div className='flex flex-col sm:flex-row justify-between items-center gap-4'>
<span className='text-gray-300 text-center sm:text-left'>
Website design made by Xou, Copyright {new Date().getFullYear()}{' '}
Filc Napló
</span>
<div className='flex'>
{connections.map((e: any[]) => {
return (
<div
className='px-4 py-2 ml-2 rounded-full h-8'
style={{
background: '#C5F5EC'
}}
key={e[0]}
onClick={() => window.open(e[0], '_blank')}
>
<div className='h-full'>{e[2]}</div>
</div>
)
})}
</div>
</div>
</div>
</>
)
}
12 changes: 12 additions & 0 deletions Sites/filcnaplo.hu/lib/components/icons/apple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Sites/filcnaplo.hu/lib/components/icons/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions Sites/filcnaplo.hu/lib/components/icons/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions Sites/filcnaplo.hu/lib/components/icons/download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions Sites/filcnaplo.hu/lib/components/icons/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions Sites/filcnaplo.hu/lib/components/icons/home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions Sites/filcnaplo.hu/lib/components/icons/instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions Sites/filcnaplo.hu/lib/components/icons/kupak.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Sites/filcnaplo.hu/lib/components/icons/menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Sites/filcnaplo.hu/lib/components/icons/privacy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 09bcb39

Please sign in to comment.