-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from grzpiotrowski/project-page
Add Project page
- Loading branch information
Showing
9 changed files
with
4,518 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Build and Deploy Project Page | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Change to project directory | ||
run: cd project-page | ||
|
||
- name: Install dependencies | ||
run: | | ||
cd project-page | ||
npm install | ||
- name: Build page | ||
run: | | ||
cd project-page | ||
npm run build | ||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./project-page/_site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
_site | ||
*.out.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = function (eleventyConfig) { | ||
eleventyConfig.addPassthroughCopy("./assets/images"); | ||
eleventyConfig.addPassthroughCopy({"style.out.css": "style.css"}); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>SiteVisor Project</title> | ||
<link href="./style.css" rel="stylesheet"> | ||
</head> | ||
<body class="bg-gray-100 font-sans leading-normal tracking-normal"> | ||
<div class="container mx-auto p-8"> | ||
<h1 class="text-5xl text-gray-500 font-bold text-center mb-8">SiteVisor</h1> | ||
|
||
<div class="flex h-full"> | ||
<div class="w-1/2 flex flex-col justify-between bg-blue-100"> | ||
<div class="flex items-center p-8 space-x-4"> | ||
<img src="./assets/images/author-image.jpeg" alt="Author Image" class="h-auto w-48 rounded-lg shadow-lg"> | ||
<div> | ||
<h2 class="text-2xl text-gray-800 font-semibold">Grzegorz Piotrowski</h2> | ||
<p class="text-md text-gray-800">Student Number: 20099926</p> | ||
</div> | ||
</div> | ||
<div class="p-8"> | ||
<p class="text-xl text-gray-700">Project Type: Web App, IoT</p> | ||
</div> | ||
</div> | ||
|
||
<div class="w-1/2 h-full"> | ||
<img src="https://via.placeholder.com/800x600" alt="Sample Image" class="w-full h-full object-cover"> | ||
</div> | ||
</div> | ||
|
||
<div class="flex justify-center space-x-4 mt-8"> | ||
<a href="https://github.com/grzpiotrowski/sitevisor-project" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded transition ease-in-out duration-150">GitHub</a> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.