Skip to content

Commit

Permalink
new struc & update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ujstor committed Jan 5, 2024
1 parent 1ca88f5 commit f974f34
Show file tree
Hide file tree
Showing 33 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pipeline {

environment {
GITHUB_USER = 'ujstor'
GITHUB_REPO = 'portfolio_web'
GITHUB_REPO = 'portfolio-web'
DOCKER_HUB_USERNAME = 'ujstor'
DOCKER_REPO_NAME = 'portfolio-web-go'
BRANCH = 'master'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added cmd/web/static/img/jpg/blueprint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added cmd/web/static/img/webp/blueprint.webp
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions website/templates/index.html → cmd/web/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ <h3>Social Media FastAPI</h3>
</section>

<footer class="footer">
<p>&copy; Aleksandar Stipan, 2023</p>
<p>&copy; Aleksandar Stipan, 2024</p>
</footer>

<!-- Import JS: Particles Theme -->
Expand All @@ -315,4 +315,4 @@ <h3>Social Media FastAPI</h3>
<!-- Import JS: Main Script -->
<script src="./static/js/main.js"></script>
</body>
</html>
</html>
6 changes: 3 additions & 3 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
version: '3.8'

services:
web:
image: ujstor/portfolio-web-go:1.0.6
image: ujstor/portfolio-web-go:1.0.7
ports:
- '${PORT}:${PORT}'
- ${PORT}:${PORT}
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
version: '3.8'

services:
web:
build: .
ports:
- '${PORT}:${PORT}'
- ${PORT}:${PORT}
4 changes: 2 additions & 2 deletions internal/server/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
)

func (s *FiberServer) RegisterFiberRoutes() {
s.App.Static("/", "./website/templates")
s.App.Static("/", "./cmd/web/templates")

s.App.Static("/static", "./website/static")
s.App.Static("/static", "./cmd/web/static")

// 404 handler for all other routes
s.App.Use(func(c *fiber.Ctx) error {
Expand Down
Binary file removed website/static/img/jpg/blueprint.png
Binary file not shown.
Binary file removed website/static/img/webp/blueprint.webp
Binary file not shown.

0 comments on commit f974f34

Please sign in to comment.