Skip to content

Commit

Permalink
switch to netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
foobar404 committed Mar 14, 2024
1 parent a8d10a6 commit 07720fd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 25 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
run: |
git config --global user.name $user_name
git config --global user.email $user_email
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy
env:
user_name: 'github-actions[bot]'
Expand Down
20 changes: 0 additions & 20 deletions public/404.html

This file was deleted.

4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { Beta, Home } from './pages';
import { ProtectedRoute } from './components';
import { BrowserRouter, Routes, Route, Navigate, } from 'react-router-dom';
import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';


export function App() {
Expand All @@ -15,5 +15,5 @@ export function App() {
<Route path="*" element={<Navigate to="/" replace />} />
</Routes>
</BrowserRouter>
)
);
}
4 changes: 2 additions & 2 deletions src/pages/Beta/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function Beta() {
const data = useBeta();

return (<main className="relative w-screen h-screen row">
<img src="./assets/splash.webp"
<img src="/assets/splash.webp"
className="fixed inset-0 object-cover w-full h-full" />

<div className="z-10 px-24 py-8 text-center rounded-3xl backdrop-blur-md backdrop-hue-rotate-30">
Expand Down Expand Up @@ -36,7 +36,7 @@ export function Beta() {
</div>

<a className="px-4 py-2 mt-4 bg-gradient-to-r from-[#0ACF83] to-[#A8FF78] rounded-xl flex items-center justify-center transform transition duration-500 hover:scale-105 hover:bg-gradient-to-bl shadow-lg"
href="https://www.kickstarter.com/projects/foobar404/moth-pixel-art-editor" target="_blank" rel="noopener noreferrer" style={{ textDecoration: 'none' }}>
href="https://www.kickstarter.com/projects/foobar404/moth-pixel-art-editor?ref=6psfuy" target="_blank" rel="noopener noreferrer" style={{ textDecoration: 'none' }}>
<span className="text-sm font-bold tracking-wide text-white">Support Moth Pixel Art Editor Now on</span>
<img className="w-32 mx-1" src="/assets/kickstarter-green.png" alt="Kickstarter Logo" />
<span className="text-sm font-bold tracking-wide text-white">!</span>
Expand Down

0 comments on commit 07720fd

Please sign in to comment.