Skip to content

Commit

Permalink
lets try again again
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinta0 committed Aug 22, 2024
1 parent c177e2e commit 50071b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 136 deletions.
24 changes: 5 additions & 19 deletions components/AuthContent.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
import React from 'react';
import { useAuth } from '@/components/AuthProvider';
import LoginForm from "@/components/LoginForm";
import { Button } from "@/components/ui/button";
import dynamic from "next/dynamic";
import { useAuth } from './AuthProvider';
import GlyphGenerator from './GlyphGenerator';
import LoginForm from './LoginForm';

const GlyphGenerator = dynamic(() => import('./GlyphGenerator'), { ssr: false });

const AuthContent = () => {
const AuthContent: React.FC = () => {
const auth = useAuth();

return (
<>
{auth?.user ? (
<>
<Button onClick={auth.logOut} className="mb-4">Log Out</Button>
<GlyphGenerator/>
</>
) : (
<LoginForm />
)}
</>
);
return auth.user ? <GlyphGenerator /> : <LoginForm />;
};

export default AuthContent;
117 changes: 1 addition & 116 deletions components/GlyphGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,122 +45,7 @@ interface ImageGalleryProps {
const galaxies = [
"Not Specified",
"Euclid (1)", "Hilbert Dimension (2)", "Calypso (3)", "Hesperius Dimension (4)", "Hyades (5)",
"Ickjamatew (6)", "Budullangr (7)", "Kikolgallr (8)", "Eltiensleen (9)", "Eissentam (10)",
"Elkupalos (11)", "Aptarkaba (12)", "Ontiniangp (13)", "Odiwagiri (14)", "Ogtialabi (15)",
"Muhacksonto (16)", "Hitonskyer (17)", "Rerasmutul (18)", "Isdoraijung (19)", "Doctinawyra (20)",
"Loychazinq (21)", "Zukasizawa (22)", "Ekwathore (23)", "Yeberhahne (24)", "Twerbetek (25)",
"Sivarates (26)", "Eajerandal (27)", "Aldukesci (28)", "Wotyarogii (29)", "Sudzerbal (30)",
"Maupenzhay (31)", "Sugueziume (32)", "Brogoweldian (33)", "Ehbogdenbu (34)", "Ijsenufryos (35)",
"Nipikulha (36)", "Autsurabin (37)", "Lusontrygiamh (38)", "Rewmanawa (39)", "Ethiophodhe (40)",
"Urastrykle (41)", "Xobeurindj (42)", "Oniijialdu (43)", "Wucetosucc (44)", "Ebyeloofdud (45)",
"Odyavanta (46)", "Milekistri (47)", "Waferganh (48)", "Agnusopwit (49)", "Teyaypilny (50)",
"Zalienkosm (51)", "Ladgudiraf (52)", "Mushonponte (53)", "Amsentisz (54)", "Fladiselm (55)",
"Laanawemb (56)", "Ilkerloor (57)", "Davanossi (58)", "Ploehrliou (59)", "Corpinyaya (60)",
"Leckandmeram (61)", "Quulngais (62)", "Nokokipsechl (63)", "Rinblodesa (64)", "Loydporpen (65)",
"Ibtrevskip (66)", "Elkowaldb (67)", "Heholhofsko (68)", "Yebrilowisod (69)", "Husalvangewi (70)",
"Ovna'uesed (71)", "Bahibusey (72)", "Nuybeliaure (73)", "Doshawchuc (74)", "Ruckinarkh (75)",
"Thorettac (76)", "Nuponoparau (77)", "Moglaschil (78)", "Uiweupose (79)", "Nasmilete (80)",
"Ekdaluskin (81)", "Hakapanasy (82)", "Dimonimba (83)", "Cajaccari (84)", "Olonerovo (85)",
"Umlanswick (86)", "Henayliszm (87)", "Utzenmate (88)", "Umirpaiya (89)", "Paholiang (90)",
"Iaereznika (91)", "Yudukagath (92)", "Boealalosnj (93)", "Yaevarcko (94)", "Coellosipp (95)",
"Wayndohalou (96)", "Smoduraykl (97)", "Apmaneessu (98)", "Hicanpaav (99)", "Akvasanta (100)",
"Tuychelisaor (101)", "Rivskimbe (102)", "Daksanquix (103)",
"Kissonlin (104)", "Aediabiel (105)", "Ulosaginyik (106)",
"Roclaytonycar (107)", "Kichiaroa (108)", "Irceauffey (109)",
"Nudquathsenfe (110)", "Getaizakaal (111)", "Hansolmien (112)",
"Bloytisagra (113)", "Ladsenlay (114)", "Luyugoslasr (115)",
"Ubredhatk (116)", "Cidoniana (117)", "Jasinessa (118)",
"Torweierf (119)", "Saffneckm (120)", "Thnistner (121)",
"Dotusingg (122)", "Luleukous (123)", "Jelmandan (124)",
"Otimanaso (125)", "Enjaxusanto (126)", "Sezviktorew (127)",
"Zikehpm (128)", "Bephembah (129)", "Broomerrai (130)",
"Meximicka (131)", "Venessika (132)", "Gaiteseling (133)",
"Zosakasiro (134)", "Drajayanes (135)", "Ooibekuar (136)",
"Urckiansi (137)", "Dozivadido (138)", "Emiekereks (139)",
"Meykinunukur (140)", "Kimycuristh (141)", "Roansfien (142)",
"Isgarmeso (143)", "Daitibeli (144)", "Gucuttarik (145)",
"Enlaythie (146)", "Drewweste (147)", "Akbulkabi (148)",
"Homskiw (149)", "Zavainlani (150)", "Jewijkmas (151)",
"Itlhotagra (152)", "Podalicess (153)", "Hiviusauer (154)",
"Halsebenk (155)", "Puikitoac (156)", "Gaybakuaria (157)",
"Grbodubhe (158)", "Rycempler (159)", "Indjalala (160)",
"Fontenikk (161)", "Pasycihelwhee (162)", "Ikbaksmit (163)",
"Telicianses (164)", "Oyleyzhan (165)", "Uagerosat (166)",
"Impoxectin (167)", "Twoodmand (168)", "Hilfsesorbs (169)",
"Ezdaranit (170)", "Wiensanshe (171)", "Ewheelonc (172)",
"Litzmantufa (173)", "Emarmatosi (174)", "Mufimbomacvi (175)",
"Wongquarum (176)", "Hapirajua (177)", "Igbinduina (178)",
"Wepaitvas (179)", "Sthatigudi (180)", "Yekathsebehn (181)",
"Ebedeagurst (182)", "Nolisonia (183)", "Ulexovitab (184)",
"Iodhinxois (185)", "Irroswitzs (186)", "Bifredait (187)",
"Beiraghedwe (188)", "Yeonatlak (189)", "Cugnatachh (190)",
"Nozoryenki (191)", "Ebralduri (192)", "Evcickcandj (193)",
"Ziybosswin (194)", "Heperclait (195)", "Sugiuniam (196)",
"Aaseertush (197)", "Uglyestemaa (198)", "Horeroedsh (199)",
"Drundemiso (200)", "Ityanianat (201)",
"Purneyrine (202)",
"Dokiessmat (203)",
"Nupiacheh (204)",
"Dihewsonj (205)",
"Rudrailhik (206)",
"Tweretnort (207)",
"Snatreetze (208)",
"Iwunddaracos (209)",
"Digarlewena (210)",
"Erquagsta (211)",
"Logovoloin (212)",
"Boyaghosganh (213)",
"Kuolungau (214)",
"Pehneldept (215)",
"Yevettiiqidcon (216)",
"Sahliacabru (217)",
"Noggalterpor (218)",
"Chmageaki (219)",
"Veticueca (220)",
"Vittesbursul (221)",
"Nootanore (222)",
"Innebdjerah (223)",
"Kisvarcini (224)",
"Cuzcogipper (225)",
"Pamanhermonsu (226)",
"Brotoghek (227)",
"Mibittara (228)",
"Huruahili (229)",
"Raldwicarn (230)",
"Ezdartlic (231)",
"Badesclema (232)",
"Isenkeyan (233)",
"Iadoitesu (234)",
"Yagrovoisi (235)",
"Ewcomechio (236)",
"Inunnunnoda (237)",
"Dischiutun (238)",
"Yuwarugha (239)",
"Ialmendra (240)",
"Reponudrle (241)",
"Rinjanagrbo (242)",
"Zeziceloh (243)",
"Oeileutasc (244)",
"Zicniijinis (245)",
"Dugnowarilda (246)",
"Neuxoisan (247)",
"Ilmenhorn (248)",
"Rukwatsuku (249)",
"Nepitzaspru (250)",
"Chcehoemig (251)",
"Haffneyrin (252)",
"Uliciawai (253)",
"Tuhgrespod (254)",
"Iousongola (255)",
"Odyalutai (256)",
"Yilsrussimil (257)",
"Loqvishess (258)",
"Enyokudohkiw (259)",
"Helqvishap (260)",
"Usgraikik (261)",
"Hiteshamij (262)",
"Uewamoisow (263)",
"Pequibanu (264)"

];


Expand Down
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ const nextConfig = {
},
}

module.exports = nextConfig
module.exports = nextConfig;

0 comments on commit 50071b3

Please sign in to comment.