diff --git a/components/Icon.tsx b/components/Icon.tsx
index 367d00c..6912cc8 100644
--- a/components/Icon.tsx
+++ b/components/Icon.tsx
@@ -1,5 +1,8 @@
enum IconSet {
Menu,
+ Users,
+ Link2,
+ ExternalLink,
Twitter,
GitHub,
YouTube,
@@ -38,6 +41,66 @@ const Icon = ({ icon, width, height, ...props }: iconprops) => {
);
+ case IconSet.Users:
+ return (
+
+
+
+
+
+
+ );
+ case IconSet.Link2:
+ return (
+
+
+
+
+ );
+ case IconSet.ExternalLink:
+ return (
+
+
+
+
+
+ );
case IconSet.Twitter:
// twitter icon courtesy of simpleicons.org
return (
diff --git a/data/administracja.json b/data/administracja.json
new file mode 100644
index 0000000..50ccfcb
--- /dev/null
+++ b/data/administracja.json
@@ -0,0 +1,32 @@
+[
+ {
+ "name": "jamesen",
+ "desc": "Frontendowiec nie jebany.",
+ "img": "https://pbs.twimg.com/profile_images/1605591811921149953/Ogr8ALPa_400x400.jpg"
+ },
+ {
+ "name": "Mollin",
+ "desc": "Porucznik Essy.",
+ "img": "https://scontent.fpoz3-1.fna.fbcdn.net/v/t39.30808-6/310691519_1360386137823083_6441534118963998218_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=09cbfe&_nc_ohc=nmArlTkhFvYAX9VQJc3&_nc_ht=scontent.fpoz3-1.fna&oh=00_AfC6DiffR_3d4apR8EB-Mq7OAms46MygDluvUM9qn6h1yQ&oe=63A73BC3"
+ },
+ {
+ "name": "Elephant",
+ "desc": "Osobnik demencyjny.",
+ "img": "https://scontent.fpoz3-1.fna.fbcdn.net/v/t39.30808-6/311286331_1301953777209022_2921346369745668199_n.jpg?_nc_cat=104&ccb=1-7&_nc_sid=09cbfe&_nc_ohc=C4Zk591EV6kAX9t5DFj&_nc_ht=scontent.fpoz3-1.fna&oh=00_AfBPI8OYZAoBS3H5ZCIV8-5rpcnYYWcAjq7EcxyZmGUSjg&oe=63A80F4A"
+ },
+ {
+ "name": "Dzioba",
+ "desc": "Backendowiec jebany.",
+ "img": "https://avatars.githubusercontent.com/u/62724833?v=4"
+ },
+ {
+ "name": "KuOlek",
+ "desc": "Duch. (bo go nie ma)",
+ "img": "https://scontent.fpoz3-1.fna.fbcdn.net/v/t39.30808-6/289371411_1715545058798551_2853229246533249138_n.jpg?_nc_cat=107&ccb=1-7&_nc_sid=174925&_nc_ohc=ljBd8O9-PfYAX91OEf_&_nc_ht=scontent.fpoz3-1.fna&oh=00_AfCr0jhihBgN8aqMrG2EbwNCjvPTpPbsOmvfD6kxuv7zbA&oe=63A7E121"
+ },
+ {
+ "name": "Bavil Gravlax",
+ "desc": "Śpiący rękawek.",
+ "img": "https://media.discordapp.net/attachments/795744664556535809/1055159702880784556/Awatar.jpg?width=657&height=657"
+ }
+]
diff --git a/pages/index.tsx b/pages/index.tsx
index 2fd724e..58bb1e4 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -21,7 +21,6 @@ const PageIndex = () => {
return res.text();
})
.then((data) => {
- console.log(data);
setMemberCount(data);
})
.catch((err) => {
@@ -41,8 +40,6 @@ const PageIndex = () => {
„{splash || "..."}”
{welcometext}
-
- Warto naznaczyć, że strona jest w trakcie remontu.
@@ -65,17 +62,17 @@ const PageIndex = () => {
-
-
+
+
discord
-
+
youtube
-
+
twitter
-
+
github
diff --git a/pages/o-gractwie.tsx b/pages/o-gractwie.tsx
index 0246e15..e485db5 100644
--- a/pages/o-gractwie.tsx
+++ b/pages/o-gractwie.tsx
@@ -1,10 +1,76 @@
+import { GractwoLogo } from "../components/Logo";
import { SEO } from "../components/SEO";
+import styles from "../styles/oGractwie.module.scss";
+import Link from "next/link";
+import { Icon, IconSet } from "../components/Icon";
+import administracja from "../data/administracja.json";
+import links from "../data/links.json";
const PageInfo = () => {
return (
<>
- Miejsce na stronkę od informacji nt. Gractwa.
+
+
+
+
+
+
+ Gractwo
+
+
+ Gractwo jest nieformalną organizacją i społecznością osób
+ zainteresowanych grami, anime, popkulturą. Powstałe w 2020 roku
+ jest zreszeniem ludzi w dużej mierze znających się nawzajem i
+ spędzających razem „na Gractwie” czas. Genezą nazwy jest złączenie
+ słów „Gracz” i „Bractwo”.
+ {/* discordowa społeczność kryptogenshinowa która jest yyy często
+ charakteryzuje się łączeniem przez relacje interpersonalne
+ kluczowych członków, chyba że jeszcze bardziej chcemy ukrywać
+ naszą kryptogenshinowość */}
+ {/* THANKS, MOLLIN */}
+
+
+
+ {/*
+
+ skład administracji
+
+
+
+ linki i przekierowania
+
+
+
*/}
+
+
+ skład administracji
+
+ {administracja.map((el) => {
+ return (
+
+
+
+
{el.name}
+
{el.desc || "brak opisu."}
+
+
+ );
+ })}
+
+
+ {/*
+ linki i przekierowania
+
+ {links.map((el) => {
+ return (
+
+ {el.name}
+
+ );
+ })}
+
+ */}
>
);
};
diff --git a/styles/Index.module.scss b/styles/Index.module.scss
index f856226..c76545b 100644
--- a/styles/Index.module.scss
+++ b/styles/Index.module.scss
@@ -92,38 +92,3 @@
}
}
}
-.chips {
- display: flex;
- flex-direction: row;
- justify-content: center;
- flex-wrap: wrap;
- gap: 1rem;
-}
-.chip {
- display: inline-flex;
- text-decoration: none;
- gap: 0.5rem;
- align-items: center;
- color: inherit;
- padding: 6px 8px;
- border: 1px solid var(--grey);
- border-radius: 8px;
- transition-duration: 100ms;
- text-rendering: geometricPrecision;
- // font-family: var(--fonts-bold);
- // color: var(--grey);
- svg {
- color: var(--grey);
- }
- &:hover,
- &:focus {
- outline: none;
- background: var(--black1);
- border: 1px solid var(--black1);
- box-shadow: var(--shadow0);
- transform: scale(1.1);
- svg {
- color: var(--color);
- }
- }
-}
diff --git a/styles/globals.scss b/styles/globals.scss
index e4048d5..bfaa49b 100644
--- a/styles/globals.scss
+++ b/styles/globals.scss
@@ -39,3 +39,39 @@ main {
margin: 0 auto;
padding: 1rem;
}
+
+.chips {
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ flex-wrap: wrap;
+ gap: 1rem;
+}
+.chip {
+ display: inline-flex;
+ text-decoration: none;
+ gap: 0.5rem;
+ align-items: center;
+ color: inherit;
+ padding: 6px 8px;
+ border: 1px solid var(--grey);
+ border-radius: 8px;
+ transition-duration: 100ms;
+ text-rendering: geometricPrecision;
+ // font-family: var(--fonts-bold);
+ // color: var(--grey);
+ svg {
+ color: var(--grey);
+ }
+ &:hover,
+ &:focus {
+ outline: none;
+ background: var(--black1);
+ border: 1px solid var(--black1);
+ box-shadow: var(--shadow0);
+ transform: scale(1.1);
+ svg {
+ color: var(--color);
+ }
+ }
+}
diff --git a/styles/oGractwie.module.scss b/styles/oGractwie.module.scss
new file mode 100644
index 0000000..101b0cc
--- /dev/null
+++ b/styles/oGractwie.module.scss
@@ -0,0 +1,87 @@
+.biglogocontainer {
+ display: flex;
+ flex-direction: row;
+ background: var(--black1);
+ margin: 1rem 0;
+ border-radius: 8px;
+ box-shadow: var(--shadow0);
+ svg {
+ min-width: 192px;
+ min-height: 192px;
+ @media screen and (max-width: 800px) {
+ display: none;
+ }
+ }
+ article {
+ background: rgba(white, 5%);
+ border-radius: 8px;
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+ @media screen and (max-width: 800px) {
+ border-radius: 8px;
+ }
+ padding: 0.5rem 1rem;
+ h1 {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ gap: 1rem;
+ svg {
+ display: inline;
+ min-width: initial;
+ min-height: initial;
+ @media screen and (min-width: 801px) {
+ display: none;
+ }
+ }
+ }
+ p {
+ margin: 6px 0;
+ }
+ }
+}
+.persons {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ margin-top: 1rem;
+ gap: 1rem;
+ article {
+ --radius: 6px;
+ flex: 1;
+ display: flex;
+ flex-direction: row;
+ background: var(--black1);
+ border-radius: var(--radius);
+ img {
+ width: 128px;
+ max-width: 156px;
+ flex: 1;
+ border-top-left-radius: var(--radius);
+ border-bottom-left-radius: var(--radius);
+ // for alt text
+ color: var(--grey);
+ // for mollin's vertical picture to display well
+ aspect-ratio: 1 / 1;
+ object-fit: cover;
+ object-position: 50% 35%;
+ }
+ div {
+ min-width: 14rem;
+ padding: 0 1rem;
+ }
+ }
+ @media screen and (max-width: 400px) {
+ article {
+ flex-direction: column;
+ width: 100%;
+ img {
+ margin: 1rem auto;
+ border-radius: 8px;
+ }
+ div {
+ padding-bottom: 1rem;
+ }
+ }
+ }
+}