Skip to content

Commit 510c72c

Browse files
committed
Pages landing site
1 parent 3885ce4 commit 510c72c

File tree

8 files changed

+314
-11
lines changed

8 files changed

+314
-11
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"liveServer.settings.port": 5501
3+
}
Lines changed: 113 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,114 @@
1-
Hej Sune, Jeg får at vide at i har nogle af vores Elcos ting og vi har nogle af Katalysts ting. Så jeg tænkte at i forbindelse med tutor-opstartsmøde imorgen, at vi kunne få styr på de ting.
1+
Unicode true
22

3-
1. Trådløs Mikrofon afsender/modtager. Det lader til at vi har mixet to sæt af modtager/afsender, så i har vores modtager og omvendt. De kan ikke omprogrammeres, så vi bliver nødt til at få den rigtige tilbage.
4-
2. Soundboks batteri, Vi har et af jeres gamle soundboks batterier, hvor i har fået et af vores nyere
5-
3.
3+
####
4+
## Please note: Template replacements don't work in this file. They are provided with default defines like
5+
## mentioned underneath.
6+
## If the keyword is not defined, "wails_tools.nsh" will populate them with the values from ProjectInfo.
7+
## If they are defined here, "wails_tools.nsh" will not touch them. This allows to use this project.nsi manually
8+
## from outside of Wails for debugging and development of the installer.
9+
##
10+
## For development first make a wails nsis build to populate the "wails_tools.nsh":
11+
## > wails build --target windows/amd64 --nsis
12+
## Then you can call makensis on this file with specifying the path to your binary:
13+
## For a AMD64 only installer:
14+
## > makensis -DARG_WAILS_AMD64_BINARY=..\..\bin\app.exe
15+
## For a ARM64 only installer:
16+
## > makensis -DARG_WAILS_ARM64_BINARY=..\..\bin\app.exe
17+
## For a installer with both architectures:
18+
## > makensis -DARG_WAILS_AMD64_BINARY=..\..\bin\app-amd64.exe -DARG_WAILS_ARM64_BINARY=..\..\bin\app-arm64.exe
19+
####
20+
## The following information is taken from the ProjectInfo file, but they can be overwritten here.
21+
####
22+
## !define INFO_PROJECTNAME "MyProject" # Default "{{.Name}}"
23+
## !define INFO_COMPANYNAME "MyCompany" # Default "{{.Info.CompanyName}}"
24+
## !define INFO_PRODUCTNAME "MyProduct" # Default "{{.Info.ProductName}}"
25+
## !define INFO_PRODUCTVERSION "1.0.0" # Default "{{.Info.ProductVersion}}"
26+
## !define INFO_COPYRIGHT "Copyright" # Default "{{.Info.Copyright}}"
27+
###
28+
## !define PRODUCT_EXECUTABLE "Application.exe" # Default "${INFO_PROJECTNAME}.exe"
29+
## !define UNINST_KEY_NAME "UninstKeyInRegistry" # Default "${INFO_COMPANYNAME}${INFO_PRODUCTNAME}"
30+
####
31+
## !define REQUEST_EXECUTION_LEVEL "admin" # Default "admin" see also https://nsis.sourceforge.io/Docs/Chapter4.html
32+
####
33+
## Include the wails tools
34+
####
35+
!include "wails_tools.nsh"
36+
37+
# The version information for this two must consist of 4 parts
38+
VIProductVersion "${INFO_PRODUCTVERSION}.0"
39+
VIFileVersion "${INFO_PRODUCTVERSION}.0"
40+
41+
VIAddVersionKey "CompanyName" "${INFO_COMPANYNAME}"
42+
VIAddVersionKey "FileDescription" "${INFO_PRODUCTNAME} Installer"
43+
VIAddVersionKey "ProductVersion" "${INFO_PRODUCTVERSION}"
44+
VIAddVersionKey "FileVersion" "${INFO_PRODUCTVERSION}"
45+
VIAddVersionKey "LegalCopyright" "${INFO_COPYRIGHT}"
46+
VIAddVersionKey "ProductName" "${INFO_PRODUCTNAME}"
47+
48+
# Enable HiDPI support. https://nsis.sourceforge.io/Reference/ManifestDPIAware
49+
ManifestDPIAware true
50+
51+
!include "MUI.nsh"
52+
53+
!define MUI_ICON "..\icon.ico"
54+
!define MUI_UNICON "..\icon.ico"
55+
# !define MUI_WELCOMEFINISHPAGE_BITMAP "resources\leftimage.bmp" #Include this to add a bitmap on the left side of the Welcome Page. Must be a size of 164x314
56+
!define MUI_FINISHPAGE_NOAUTOCLOSE # Wait on the INSTFILES page so the user can take a look into the details of the installation steps
57+
!define MUI_ABORTWARNING # This will warn the user if they exit from the installer.
58+
59+
!insertmacro MUI_PAGE_WELCOME # Welcome to the installer page.
60+
# !insertmacro MUI_PAGE_LICENSE "resources\eula.txt" # Adds a EULA page to the installer
61+
!insertmacro MUI_PAGE_DIRECTORY # In which folder install page.
62+
!insertmacro MUI_PAGE_INSTFILES # Installing page.
63+
!insertmacro MUI_PAGE_FINISH # Finished installation page.
64+
65+
!insertmacro MUI_UNPAGE_INSTFILES # Uinstalling page
66+
67+
!insertmacro MUI_LANGUAGE "English" # Set the Language of the installer
68+
69+
## The following two statements can be used to sign the installer and the uninstaller. The path to the binaries are provided in %1
70+
#!uninstfinalize 'signtool --file "%1"'
71+
#!finalize 'signtool --file "%1"'
72+
73+
Name "${INFO_PRODUCTNAME}"
74+
OutFile "..\..\bin\${INFO_PROJECTNAME}-${ARCH}-installer.exe" # Name of the installer's file.
75+
InstallDir "$PROGRAMFILES64\${INFO_COMPANYNAME}\${INFO_PRODUCTNAME}" # Default installing folder ($PROGRAMFILES is Program Files folder).
76+
ShowInstDetails show # This will always show the installation details.
77+
78+
Function .onInit
79+
!insertmacro wails.checkArchitecture
80+
FunctionEnd
81+
82+
Section
83+
!insertmacro wails.setShellContext
84+
85+
!insertmacro wails.webview2runtime
86+
87+
SetOutPath $INSTDIR
88+
89+
!insertmacro wails.files
90+
91+
CreateShortcut "$SMPROGRAMS\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}"
92+
CreateShortCut "$DESKTOP\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}"
93+
94+
!insertmacro wails.associateFiles
95+
!insertmacro wails.associateCustomProtocols
96+
97+
!insertmacro wails.writeUninstaller
98+
SectionEnd
99+
100+
Section "uninstall"
101+
!insertmacro wails.setShellContext
102+
103+
RMDir /r "$AppData\${PRODUCT_EXECUTABLE}" # Remove the WebView2 DataPath
104+
105+
RMDir /r $INSTDIR
106+
107+
Delete "$SMPROGRAMS\${INFO_PRODUCTNAME}.lnk"
108+
Delete "$DESKTOP\${INFO_PRODUCTNAME}.lnk"
109+
110+
!insertmacro wails.unassociateFiles
111+
!insertmacro wails.unassociateCustomProtocols
112+
113+
!insertmacro wails.deleteUninstaller
114+
SectionEnd

docs/icon.ico

5.55 KB
Binary file not shown.

docs/index.html

Lines changed: 194 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,199 @@
1-
<html>
1+
<!DOCTYPE html>
2+
<html lang="en">
23
<head>
3-
<title>Document Title</title>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Pace Planner - Running Training Plan App</title>
7+
<style>
8+
:root {
9+
--color-primary: black;
10+
--color-secondary: gray;
11+
--color-text: black;
12+
--color-background: white;
13+
--font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
14+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
15+
--font-mono: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Menlo', 'Monaco', 'Consolas',
16+
'Liberation Mono', 'Courier New', monospace;
17+
}
18+
19+
* {
20+
margin: 0;
21+
padding: 0;
22+
box-sizing: border-box;
23+
}
24+
25+
body {
26+
margin: 0;
27+
color: var(--color-text);
28+
line-height: 1.6;
29+
font-family: var(--font-mono);
30+
}
31+
32+
header {
33+
background-color: var(--color-background);
34+
color: var(--color-text);
35+
padding: 3rem 0;
36+
text-align: center;
37+
border-bottom: 1px solid var(--color-primary);
38+
box-shadow: 0 0 5px var(--color-primary);
39+
}
40+
41+
h1 {
42+
font-size: 3rem;
43+
margin-bottom: 1rem;
44+
}
45+
46+
.tagline {
47+
font-size: 1.2rem;
48+
max-width: 600px;
49+
margin: 0 auto 2rem;
50+
}
51+
52+
.container {
53+
max-width: 1000px;
54+
margin: 0 auto;
55+
padding: 0 2rem;
56+
}
57+
58+
.download-buttons {
59+
display: flex;
60+
justify-content: center;
61+
gap: 1rem;
62+
}
63+
64+
.download-btn {
65+
display: inline-block;
66+
background-color: var(--color-background);
67+
color: var(--color-text);
68+
font-weight: bold;
69+
padding: 0.8rem 2rem;
70+
border-radius: 4px;
71+
text-decoration: none;
72+
font-size: 1.1rem;
73+
border: 1px solid var(--color-primary);
74+
transition: all 0.2s ease;
75+
}
76+
77+
.download-btn:hover {
78+
background-color: rgba(0, 0, 0, 0.1);
79+
}
80+
81+
.features {
82+
padding: 5rem 0;
83+
background-color: #f8f9fa;
84+
}
85+
86+
h2 {
87+
text-align: center;
88+
margin-bottom: 3rem;
89+
}
90+
91+
.features-grid {
92+
display: grid;
93+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
94+
gap: 2rem;
95+
}
96+
97+
.feature {
98+
background: var(--color-background);
99+
padding: 1.5rem;
100+
border-radius: 4px;
101+
border: 1px solid var(--color-primary);
102+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
103+
}
104+
105+
.feature h3 {
106+
color: var(--color-text);
107+
margin-bottom: 0.5rem;
108+
}
109+
110+
footer {
111+
background-color: var(--color-text);
112+
color: white;
113+
text-align: center;
114+
padding: 2rem 0;
115+
margin-top: 3rem;
116+
}
117+
118+
.logo-title {
119+
display: flex;
120+
align-items: center;
121+
justify-content: center;
122+
margin-bottom: 1rem;
123+
}
124+
125+
.logo {
126+
height: 48px;
127+
width: 48px;
128+
margin-right: 15px;
129+
}
130+
131+
@font-face {
132+
font-family: 'Nunito';
133+
font-style: normal;
134+
font-weight: 400;
135+
src: local(''), url('assets/fonts/nunito-v16-latin-regular.woff2') format('woff2');
136+
}
137+
</style>
4138
</head>
5139
<body>
6-
<h1>Welcome to the Index Page</h1>
140+
<header>
141+
<div class="container">
142+
<div class="logo-title">
143+
<img src="./icon.ico" alt="Pace Planner Logo" class="logo" />
144+
<h1>Pace Planner</h1>
145+
</div>
146+
<p class="tagline">
147+
The ultimate training plan app for runners who want to track progress and achieve their
148+
goals
149+
</p>
150+
<div class="download-buttons">
151+
<a
152+
href="./files/pace_planner-amd64-installer.exe"
153+
class="download-btn"
154+
download="pace_planner-installer.exe"
155+
>Download for Windows</a
156+
>
157+
</div>
158+
</div>
159+
</header>
160+
161+
<section class="features">
162+
<div class="container">
163+
<h2>Features</h2>
164+
<div class="features-grid">
165+
<div class="feature">
166+
<h3>Create Custom Plans</h3>
167+
<p>Build personalized training plans for any distance or goal</p>
168+
</div>
169+
<div class="feature">
170+
<h3>Track Progress</h3>
171+
<p>Monitor your progress with detailed statistics and visualizations</p>
172+
</div>
173+
<div class="feature">
174+
<h3>Run Types</h3>
175+
<p>Organize workouts by type: easy, tempo, interval, long runs and races</p>
176+
</div>
177+
<div class="feature">
178+
<h3>Weekly Overview</h3>
179+
<p>See your training at a glance with the intuitive weekly calendar</p>
180+
</div>
181+
<div class="feature">
182+
<h3>Simple Interface</h3>
183+
<p>Clean design makes planning your training easy and a pleasure</p>
184+
</div>
185+
<div class="feature">
186+
<h3>Works Offline</h3>
187+
<p>No internet connection required - your data stays on your device</p>
188+
</div>
189+
</div>
190+
</div>
191+
</section>
192+
193+
<footer>
194+
<div class="container">
195+
<p>© 2025 Pace Planner. All rights reserved.</p>
196+
</div>
197+
</footer>
7198
</body>
8199
</html>

frontend/dist/assets/index.187087b3.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

frontend/dist/assets/index.451c5710.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)