back_end_docker #9

Merged
lucien merged 23 commits from back_end_docker into back_end 2024-12-06 03:36:58 +00:00
4 changed files with 15 additions and 4 deletions
Showing only changes of commit 7d8dd263eb - Show all commits

View file

@ -1,10 +1,13 @@
import * as React from 'react';
interface LogoButtonProps {
url:string;
logo:string
logo:string;
style?: React.CSSProperties;
}
export default function LogoButton ({url, logo}: LogoButtonProps) {
export default function LogoButton ({url, logo, style}: LogoButtonProps) {
return (
<a href={url}><img src={logo}/></a>
<a href={url}><img src={logo} style={{ ...style }}/></a>
)
}

View file

@ -5,3 +5,7 @@
--color-lightblue: #00bbf0;
--color-yellow: #fdb44b;
}
footer {
text-align: center;
}

View file

@ -1,11 +1,15 @@
import ArticlesSection from '../components/ArticlesSection.tsx'
import NavBar from '../components/NavBar.tsx'
import Footer from '../components/Footer.tsx'
export default function MainPage() {
return (
<>
<div>
<NavBar />
<ArticlesSection />
</div>
<Footer />
</>
)
}