Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2024 Sebastian Berge

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
<!-- omit in toc -->
# sebastianberge.github.io

[![GitHub Pages Deployment](https://github.com/sebastianberge/sebastianberge.github.io/actions/workflows/deploy.yml/badge.svg?branch=main)](https://github.com/sebastianberge/sebastianberge.github.io/actions/workflows/deploy.yml)

- [About](#about)
- [Technologies](#technologies)
- [Acknowledgments](#acknowledgments)
- [License](#license)

## About

This web application is designed to showcase a portfolio of my self, my CV and projects I've worked on. I've also added a blog for posting small posts now and then.

To avoid using any database for hosting the blog posts (and avoid coding them in the application code), I've just created a blog-post repository on GitHub. The blog posts are then just fetched directly from there instead of fetching from any database.

## Technologies

**Frontend**
- [React](https://react.dev)
- [Material-UI](https://mui.com/material-ui/)

**Deployment**
- [GitHub Actions](https://github.com/features/actions)

**Hosting**
- [GitHub Pages](https://pages.github.com)

## Acknowledgments
- [Devicons React](https://devicons-react.vercel.app/)
- [github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action)
- [axios](https://github.com/axios/axios)

## License
Distributed under the MIT License. See `LICENSE.txt` for more information.
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/images/bergen.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>sebastianberge.github.io</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
18 changes: 5 additions & 13 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
import React from "react";
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
// import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import Navbar from "./components/Navbar";
import Footer from "./components/Footer";
import AboutMe from "./pages/AboutMe";
import Blog from "./pages/Blog";
import PostDetail from "./pages/PostDetail";
import CV from "./pages/CV";
import Home from "./pages/Home";

function App() {
return (
<Router>
<React.Fragment>
<Navbar />
<Routes>
<Route path="/" element={<AboutMe />} />
<Route path="/blog" element={<Blog />} />
<Route path="/blog/:postId" element={<PostDetail />} />
<Route path="/cv" element={<CV />} />
</Routes>
<Home />
<Footer />
</Router>
</React.Fragment>
);
}

Expand Down
98 changes: 98 additions & 0 deletions src/components/AboutMe.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
import React, { useEffect, useState } from "react";
import {
Box,
Typography,
Grid,
Card,
CardContent,
Avatar,
Chip,
Stack,
List,
ListItem,
ListItemText,
Link,
Button,
} from "@mui/material";
import axios from "axios";

const AboutMe = () => {
const [posts, setPosts] = useState([]);
const skills = ["React", "Node.js", "JavaScript", "HTML/CSS", "Git", "SQL"];
const certifications = [
{
title: "AWS Certified Solutions Architect",
issuedBy: "Amazon Web Services",
date: "July 2021",
url: "https://example.com/aws-cert",
},
{
title: "Kubernetes Administrator",
issuedBy: "The Linux Foundation",
date: "March 2022",
url: "https://example.com/k8s-cert",
},
];

return (
<Box
sx={{
height: "100vh",
backgroundImage: "url('/images/bergen.jpeg')",
backgroundSize: "cover",
backgroundPosition: "center",
position: "relative",
px: 2,
}}
>
<Box
sx={{
position: "absolute",
inset: 0,
backgroundColor: "rgba(51, 51, 51, 0.5)",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
textAlign: "center",
color: "#fff",
zIndex: 1,
}}
>
<Avatar
sx={{ width: 100, height: 100, mb: 2 }}
src="/images/profile-image.jpeg"
alt="Image of Sebastian Berge"
/>
<Typography variant="h4">Hi, I'm Sebastian</Typography>
<Typography variant="body1" sx={{ maxWidth: 600, mt: 2 }}>
A passionate Senior Cloud & DevOps Engineer with a keen interest in
cloud computing and basically anything techonlogy related. With over 4
years of experience in the tech industry, I've developed a strong
skill set within the DevOps and Cloud fields. I'm always looking to
take on new challenges and grow my skills, whether that's learning new
frameworks or diving deeper into backend technologies.
</Typography>
<Button
variant="contained"
color="inherit"
href="#next-section"
sx={{
position: "absolute",
bottom: 40,
backgroundColor: "#333",
color: "#fff",
"&:hover": {
backgroundColor: "#fff",
color: "#333",
},
}}
>
Learn More
</Button>
</Box>
</Box>
);
};

export default AboutMe;
99 changes: 99 additions & 0 deletions src/components/CV.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
import React, { useEffect, useState } from "react";
import {
Box,
Typography,
Grid,
Card,
CardContent,
Avatar,
Chip,
Stack,
List,
ListItem,
ListItemText,
Link,
} from "@mui/material";
import axios from "axios";

const CV = () => {
const [posts, setPosts] = useState([]);
const skills = ["React", "Node.js", "JavaScript", "HTML/CSS", "Git", "SQL"];
const certifications = [
{
title: "AWS Certified Solutions Architect",
issuedBy: "Amazon Web Services",
date: "July 2021",
url: "https://example.com/aws-cert",
},
{
title: "Kubernetes Administrator",
issuedBy: "The Linux Foundation",
date: "March 2022",
url: "https://example.com/k8s-cert",
},
];

return (
<Box sx={{ p: 4, maxWidth: "900px", mx: "auto" }}>
{/* Skills */}
<Box mb={5}>
<Typography variant="h5" gutterBottom>
Skills
</Typography>
<Stack direction="row" spacing={1} flexWrap="wrap">
{skills.map((skill, i) => (
<Chip key={i} label={skill} color="primary" variant="outlined" />
))}
</Stack>
</Box>

{/* Certifications */}
<Box mb={5}>
<Typography variant="h5" gutterBottom>
Certifications
</Typography>
<List>
{certifications.map((cert, i) => (
<ListItem key={i}>
<ListItemText
primary={cert.title}
secondary={
<>
Issued by {cert.issuedBy}, {cert.date}
<br />
<Link href={cert.url} target="_blank" rel="noopener">
View Certificate
</Link>
</>
}
/>
</ListItem>
))}
</List>
</Box>

{/* CV Summary */}
<Box mb={5}>
<Typography variant="h5" gutterBottom>
Experience & Education
</Typography>
<List>
<ListItem>
<ListItemText
primary="Software Developer – Tech Solutions Inc."
secondary="2020 – Present | Frontend development using React and Node.js."
/>
</ListItem>
<ListItem>
<ListItemText
primary="B.Sc. in Computer Science – University of Tech"
secondary="2014 – 2018"
/>
</ListItem>
</List>
</Box>
</Box>
);
};

export default CV;
27 changes: 13 additions & 14 deletions src/components/Navbar.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
import React from "react";
import { AppBar, Toolbar, Typography, Button, Box } from "@mui/material";
import { Link as RouterLink } from "react-router-dom";

const Navbar = () => {
return (
<AppBar position="static">
<AppBar
position="fixed"
sx={{
backgroundColor: "rgba(51, 51, 51, 0.5)",
top: 0,
zIndex: 1100,
backdropFilter: "blur(5px)",
}}
>
<Toolbar>
<Typography variant="h6" component="div" sx={{ flexGrow: 1 }}>
Sebastian Berge
</Typography>
<Box>
<Button color="inherit" component={RouterLink} to="/">
About Me
</Button>
<Button color="inherit" component={RouterLink} to="/blog">
Blog
</Button>
<Button color="inherit" component={RouterLink} to="/cv">
CV
</Button>
<Button color="inherit" component={RouterLink} to="/projects">
Projects
</Button>
<Button color="inherit">About Me</Button>
<Button color="inherit">Blog</Button>
<Button color="inherit">CV</Button>
<Button color="inherit">Projects</Button>
</Box>
</Toolbar>
</AppBar>
Expand Down
Loading
Loading