File tree Expand file tree Collapse file tree 4 files changed +44
-19
lines changed
Expand file tree Collapse file tree 4 files changed +44
-19
lines changed Original file line number Diff line number Diff line change 1- name : Deploy
2- on : [workflow_dispatch]
3- jobs :
4- build :
5- runs-on : ubuntu-latest
6- steps :
7- - name : Pull
8- uses : appleboy/ssh-actions@v0.1.10
9- with :
10- host : ${{ secrets.HOSTNAME }}
11- username : ${{ secrets.USERNAME }}
12- key : ${{ secrets.KEY }}
13- port : ${{ secrets.PORT }}
14- script : |
15- git checkout ${{ github.sha }}
16- npm i
17- npm run build
18- npm run start
1+ # name: Deploy
2+ # on: [workflow_dispatch]
3+ # jobs:
4+ # build:
5+ # runs-on: ubuntu-latest
6+ # steps:
7+ # - name: Pull
8+ # uses: appleboy/ssh-actions@v0.1.10
9+ # with:
10+ # host: ${{ secrets.HOSTNAME }}
11+ # username: ${{ secrets.USERNAME }}
12+ # key: ${{ secrets.KEY }}
13+ # port: ${{ secrets.PORT }}
14+ # script: |
15+ # git checkout ${{ github.sha }}
16+ # npm i
17+ # npm run build
18+ # npm run start
1919
Original file line number Diff line number Diff line change 1+ import Link from "next/link" ;
2+ import Image from "next/image" ;
3+
4+ export default function footer ( ) {
5+ return (
6+ < div className = "sticky botton-0 flex flex-col items-center justify-center p-4 border-t border-t-[#181818]" >
7+ < div className = "flex flex-row items-center gap-1" >
8+ < Link href = "https://graphics-programming.org/webring/frogs/devsh/prev" > ⬅️</ Link >
9+ < Link href = "https://graphics-programming.org/webring/" >
10+ < Image src = "https://graphics-programming.org/img/froge.webp" alt = "a friendly froge" width = { 28 } height = { 28 } />
11+ </ Link >
12+ < Link href = "https://graphics-programming.org/webring/frogs/devsh/next" > ➡️</ Link >
13+ </ div >
14+ < span > This website is a part of GP webring</ span >
15+ </ div >
16+ )
17+ }
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import localFont from "next/font/local";
33import "./globals.css" ;
44import "@/app/components/Navbar"
55import Navbar from "./components/Navbar" ;
6+ import Footer from "./components/Footer" ;
67
78const futuraPT = localFont ( {
89 src : [
@@ -54,9 +55,10 @@ export default function RootLayout({
5455 className = { `${ futuraPT . className } antialiased flex flex-col h-dvh` }
5556 >
5657 < Navbar />
57- < main className = "h-full overflow-x-hidden overflow-y-auto my-8 " >
58+ < main className = "h-full overflow-x-hidden overflow-y-auto my-2 " >
5859 { children }
5960 </ main >
61+ < Footer />
6062 </ body >
6163 </ html >
6264 ) ;
Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ const nextConfig: NextConfig = {
1515 hostname : 'api.dicebear.com' ,
1616 port : '' ,
1717 pathname : '/9.x/initials/**'
18+ } ,
19+ {
20+ protocol : 'https' ,
21+ hostname : 'graphics-programming.org' ,
22+ port : '' ,
23+ pathname : '/img/**'
1824 }
1925 ]
2026 }
You can’t perform that action at this time.
0 commit comments