├── CNAME
├── Spyglass
├── wwwroot
│ ├── css
│ │ ├── bootstrap
│ │ │ └── bootstrap.min.css
│ │ └── open-iconic
│ │ │ ├── font
│ │ │ ├── fonts
│ │ │ │ ├── open-iconic.eot
│ │ │ │ ├── open-iconic.otf
│ │ │ │ ├── open-iconic.ttf
│ │ │ │ └── open-iconic.woff
│ │ │ └── css
│ │ │ │ └── open-iconic-bootstrap.min.css
│ │ │ ├── ICON-LICENSE
│ │ │ ├── README.md
│ │ │ └── FONT-LICENSE
│ ├── appsettings.json
│ ├── favicon.ico
│ ├── fonts
│ │ ├── Dosis.ttf
│ │ └── DidactGothic.ttf
│ ├── images
│ │ ├── icon.png
│ │ ├── yeet_goat.png
│ │ ├── potatophant.png
│ │ ├── front_page_bg.png
│ │ └── website_wordmark.png
│ ├── setBodyHeight.html
│ ├── 404.html
│ └── index.html
├── Pages
│ ├── WhosJoe.razor
│ ├── Docs.razor
│ ├── EarlyAccess.razor
│ ├── Install.razor
│ ├── Loading.razor
│ ├── Logout.razor
│ ├── Index.razor
│ ├── Account.razor
│ ├── Error404.razor
│ ├── TermsOfUse.razor
│ ├── React.razor
│ ├── ViewComment.razor
│ ├── Settings.razor
│ ├── Login.razor
│ ├── ViewStudio.razor
│ ├── Browse.razor
│ ├── ViewProject.razor
│ └── ViewProfile.razor
├── Models
│ ├── BrowseQuery.cs
│ ├── UserIPAddress.cs
│ ├── Reaction.cs
│ ├── OcularUser.cs
│ ├── AuthenticationResponse.cs
│ ├── ScratchCommentAuthor.cs
│ ├── Settings.cs
│ ├── UserReaction.cs
│ ├── ScratchComment.cs
│ ├── ScratchUser.cs
│ ├── User.cs
│ └── Comment.cs
├── package.json
├── Services
│ ├── AppSettings.cs
│ ├── ReactionService.cs
│ ├── SettingsService.cs
│ └── AuthenticationService.cs
├── gulpfile.js
├── App.razor
├── _Imports.razor
├── Shared
│ ├── CommentButton.razor
│ ├── Button.razor
│ ├── NavbarButton.razor
│ ├── PageTitle.razor
│ ├── FrontPageButton.razor
│ ├── ReactMenu.razor
│ ├── MainLayout.razor.css
│ ├── Footer.razor
│ ├── Heading.razor
│ ├── MainLayout.razor
│ ├── Navbar.razor
│ ├── ReactionButton.razor
│ └── Comment.razor
├── Spyglass.csproj
├── Styles
│ └── app.css
├── tailwind.config.js
├── Properties
│ └── launchSettings.json
└── Program.cs
├── .gitattributes
├── Magnifier
├── .config
│ └── dotnet-tools.json
├── Models
│ ├── ApiComments.cs
│ ├── ScratchProject.cs
│ ├── Settings.cs
│ ├── UserIPAddress.cs
│ ├── MongoDBSettings.cs
│ ├── Reaction.cs
│ ├── JwtAuthSettings.cs
│ ├── ScratchCommentAuthor.cs
│ ├── AuthCode.cs
│ ├── UserReaction.cs
│ ├── ScratchComment.cs
│ ├── ScratchRequestResponse.cs
│ ├── User.cs
│ └── Comment.cs
├── appsettings.Development.json
├── Dockerfile
├── Controllers
│ ├── UpController.cs
│ ├── ReactionsController.cs
│ └── AuthController.cs
├── Program.cs
├── Properties
│ └── launchSettings.json
├── Services
│ ├── UserService.cs
│ ├── ReactionService.cs
│ ├── AuthCodeService.cs
│ ├── JwtAuthService.cs
│ └── CommentService.cs
├── Magnifier.csproj
├── Startup.cs
└── Magnifier.xml
├── Spyglass.Server
├── appsettings.Development.json
├── appsettings.json
├── Pages
│ ├── _Host.cshtml.cs
│ └── _Host.cshtml
├── Spyglass.Server.csproj
├── Dockerfile
├── Program.cs
├── Properties
│ └── launchSettings.json
└── Startup.cs
├── .firebaserc
├── firebase.json
├── .github
├── ISSUE_TEMPLATE
│ ├── feature-request.md
│ └── bug-report.md
├── pull-request-template.md
└── workflows
│ └── main.yml
├── .dockerignore
├── LICENSE
├── Magnifier.sln
├── README.md
└── .gitignore
/CNAME:
--------------------------------------------------------------------------------
1 | magnifier.potatophant.net
--------------------------------------------------------------------------------
/Spyglass/wwwroot/css/bootstrap/bootstrap.min.css:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/Spyglass/wwwroot/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "ApiRoot": "https://magnifier-api.potatophant.net/api"
3 | }
--------------------------------------------------------------------------------
/Spyglass/wwwroot/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/favicon.ico
--------------------------------------------------------------------------------
/Spyglass/wwwroot/fonts/Dosis.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/fonts/Dosis.ttf
--------------------------------------------------------------------------------
/Spyglass/wwwroot/images/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/images/icon.png
--------------------------------------------------------------------------------
/Spyglass/wwwroot/images/yeet_goat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/images/yeet_goat.png
--------------------------------------------------------------------------------
/Spyglass/wwwroot/fonts/DidactGothic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/fonts/DidactGothic.ttf
--------------------------------------------------------------------------------
/Spyglass/wwwroot/images/potatophant.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/images/potatophant.png
--------------------------------------------------------------------------------
/Spyglass/wwwroot/images/front_page_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/images/front_page_bg.png
--------------------------------------------------------------------------------
/Spyglass/wwwroot/images/website_wordmark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/images/website_wordmark.png
--------------------------------------------------------------------------------
/Spyglass/wwwroot/css/open-iconic/font/fonts/open-iconic.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/css/open-iconic/font/fonts/open-iconic.eot
--------------------------------------------------------------------------------
/Spyglass/wwwroot/css/open-iconic/font/fonts/open-iconic.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/css/open-iconic/font/fonts/open-iconic.otf
--------------------------------------------------------------------------------
/Spyglass/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf
--------------------------------------------------------------------------------
/Spyglass/wwwroot/css/open-iconic/font/fonts/open-iconic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/davwat/Magnifier/HEAD/Spyglass/wwwroot/css/open-iconic/font/fonts/open-iconic.woff
--------------------------------------------------------------------------------
/Spyglass/Pages/WhosJoe.razor:
--------------------------------------------------------------------------------
1 | @page "/whosjoe"
2 |
3 |
Comment doesn't exist!
13 | } 14 | else 15 | { 16 | foreach (Reaction reaction in reactions) 17 | { 18 |no
15 | } 16 | else 17 | { 18 | if (hasInitialised) 19 | { 20 |@ChildContent
33 | } 34 | else if (size == 2) 35 | { 36 |@ChildContent
37 | } 38 | else if (size == 3) 39 | { 40 |@ChildContent
41 | } 42 | else if (size == 4) 43 | { 44 |@ChildContent
45 | } 46 | else if (size == 5) 47 | { 48 |@ChildContent
49 | } 50 | else if (size == 6) 51 | { 52 |@ChildContent
53 | } 54 | } 55 | 56 | @code { 57 | [Parameter] 58 | public RenderFragment ChildContent { get; set; } 59 | 60 | [Parameter] 61 | public int size { get; set; } 62 | 63 | [Parameter] 64 | public string colour { get; set; } 65 | 66 | [Parameter] 67 | public bool span { get; set; } 68 | } -------------------------------------------------------------------------------- /Spyglass/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | @inject NavigationManager NavigationManager 3 | 4 | @if (new Uri(NavigationManager.Uri).Segments.Length >= 2) 5 | { 6 | if (new Uri(NavigationManager.Uri).Segments[1] != "react/" && new Uri(NavigationManager.Uri).Segments[1] != "react") 7 | { 8 |enter a studio pls
14 | } 15 | else 16 | { 17 | if (hasInitialised) 18 | { 19 |