Commit cb261a08 by Mac Stephens

updated entire bootstrap grid framework for home page, reduced css, working on…

updated entire bootstrap grid framework for home page, reduced css, working on updating contact us as well
parent 2414a228
{"tms":{"desktop":{"theme":"auto","layouts":{"Default Desktop":"{\"dockbox\":{\"id\":\"docklayoutbase\",\"size\":200,\"mode\":\"horizontal\",\"children\":[{\"id\":\"leftlayout\",\"size\":300,\"mode\":\"vertical\",\"children\":[{\"id\":\"+1\",\"size\":200,\"tabs\":[{\"id\":\"structure\"}],\"activeId\":\"structure\"},{\"id\":\"+2\",\"size\":200,\"tabs\":[{\"id\":\"objectinspector\"}],\"activeId\":\"objectinspector\"}]},{\"id\":\"+3\",\"size\":1000,\"tabs\":[{\"id\":\"documentgroup\"}],\"activeId\":\"documentgroup\"},{\"id\":\"rightlayout\",\"size\":250,\"tabs\":[{\"id\":\"toolpalette\"}],\"activeId\":\"toolpalette\"}]},\"floatbox\":{\"id\":\"+4\",\"size\":1,\"mode\":\"float\",\"children\":[]},\"maxbox\":{\"id\":\"+5\",\"size\":1,\"mode\":\"maximize\",\"children\":[]}}"},"active":"Default Desktop"},"packages":{"installed":{"k0webcore":{"name":"TMS WEB Core","path":"core\\webcore.twcl","checked":true}}},"formDesigner":{"gridOptions":{"displayGrid":"true","useDesignerGuidelines":"true","snapToGrid":"true","gridSizeX":8,"gridSizeY":8},"options":{"showComponentCaptions":"true","showDesignerHints":"true","showExtendedControlHints":"true","showNonVisualComponents":"true","deleteEmptyEventHandlersOnSave":"true"}},"options":{"electron":{"debug":{"port":"9223","delay":"3","timeout":"10000"}},"automaticallyCopyFileExtensions":"","outputPath":".\\$(Platform)\\$(Config)","singleJavascriptFile":"","ecmaScript":""}},"omnipascal":{"delphiInstallationPath":"","freePascalSourcePath":"","defaultDevelopmentEnvironment":"Delphi","searchPath":"c:\\Users\\Admin\\.vscode\\extensions\\tmssoftware.tmswebcore-2.5.7377\\resources\\coresource\\*","msbuildPath":"","lazbuildPath":"","createBuildScripts":false,"symbolIndex":"workspace","usesListStyle":"multipleItemsPerLine","namingConventionString":"pascalCase"}}
\ No newline at end of file
{"tms":{"desktop":{"theme":"auto","layouts":{"Default Desktop":"{\"dockbox\":{\"id\":\"docklayoutbase\",\"size\":200,\"mode\":\"horizontal\",\"children\":[{\"id\":\"leftlayout\",\"size\":300,\"mode\":\"vertical\",\"children\":[{\"id\":\"+1\",\"size\":200,\"tabs\":[{\"id\":\"structure\"}],\"activeId\":\"structure\"},{\"id\":\"+2\",\"size\":200,\"tabs\":[{\"id\":\"objectinspector\"}],\"activeId\":\"objectinspector\"}]},{\"id\":\"+3\",\"size\":1000,\"tabs\":[{\"id\":\"documentgroup\"}],\"activeId\":\"documentgroup\"},{\"id\":\"rightlayout\",\"size\":250,\"tabs\":[{\"id\":\"toolpalette\"}],\"activeId\":\"toolpalette\"}]},\"floatbox\":{\"id\":\"+4\",\"size\":1,\"mode\":\"float\",\"children\":[]},\"maxbox\":{\"id\":\"+5\",\"size\":1,\"mode\":\"maximize\",\"children\":[]}}"},"active":"Default Desktop"},"packages":{"installed":{"k0webcore":{"name":"TMS WEB Core","path":"core\\webcore.twcl","checked":true}}},"formDesigner":{"gridOptions":{"displayGrid":"true","useDesignerGuidelines":"true","snapToGrid":"true","gridSizeX":8,"gridSizeY":8},"options":{"showComponentCaptions":"true","showDesignerHints":"true","showExtendedControlHints":"true","showNonVisualComponents":"true","deleteEmptyEventHandlersOnSave":"true"}},"options":{"electron":{"debug":{"port":"9223","delay":"3","timeout":"10000"}},"automaticallyCopyFileExtensions":"","outputPath":".\\$(Platform)\\$(Config)","singleJavascriptFile":"","ecmaScript":""}},"omnipascal":{"delphiInstallationPath":"","freePascalSourcePath":"","defaultDevelopmentEnvironment":"Delphi","searchPath":"c:\\Users\\Admin\\.vscode\\extensions\\tmssoftware.tmswebcore-2.5.37486\\resources\\coresource\\*","msbuildPath":"","lazbuildPath":"","createBuildScripts":false,"symbolIndex":"workspace","usesListStyle":"multipleItemsPerLine","namingConventionString":"pascalCase"}}
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>TMS Web Project</title>
<style>
</style>
</head>
<body>
</body>
</html>
\ No newline at end of file
body {
font-family: "Raleway", sans-serif;
font-family: 'Source Sans Pro', sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-weight: 600;
font-style: normal;
color: #272727;
background-color: #f4f4f4;
......@@ -9,14 +9,17 @@ body {
box-sizing: border-box;
}
.em-black {
color: #000000;
.container-main {
max-width: 1400px;
padding-top: 0px;
margin-top: 0px;
margin: auto;
}
/* NAVBAR */
.em-navbar-wrap .navbar {
transition: padding-top 0.3s ease, padding-bottom 0.3s ease; /* Smooth transitions for padding */
transition: padding-top 0.3s ease, padding-bottom 0.3s ease;
/* Smooth transitions for padding */
position: fixed;
width: 100%;
z-index: 1030;
......@@ -30,36 +33,47 @@ body {
/* Transition for navbar logo size */
.em-brand img {
transition: max-height 0.3s ease; /* Smooth transition for logo size */
max-height: 80px; /* Set a max-height for the logo */
transition: max-height 0.3s ease;
/* Smooth transition for logo size */
max-height: 80px;
/* Set a max-height for the logo */
margin-top: 8px;
}
/* Nav link styles and transitions */
.em-navbar-wrap .navbar .navbar-nav .nav-link {
transition: color 0.3s ease; /* Smooth transition for color change */
transition: color 0.3s ease;
/* Smooth transition for color change */
text-transform: uppercase;
letter-spacing: 0.085em;
font-size: 1rem;
color: #FFFFFF;
color: #212121;
}
.em-navbar-wrap .navbar-bottom-line {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px; /* Adjust height as needed */
background-color: #0080c6; /* Blue color */
z-index: 1029; /* Place it just below the navbar */
}
/* Hover and active state for nav links */
.em-navbar-wrap .navbar .navbar-nav .nav-item:hover .nav-link,
.em-navbar-wrap .navbar .navbar-nav .nav-item.active .nav-link {
color: #999999;
box-shadow: inset 0 -4px 0 0 #2c66a0;
box-shadow: inset 0 -4px 0 0 #0080c6;
}
/* navbar changes when scrolled */
.em-navbar-wrap .navbar.scrolled {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
/* Smaller logo when scrolled */
.em-brand img.scrolled-logo {
max-height: 40px;
max-height: 70px;
}
/* Adjust padding for nav links when scrolled */
......@@ -68,41 +82,27 @@ body {
padding-bottom: 0.5rem;
}
/* navbar dropdown menu */
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu {
background-color: #212529; /* Dark background to match the navbar */
border: none; /* No border for a cleaner look */
}
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item {
color: #f8f9fa;
}
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item:focus {
background-color: #495057; /* Slightly lighter background on hover/focus */
color: #ffffff;
}
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item:active {
background-color: #2c66a0; /* Highlights color for active state */
color: #ffffff;
}
/* navbar hamburger menu */
.navbar-toggler {
outline: none !important;
border: none !important;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease, box-shadow 0.3s ease;
background-color: #2c66a0;
background-color: #0080c6;
}
.navbar-toggler:focus, .navbar-toggler:active, .navbar-toggler.active {
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler.active {
outline: none;
border: none !important;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
background-color: #999999;
}
.navbar-toggler:hover {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) inset; /* "Pressed in" look */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) inset;
/* "Pressed in" look */
background-color: #999999;
}
......@@ -112,46 +112,86 @@ body {
/* HERO IMAGES */
.hero-section {
position: relative;
height: 50vh; /* Control the height of the hero section */
height: 50vh;
/* Control the height of the hero section */
overflow: hidden;
margin-top: 50px;
}
.hero-image {
width: 100%;
height: 100%;
object-fit: cover; /* Cover the area without distorting the image */
object-position: center; /* Align the center of the image to the center of the container */
object-fit: cover;
/* Cover the area without distorting the image */
object-position: center;
/* Align the center of the image to the center of the container */
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
text-shadow: 0px 0px 10px #000;
}
.translate-adjust {
transition: transform 0.5s ease-in-out;
margin-right: 20px;
}
@media (min-width: 992px) {
/* Adjustments for larger screens */
.translate-adjust {
transform: translateX(-50%);
/* Slightly left of center for large screens */
}
}
@media (max-width: 991px) and (min-width: 768px) {
/* Adjustments for medium screens */
.translate-adjust {
transform: translateX(-25%);
/* Closer to center for medium screens */
}
}
@media (max-width: 767px) {
/* Adjustments for small screens */
.translate-adjust {
transform: translateX(0%);
/* Centered for small screens */
}
}
.page-hero-section {
position: relative;
height: 30vh;
height: 30vh;
overflow: hidden;
}
.hero-section-aboutus {
position: relative;
height: 100vh; /* Full viewport height */
height: 100vh;
/* Full viewport height */
overflow: hidden;
}
.hero-image-aboutus {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image covers the area properly */
object-position: center; /* Centers the image */
object-fit: cover;
/* Ensures the image covers the area properly */
object-position: center;
/* Centers the image */
}
.hero-overlay-aboutus {
......@@ -159,91 +199,119 @@ body {
top: 0;
left: 0;
width: 100%;
height: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.text-wrapper-aboutus {
background-color: rgba(0, 0, 0, 0.5);
background-color: rgba(0, 0, 0, 0.5);
text-shadow: 0px 0px 10px #000;
}
/****************************************************************************************/
/* LEARN BOXES */
.container-main {
max-width: 1400px;
margin: auto;
padding: 1rem;
/* MAIN CONTENT */
.background-pattern {
background-image: url('../images/background_pattern.gif');
background-size: auto;
/* Cover the entire container */
background-repeat: repeat;
/* Do not repeat the image */
}
.learn-boxes {
margin-top: 50px;
.blue-bar {
background-color: #0080c6;
color: white;
}
.darker-blue-bar {
background-color: #0060a6;
/* slightly darker shade of blue */
}
.learn-boxes .row img {
border-radius: 5px 0 0 5px;
margin-bottom: 25px;
.background-suitcase {
background-image: url('../images/europe.jpg');
background-size: cover;
background-repeat: no-repeat;
height: 100vh;
}
.learn-boxes h2 {
font-size: 2.5rem;
margin-bottom: 0.75rem;
.travel-section {
position: relative;
height: 50vh;
overflow: hidden;
}
.learn-boxes p {
font-size: 1rem;
margin-bottom: 1rem;
.travel-image {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.btn-primary {
background-color: #000;
border-color: #000;
color: #fff;
width: 175px;
.travel-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0);
display: flex;
justify-content: center;
align-items: center;
}
.btn-primary:hover {
background-color: #333;
border-color: #333;
@media (max-width: 767px) {
.travel-overlay {
background-color: rgba(0, 0, 0, 0.5);
}
}
/****************************************************************************************/
/* FOOTER */
footer {
background-color: #000;
background-color: #000;
color: #fff;
padding: 1rem 0;
padding: 1rem 0;
margin-top: auto;
}
footer .navbar-brand img {
max-height: 50px;
max-height: 50px;
}
footer h5 {
font-size: 0.9rem;
font-size: 0.9rem;
}
footer ul li a,
footer ul li p {
font-size: 0.8rem;
color: #fff;
text-decoration: none;
font-size: 0.8rem;
color: #fff;
text-decoration: none;
}
footer ul li a:hover,
footer ul li a:focus {
color: #999999;
text-decoration: none;
color: #999999;
text-decoration: none;
}
footer address,
footer p {
font-size: 0.8rem;
font-size: 0.8rem;
}
footer .footer-copyright {
font-size: 0.8rem;
padding: 0.5rem 0;
font-size: 0.8rem;
padding: 0.5rem 0;
text-align: center;
}
......@@ -260,15 +328,16 @@ footer .footer-copyright {
@media (min-width: 1400px) {
.container-main {
max-width: 1600px;
max-width: 1600px;
}
}
@media (min-width: 1400px) {
.em-navbar-wrap .navbar-brand {
padding-right: 2rem;
padding-right: 2rem;
}
.em-navbar-wrap .navbar .navbar-nav {
padding-left: 2rem;
padding-left: 2rem;
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100.8 92.9" style="enable-background:new 0 0 100.8 92.9;" xml:space="preserve">
<style type="text/css">
.st0{fill:#0880C4;}
</style>
<g>
<g>
<path class="st0" d="M54,19c-3.2-0.8-3.9,1.3-5.4,2.2c-1.5,0.8-3,3.2-2.2,3.5s18.4,6,18.4,6l-5.6,6.7c0,0-12.1,0.8-11,2.2
c1,1.1,6,5.6,7.4,6.8c1.3,1.4,5.8,6.3,6.9,7.3c1.3,1.2,2.2-10.8,2.2-10.8l6.7-5.5c0,0,5.7,17.3,6.1,18.2c0.3,0.8,2.7-0.7,3.5-2.2
s3-2.2,2.2-5.3c-0.8-3.2-3.5-17.2-3.5-17.2s7.9-8.5,9.9-11.3s2.5-6.1,0.9-7.6l0,0l0,0l0,0l0,0c-1.5-1.6-4.9-1.1-7.7,0.9
c-2.9,2-11.5,9.8-11.5,9.8S57.2,19.8,54,19z M7,76.2l-0.2,2.7c0.8,0.1,1.6,0,2.4,0c0.4,0,0.8-0.1,1.2-0.2l0.6-0.1l0.6-0.1
l-0.7-2.6C9.6,76.2,8.3,76.4,7,76.2z M2.7,72.4L0,72.9c0.2,0.8,0.4,1.7,0.8,2.5c0.4,0.8,1.1,1.6,1.9,2.1l1.6-2.2
C3.5,74.7,2.9,73.7,2.7,72.4z M3.4,65.5l-2.6-0.7c-0.4,1.4-0.7,2.9-0.8,4.4l2.7,0.2C2.7,68.1,3,66.8,3.4,65.5z M28.5,70.2
c1.2-0.8,2.4-1.5,3.6-2.3l-1.5-2.3c-1.2,0.8-2.3,1.5-3.5,2.3L28.5,70.2z M25.6,71.9l-1.4-2.3c-1.2,0.7-2.4,1.4-3.6,2.1l1.3,2.4
C23.2,73.4,24.4,72.7,25.6,71.9z M13.9,74.9l1,2.5c1.4-0.5,2.7-1.1,4-1.8l-1.2-2.4C16.5,73.8,15.2,74.4,13.9,74.9z M45.5,55
l1.7,2.1c1.1-0.9,2.2-1.7,3.3-2.6l-1.7-2.1C47.7,53.3,46.6,54.1,45.5,55z M41.1,61.6c1.1-0.8,2.3-1.7,3.4-2.5l-1.6-2.2l-3.5,2.6
L41.1,61.6z M34.9,66c1.2-0.8,2.3-1.6,3.5-2.4l-1.6-2.2c-1.1,0.8-2.3,1.6-3.4,2.4L34.9,66z M93.1,20.9l-3.9,3.2
c4.2,6.5,6.6,14.1,6.6,22.3c0,22.9-18.8,41.5-42,41.5c-11.1,0-21.2-4.3-28.7-11.2l-3.9,3.2c8.5,8,19.9,13,32.6,13
c25.9,0,47-20.9,47-46.5C100.9,37.1,98,28.3,93.1,20.9z M11.9,46.5C11.9,23.6,30.7,5,53.9,5c8.8,0,16.9,2.7,23.6,7.2l3.9-3.4
C73.7,3.3,64.2,0,53.9,0C28,0,6.9,20.9,6.9,46.5c0,8.3,2.2,16.2,6.1,22.9l3.9-3.4C13.7,60.2,11.9,53.5,11.9,46.5z"/>
</g>
</g>
</svg>
<html><head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<noscript>Your browser does not support JavaScript!</noscript>
<link rel="icon" href="data:;base64,=">
<title>TMS Web Project</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" rel="stylesheet">
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" type="text/javascript"></script>
<script type="text/javascript" src="spotcurrencywebsite.js"></script>
<style>
</style>
</head>
<body>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<noscript>Your browser does not support JavaScript!</noscript>
<link rel="icon" href="data:;base64,=">
<title>TMS Web Project</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300&display=swap" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" rel="stylesheet">
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css"
rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"
type="text/javascript"></script>
<link href="css/App.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="spotcurrencywebsite.js"></script>
<style>
</style>
</head>
<body>
<script type="text/javascript">
rtl.run();
</script>
</body></html>
\ No newline at end of file
</body>
</html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
object Frame1: TFrame1
Left = 0
Top = 0
Width = 640
Height = 480
end
object FContactUs: TFContactUs
Color = clWhite
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
FormStyle = fsNormal
Height = 480
Left = 0
TabOrder = 0
Top = 0
Width = 640
end
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>TMS Web Project</title>
<style>
</style>
</head>
<body>
</body>
</html>
\ No newline at end of file
unit Unit1;
unit View.ContactUs;
interface
......@@ -7,7 +7,7 @@ uses
WEBLib.Forms, WEBLib.Dialogs;
type
TFrame1 = class(TWebFrame)
TFContactUs = class(TWebForm)
private
{ Private declarations }
public
......@@ -15,10 +15,14 @@ type
end;
var
Frame1: TFrame1;
FContactUs: TFContactUs;
implementation
{$R *.dfm}
end.
\ No newline at end of file
initialization
RegisterClass(TFContactUs);
end.
\ No newline at end of file
......@@ -11,6 +11,7 @@ object FHome: TFHome
FormStyle = fsNormal
Height = 1090
Left = 0
OnClose = WebFormClose
OnCreate = WebFormCreate
TabOrder = 0
Top = 0
......@@ -36,85 +37,6 @@ object FHome: TFHome
Top = 105
Width = 100
end
object btnAboutUs: TWebButton
Caption = 'ABOUT US'
Color = clNone
ElementFont = efCSS
ElementID = 'aboutusnav'
ElementPosition = epRelative
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Height = 25
Left = 899
OnClick = btnAboutUsClick
Role = 'button'
TabOrder = 0
Top = 105
Width = 100
end
object btnCustomSoftware: TWebButton
Caption = 'Custom Software'
Color = clNone
ElementFont = efCSS
ElementID = 'customsoftwarenav'
ElementPosition = epRelative
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Height = 25
Left = 1019
OnClick = btnCustomSoftwareClick
Role = 'button'
TabOrder = 0
Top = 111
Width = 100
end
object btnRecordsManagement: TWebButton
Caption = 'Records Management'
Color = clNone
ElementID = 'recordsmanagementnav'
ElementPosition = epRelative
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Height = 25
Left = 1027
OnClick = btnRecordsManagementClick
Role = 'button'
TabOrder = 0
Top = 169
Width = 100
end
object btnPublicSafety: TWebButton
Caption = 'Public Safety'
Color = clNone
ElementFont = efCSS
ElementID = 'publicsafetynav'
ElementPosition = epRelative
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Height = 25
Left = 1027
OnClick = btnPublicSafetyClick
Role = 'button'
TabOrder = 0
Top = 137
Width = 100
end
object btnContactUs: TWebButton
Caption = 'CONTACT US'
Color = clNone
......@@ -135,118 +57,4 @@ object FHome: TFHome
Top = 105
Width = 100
end
object btnRecordsManagementLearn: TWebButton
Caption = 'Learn More'
Color = clNone
ElementID = 'recordsmanagementlearn'
ElementPosition = epRelative
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Height = 25
Left = 0
OnClick = btnRecordsManagementClick
Role = 'button'
TabOrder = 0
Top = 0
Width = 100
end
object btnCustomSoftwareLearn: TWebButton
Caption = 'Learn More'
Color = clNone
ElementID = 'customsoftwarelearn'
ElementPosition = epRelative
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Height = 25
Left = 0
OnClick = btnCustomSoftwareClick
Role = 'button'
TabOrder = 0
Top = 0
Width = 100
end
object btnPublicSafetyLearn: TWebButton
Caption = 'Learn More'
Color = clNone
ElementID = 'publicsafetylearn'
ElementPosition = epRelative
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Height = 25
Left = 0
OnClick = btnPublicSafetyClick
Role = 'button'
TabOrder = 0
Top = 0
Width = 100
end
object btnAboutUsFooter: TWebButton
Caption = 'About Us'
Color = clNone
ElementID = 'aboutusfooter'
ElementPosition = epRelative
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Height = 25
Left = 306
OnClick = btnAboutUsClick
Role = 'button'
TabOrder = 0
Top = 641
Width = 100
end
object btnHomeFooter: TWebButton
Caption = 'Home'
Color = clNone
ElementID = 'homefooter'
ElementPosition = epRelative
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Height = 25
Left = 595
OnClick = btnHomeClick
Role = 'null'
TabOrder = 0
Top = 533
Width = 100
end
object btnContactUsFooter: TWebButton
Caption = 'Contact Us'
Color = clNone
ElementID = 'contactusfooter'
ElementPosition = epRelative
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Height = 25
Left = 423
OnClick = btnContactUsClick
Role = 'null'
TabOrder = 0
Top = 638
Width = 100
end
end
......@@ -3,27 +3,23 @@ unit View.Home;
interface
uses
System.SysUtils, System.Classes, JS, Web, WEBLib.Graphics, WEBLib.Controls,
WEBLib.Forms, WEBLib.Dialogs, WEBLib.Menus, WEBLib.StdCtrls;
System.SysUtils, System.Classes, WEBLib.Graphics, WEBLib.Forms, Vcl.StdCtrls,
WEBLib.StdCtrls, Vcl.Controls, WEBLib.Dialogs, Vcl.Imaging.pngimage,
WEBLib.ExtCtrls, WEBLib.Controls, Web, JS, WEBLib.Menus, WEBLib.WebCtrls;
type
TFHome = class(TWebForm)
btnHome: TWebButton;
btnAboutUs: TWebButton;
btnCustomSoftware: TWebButton;
btnRecordsManagement: TWebButton;
btnPublicSafety: TWebButton;
btnContactUs: TWebButton;
btnRecordsManagementLearn: TWebButton;
btnCustomSoftwareLearn: TWebButton;
btnPublicSafetyLearn: TWebButton;
btnAboutUsFooter: TWebButton;
btnHomeFooter: TWebButton;
btnContactUsFooter: TWebButton;
[async]
procedure WebFormCreate(Sender: TObject);
procedure btnHomeClick(Sender: TObject);
procedure btnContactUsClick(Sender: TObject);
procedure WebFormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private declarations }
public
{ Public declarations }
procedure NavScrollSizing;
end;
var
......@@ -33,4 +29,52 @@ implementation
{$R *.dfm}
end.
\ No newline at end of file
uses
View.ContactUs;
procedure TFHome.btnContactUsClick(Sender: TObject);
begin
Close;
Application.CreateForm(TFContactUs, FContactUs);
end;
procedure TFHome.btnHomeClick(Sender: TObject);
begin
Close;
Application.CreateForm(TFHome, FHome);
end;
procedure TFHome.WebFormCreate(Sender: TObject);
begin
Application.ThemeColor := clTMSWEB;
NavScrollSizing;
end;
procedure TFHome.WebFormClose(Sender: TObject; var Action: TCloseAction);
begin
Action := caFree;
end;
procedure TFHome.NavScrollSizing;
begin
asm
window.addEventListener('scroll', function() {
var navbar = document.querySelector('.em-navbar-wrap .navbar');
var logo = document.querySelector('.em-brand img');
var scrollDistance = 50; // Adjust based on your preference
if (window.scrollY > scrollDistance) {
navbar.classList.add('scrolled');
logo.classList.add('scrolled-logo');
} else {
navbar.classList.remove('scrolled');
logo.classList.remove('scrolled-logo');
}
});
end;
end;
initialization
RegisterClass(TFHome);
end.
\ No newline at end of file
body {
font-family: "Raleway", sans-serif;
font-family: 'Source Sans Pro', sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-weight: 600;
font-style: normal;
color: #272727;
background-color: #f4f4f4;
......@@ -9,14 +9,17 @@ body {
box-sizing: border-box;
}
.em-black {
color: #000000;
.container-main {
max-width: 1400px;
padding-top: 0px;
margin-top: 0px;
margin: auto;
}
/* NAVBAR */
.em-navbar-wrap .navbar {
transition: padding-top 0.3s ease, padding-bottom 0.3s ease; /* Smooth transitions for padding */
transition: padding-top 0.3s ease, padding-bottom 0.3s ease;
/* Smooth transitions for padding */
position: fixed;
width: 100%;
z-index: 1030;
......@@ -30,36 +33,47 @@ body {
/* Transition for navbar logo size */
.em-brand img {
transition: max-height 0.3s ease; /* Smooth transition for logo size */
max-height: 80px; /* Set a max-height for the logo */
transition: max-height 0.3s ease;
/* Smooth transition for logo size */
max-height: 80px;
/* Set a max-height for the logo */
margin-top: 8px;
}
/* Nav link styles and transitions */
.em-navbar-wrap .navbar .navbar-nav .nav-link {
transition: color 0.3s ease; /* Smooth transition for color change */
transition: color 0.3s ease;
/* Smooth transition for color change */
text-transform: uppercase;
letter-spacing: 0.085em;
font-size: 1rem;
color: #FFFFFF;
color: #212121;
}
.em-navbar-wrap .navbar-bottom-line {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px; /* Adjust height as needed */
background-color: #0080c6; /* Blue color */
z-index: 1029; /* Place it just below the navbar */
}
/* Hover and active state for nav links */
.em-navbar-wrap .navbar .navbar-nav .nav-item:hover .nav-link,
.em-navbar-wrap .navbar .navbar-nav .nav-item.active .nav-link {
color: #999999;
box-shadow: inset 0 -4px 0 0 #2c66a0;
box-shadow: inset 0 -4px 0 0 #0080c6;
}
/* navbar changes when scrolled */
.em-navbar-wrap .navbar.scrolled {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
/* Smaller logo when scrolled */
.em-brand img.scrolled-logo {
max-height: 40px;
max-height: 70px;
}
/* Adjust padding for nav links when scrolled */
......@@ -68,41 +82,27 @@ body {
padding-bottom: 0.5rem;
}
/* navbar dropdown menu */
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu {
background-color: #212529; /* Dark background to match the navbar */
border: none; /* No border for a cleaner look */
}
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item {
color: #f8f9fa;
}
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item:focus {
background-color: #495057; /* Slightly lighter background on hover/focus */
color: #ffffff;
}
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item:active {
background-color: #2c66a0; /* Highlights color for active state */
color: #ffffff;
}
/* navbar hamburger menu */
.navbar-toggler {
outline: none !important;
border: none !important;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease, box-shadow 0.3s ease;
background-color: #2c66a0;
background-color: #0080c6;
}
.navbar-toggler:focus, .navbar-toggler:active, .navbar-toggler.active {
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler.active {
outline: none;
border: none !important;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
background-color: #999999;
}
.navbar-toggler:hover {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) inset; /* "Pressed in" look */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) inset;
/* "Pressed in" look */
background-color: #999999;
}
......@@ -112,46 +112,86 @@ body {
/* HERO IMAGES */
.hero-section {
position: relative;
height: 50vh; /* Control the height of the hero section */
height: 50vh;
/* Control the height of the hero section */
overflow: hidden;
margin-top: 50px;
}
.hero-image {
width: 100%;
height: 100%;
object-fit: cover; /* Cover the area without distorting the image */
object-position: center; /* Align the center of the image to the center of the container */
object-fit: cover;
/* Cover the area without distorting the image */
object-position: center;
/* Align the center of the image to the center of the container */
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
text-shadow: 0px 0px 10px #000;
}
.translate-adjust {
transition: transform 0.5s ease-in-out;
margin-right: 20px;
}
@media (min-width: 992px) {
/* Adjustments for larger screens */
.translate-adjust {
transform: translateX(-50%);
/* Slightly left of center for large screens */
}
}
@media (max-width: 991px) and (min-width: 768px) {
/* Adjustments for medium screens */
.translate-adjust {
transform: translateX(-25%);
/* Closer to center for medium screens */
}
}
@media (max-width: 767px) {
/* Adjustments for small screens */
.translate-adjust {
transform: translateX(0%);
/* Centered for small screens */
}
}
.page-hero-section {
position: relative;
height: 30vh;
height: 30vh;
overflow: hidden;
}
.hero-section-aboutus {
position: relative;
height: 100vh; /* Full viewport height */
height: 100vh;
/* Full viewport height */
overflow: hidden;
}
.hero-image-aboutus {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image covers the area properly */
object-position: center; /* Centers the image */
object-fit: cover;
/* Ensures the image covers the area properly */
object-position: center;
/* Centers the image */
}
.hero-overlay-aboutus {
......@@ -159,91 +199,119 @@ body {
top: 0;
left: 0;
width: 100%;
height: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.text-wrapper-aboutus {
background-color: rgba(0, 0, 0, 0.5);
background-color: rgba(0, 0, 0, 0.5);
text-shadow: 0px 0px 10px #000;
}
/****************************************************************************************/
/* LEARN BOXES */
.container-main {
max-width: 1400px;
margin: auto;
padding: 1rem;
/* MAIN CONTENT */
.background-pattern {
background-image: url('../images/background_pattern.gif');
background-size: auto;
/* Cover the entire container */
background-repeat: repeat;
/* Do not repeat the image */
}
.learn-boxes {
margin-top: 50px;
.blue-bar {
background-color: #0080c6;
color: white;
}
.darker-blue-bar {
background-color: #0060a6;
/* slightly darker shade of blue */
}
.learn-boxes .row img {
border-radius: 5px 0 0 5px;
margin-bottom: 25px;
.background-suitcase {
background-image: url('../images/europe.jpg');
background-size: cover;
background-repeat: no-repeat;
height: 100vh;
}
.learn-boxes h2 {
font-size: 2.5rem;
margin-bottom: 0.75rem;
.travel-section {
position: relative;
height: 50vh;
overflow: hidden;
}
.learn-boxes p {
font-size: 1rem;
margin-bottom: 1rem;
.travel-image {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.btn-primary {
background-color: #000;
border-color: #000;
color: #fff;
width: 175px;
.travel-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0);
display: flex;
justify-content: center;
align-items: center;
}
.btn-primary:hover {
background-color: #333;
border-color: #333;
@media (max-width: 767px) {
.travel-overlay {
background-color: rgba(0, 0, 0, 0.5);
}
}
/****************************************************************************************/
/* FOOTER */
footer {
background-color: #000;
background-color: #000;
color: #fff;
padding: 1rem 0;
padding: 1rem 0;
margin-top: auto;
}
footer .navbar-brand img {
max-height: 50px;
max-height: 50px;
}
footer h5 {
font-size: 0.9rem;
font-size: 0.9rem;
}
footer ul li a,
footer ul li p {
font-size: 0.8rem;
color: #fff;
text-decoration: none;
font-size: 0.8rem;
color: #fff;
text-decoration: none;
}
footer ul li a:hover,
footer ul li a:focus {
color: #999999;
text-decoration: none;
color: #999999;
text-decoration: none;
}
footer address,
footer p {
font-size: 0.8rem;
font-size: 0.8rem;
}
footer .footer-copyright {
font-size: 0.8rem;
padding: 0.5rem 0;
font-size: 0.8rem;
padding: 0.5rem 0;
text-align: center;
}
......@@ -260,15 +328,16 @@ footer .footer-copyright {
@media (min-width: 1400px) {
.container-main {
max-width: 1600px;
max-width: 1600px;
}
}
@media (min-width: 1400px) {
.em-navbar-wrap .navbar-brand {
padding-right: 2rem;
padding-right: 2rem;
}
.em-navbar-wrap .navbar .navbar-nav {
padding-left: 2rem;
padding-left: 2rem;
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100.8 92.9" style="enable-background:new 0 0 100.8 92.9;" xml:space="preserve">
<style type="text/css">
.st0{fill:#0880C4;}
</style>
<g>
<g>
<path class="st0" d="M54,19c-3.2-0.8-3.9,1.3-5.4,2.2c-1.5,0.8-3,3.2-2.2,3.5s18.4,6,18.4,6l-5.6,6.7c0,0-12.1,0.8-11,2.2
c1,1.1,6,5.6,7.4,6.8c1.3,1.4,5.8,6.3,6.9,7.3c1.3,1.2,2.2-10.8,2.2-10.8l6.7-5.5c0,0,5.7,17.3,6.1,18.2c0.3,0.8,2.7-0.7,3.5-2.2
s3-2.2,2.2-5.3c-0.8-3.2-3.5-17.2-3.5-17.2s7.9-8.5,9.9-11.3s2.5-6.1,0.9-7.6l0,0l0,0l0,0l0,0c-1.5-1.6-4.9-1.1-7.7,0.9
c-2.9,2-11.5,9.8-11.5,9.8S57.2,19.8,54,19z M7,76.2l-0.2,2.7c0.8,0.1,1.6,0,2.4,0c0.4,0,0.8-0.1,1.2-0.2l0.6-0.1l0.6-0.1
l-0.7-2.6C9.6,76.2,8.3,76.4,7,76.2z M2.7,72.4L0,72.9c0.2,0.8,0.4,1.7,0.8,2.5c0.4,0.8,1.1,1.6,1.9,2.1l1.6-2.2
C3.5,74.7,2.9,73.7,2.7,72.4z M3.4,65.5l-2.6-0.7c-0.4,1.4-0.7,2.9-0.8,4.4l2.7,0.2C2.7,68.1,3,66.8,3.4,65.5z M28.5,70.2
c1.2-0.8,2.4-1.5,3.6-2.3l-1.5-2.3c-1.2,0.8-2.3,1.5-3.5,2.3L28.5,70.2z M25.6,71.9l-1.4-2.3c-1.2,0.7-2.4,1.4-3.6,2.1l1.3,2.4
C23.2,73.4,24.4,72.7,25.6,71.9z M13.9,74.9l1,2.5c1.4-0.5,2.7-1.1,4-1.8l-1.2-2.4C16.5,73.8,15.2,74.4,13.9,74.9z M45.5,55
l1.7,2.1c1.1-0.9,2.2-1.7,3.3-2.6l-1.7-2.1C47.7,53.3,46.6,54.1,45.5,55z M41.1,61.6c1.1-0.8,2.3-1.7,3.4-2.5l-1.6-2.2l-3.5,2.6
L41.1,61.6z M34.9,66c1.2-0.8,2.3-1.6,3.5-2.4l-1.6-2.2c-1.1,0.8-2.3,1.6-3.4,2.4L34.9,66z M93.1,20.9l-3.9,3.2
c4.2,6.5,6.6,14.1,6.6,22.3c0,22.9-18.8,41.5-42,41.5c-11.1,0-21.2-4.3-28.7-11.2l-3.9,3.2c8.5,8,19.9,13,32.6,13
c25.9,0,47-20.9,47-46.5C100.9,37.1,98,28.3,93.1,20.9z M11.9,46.5C11.9,23.6,30.7,5,53.9,5c8.8,0,16.9,2.7,23.6,7.2l3.9-3.4
C73.7,3.3,64.2,0,53.9,0C28,0,6.9,20.9,6.9,46.5c0,8.3,2.2,16.2,6.1,22.9l3.9-3.4C13.7,60.2,11.9,53.5,11.9,46.5z"/>
</g>
</g>
</svg>
<html><head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<noscript>Your browser does not support JavaScript!</noscript>
<link rel="icon" href="data:;base64,=">
<title>TMS Web Project</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" rel="stylesheet">
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" type="text/javascript"></script>
<script type="text/javascript" src="$(ProjectName).js"></script>
<style>
</style>
</head>
<body>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<noscript>Your browser does not support JavaScript!</noscript>
<link rel="icon" href="data:;base64,=">
<title>TMS Web Project</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300&display=swap" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" rel="stylesheet">
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css"
rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"
type="text/javascript"></script>
<link href="css/App.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="$(ProjectName).js"></script>
<style>
</style>
</head>
<body>
<script type="text/javascript">
rtl.run();
</script>
</body></html>
\ No newline at end of file
</body>
</html>
\ No newline at end of file
......@@ -4,7 +4,7 @@ uses
Vcl.Forms,
WEBLib.Forms,
View.Home in 'View.Home.pas' {FHome: TWebForm} {*.html},
Unit1 in 'Unit1.pas' {Frame1: TWebFrame};
View.ContactUs in 'View.ContactUs.pas' {FContactUs: TWebForm} {*.html};
{$R *.res}
......
......@@ -103,14 +103,24 @@
<FormType>dfm</FormType>
<DesignClass>TWebForm</DesignClass>
</DCCReference>
<DCCReference Include="View.ContactUs.pas">
<Form>FContactUs</Form>
<FormType>dfm</FormType>
<DesignClass>TWebForm</DesignClass>
</DCCReference>
<None Include="spotcurrencywebsite.html"/>
<None Include="css\App.css"/>
<None Include="images\computer_code.jpg"/>
<None Include="images\EM_Logo_2c66a0.png"/>
<None Include="images\EM_Logo2_Copy5-1024x173.png"/>
<None Include="images\EM_Logo_White.png"/>
<None Include="images\niagara.jpg"/>
<None Include="images\table_with_computers.jpg"/>
<None Include="images\background-pattern.gif"/>
<None Include="images\europe.jpg"/>
<None Include="images\spot-logo-long.png"/>
<None Include="images\travel-checklist-text.png"/>
<None Include="images\travel-checklist.jpg"/>
<None Include="images\background_pattern.gif"/>
<None Include="images\spot_logo_long.png"/>
<None Include="images\travel_checklist.jpg"/>
<None Include="images\travel_checklist_text.png"/>
<None Include="images\spot_logo_long.jpg"/>
<None Include="images\icon-plane.svg"/>
<BuildConfiguration Include="Release">
<Key>Cfg_2</Key>
<CfgParent>Base</CfgParent>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment