blob: 27ac8fc30122edfbb999fb5e8a0bdaa92c7441ec [file] [log] [blame]
pineafan15b813d2022-02-13 10:06:09 +00001import Header from '../Components/Header'
pineafan46270162022-02-13 12:06:17 +00002import Marquee from 'react-fast-marquee'
3import { AutoLayout, Panel, Title, Subtitle, Text, Divider } from '../Components/Panels';
4import { Component } from 'react';
5import Image from 'next/image';
pineafan46270162022-02-13 12:06:17 +00006
7class Supporter extends Component {
8 constructor(props) {
9 super(props);
pineafanaa9c4fd2022-06-10 19:58:10 +010010 }
pineafan46270162022-02-13 12:06:17 +000011
12 render() {
PineaFana76b08f2023-10-14 22:13:19 +010013 return <a style={{
14 display: 'flex', flexDirection: 'column', alignItems: 'center',
15 justifyContent: 'center', backgroundColor: '#6576CC', color: '#FFFFFF',
16 paddingInline: '20px', paddingBlock: '0.25rem',
17 borderRadius: '10px', boxShadow: '0px -3px 10px 2px #424242'
18 }}
19 href={this.props.sub.length > 1 ? this.props.sub[1] : "#"}
20 title={this.props.sub[0]}
21 >{this.props.children}</a>
pineafan46270162022-02-13 12:06:17 +000022 }
23}
24
25
PineaFana465f352023-02-05 16:45:01 +000026export default function Home(props) {
pineafan46270162022-02-13 12:06:17 +000027 const groups = [
28 { // Devs and testers
PineaFana76b08f2023-10-14 22:13:19 +010029 "TheCodedProf": ["Programmer", "https://github.com/TheCodedProf"],
30 "Minion3665": ["Programmer", "https://a.starrysky.fyi"],
PineaFanb45cc632023-10-14 22:14:40 +010031 "PineaFan": ["Programmer", "https://github.com/PineaFan"],
PineaFana76b08f2023-10-14 22:13:19 +010032 "Eek": ["Programmer", "https://nexy7574.co.uk"],
33 "Dilythion": ["Programmer"],
34 "Tani": ["Programmer"],
35 "CocoboloDesk": ["Clicks Team"],
36 "GenElectrovise": ["Plugins"],
37 "DOSmile": ["Mentoring"],
38 "Zanderp25": ["Programming and design", "https://zanderp25.com"]
pineafan46270162022-02-13 12:06:17 +000039 },
40 { // Packages
PineaFana76b08f2023-10-14 22:13:19 +010041 "react-tiny-popover": ["React popovers (No longer used but we stil love you <3)", "https://www.npmjs.com/package/react-tiny-popover"],
42 "react-in-viewport": ["Scroll in effects", "https://www.npmjs.com/package/react-in-viewport"],
43 "hcaptcha": ["Nucleus Verify captchas", "https://www.hcaptcha.com"],
44 "react-fast-marquee": ["These scrolling sections", "https://www.npmjs.com/package/react-fast-marquee"],
45 "theme-ui": ["Checked out the opposite theme?", "https://www.npmjs.com/package/theme-ui"],
46 "Nextjs": ["It's all built in Next", "https://nextjs.org"],
47 "Discord.py": ["Wouldn't have started Clicks without you <3", "https://discordpy.readthedocs.io"],
48 "Discord.js": ["Thanks to the community of devs", "https://discord.js.org"]
pineafan46270162022-02-13 12:06:17 +000049 },
50 { // Programs
PineaFana76b08f2023-10-14 22:13:19 +010051 "Figma": ["Designing", "https://figma.com"],
52 "Discord": ["Chatting", "https://discord.com"],
53 "Flaticon": ["Icons", "https://flaticon.com"],
54 "GitHub": ["Code hosting and GH Pages", "https://github.com"],
55 "Gerrit": ["Code hosting", "https://gerritcodereview.com"],
56 "NextCloud": ["Self hosted cloud", "https://nextcloud.com"],
57 "Cloudflare": ["All DNS and domains - Thanks for staying free <3", "https://cloudflare.com"]
pineafan46270162022-02-13 12:06:17 +000058 },
59 { // Special thanks
PineaFana76b08f2023-10-14 22:13:19 +010060 "InternetMetro": ["Minecraft server building", "https://kendalbentley85.wixsite.com/internetmetro"],
61 "Eddy": ["Minecraft server building"],
62 "Quantum": ["Thanks for all the suggestions"],
63 "LNGZL Development": ["Unscan was great while it lasted, thanks for keeping Nucleus alive", "https://v.lngzl.nl/ez"]
pineafan46270162022-02-13 12:06:17 +000064 }
65 ]
pineafan15b813d2022-02-13 10:06:09 +000066 return (
67 <>
68 <Header
69 name="Supporters"
70 subtext="The people who help Clicks function"
71 gradient={["71AFE5", "6576CC"]}
72 wave="web/waves/header/clicksforms"
73 buttons={[]}
PineaFana465f352023-02-05 16:45:01 +000074 season={props.season}
pineafan15b813d2022-02-13 10:06:09 +000075 />
pineafan46270162022-02-13 12:06:17 +000076 <AutoLayout>
77 <Panel halfSize={false}>
78 <Title>Supporters</Title>
79 <Text>People and packages who have helped and are helping Clicks</Text>
80 {
81 groups.map((group, index) => {
82 return (
83 <div key={index} style={{width: "100%"}}>
84 <Marquee
85 gradient={false}
86 style={{width: "100%", height: "30px"}}
87 speed={Math.floor(Math.random() * (40) + 20)}
88 direction={"right"}
89 >
90 {
91 Object.keys(groups[index]).map((supporter, index2) => {
92 return (
PineaFana76b08f2023-10-14 22:13:19 +010093 <Supporter key={index2} sub={groups[index][supporter]}>{supporter}</Supporter>
pineafan46270162022-02-13 12:06:17 +000094 )
95 })
96 }
97 </Marquee>
98 </div>
99 )
100 })
101 }
pineafan1de98762022-02-13 13:35:30 +0000102 <Image src="/heart.svg" width={100} height={100} alt="<3"/>
pineafan46270162022-02-13 12:06:17 +0000103 </Panel>
104 </AutoLayout>
pineafan15b813d2022-02-13 10:06:09 +0000105 </>
106 )
107}