commit b64778e8bd53a43c25ab4cbca275e533aaf53366 Author: Amaryllis Kulla <ancurio@mapleshrine.eu> Date: Fri Sep 8 01:20:51 2023 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dfcfd56 --- /dev/null +++ b/.gitignore @@ -0,0 +1,350 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..61b7f8c --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Arda Acar + +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..be8bdf4 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# Demo + +If you want to see the demo, you can reach the demo by [clicking here](https://ardacarofficial.github.io/links-website/ "ardacarofficial.github.io/links-website/") link. + + + + +# Install + +First, clone the file with the following command. Then apply the [component](https://github.com/ardacarofficial/links-website/wiki/Component-Settings "component") and [design](https://github.com/ardacarofficial/links-website/wiki/Design-Settings "design") settings. You can check the [wiki](https://github.com/ardacarofficial/links-website/wiki "wiki") for help. + +```sh +git clone https://github.com/ardacarofficial/links-website.git +``` + +You can then upload your files to any hosting. + +# Note + +Contributions are what make the open source community a great place to learn, inspire and create. Your contributions are greatly appreciated. + +If you have a suggestion to make this better, please fork the repository and create a pull request. You can also open an issue with the "Development" tag. If you want, you can also share it in the [discussions](https://github.com/ardacarofficial/links-website/discussions/ "discussions") section. Don't forget to give stars to the project! + +# License +Distributed under the MIT license. See [LICENSE](https://github.com/ardacarofficial/links-website/blob/main/LICENSE "LICENSE") file for more information. diff --git a/css/reset.css b/css/reset.css new file mode 100644 index 0000000..cd5b72b --- /dev/null +++ b/css/reset.css @@ -0,0 +1,51 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ +* { + box-sizing: border-box; +} + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, button, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..9e3ad90 --- /dev/null +++ b/css/style.css @@ -0,0 +1,270 @@ +/* From the :root element you can easily change the colors of the design, its size and so on. */ +:root { + + /* You can change the font family in the whole design here. (You need to add the font family to the codes.) */ + --font_family: 'Inter', sans-serif; + + /* You can change the font size here, is proportional to all texts. */ + --font_size: 16px; + + /* You can change the background color by typing the color code. (If you do not enter a background-image image, the background-color will be active.) */ + --background_color: #000; + --background_image: url("../img/wallpaper.png"); + + /* You can change the frame thickness and color of the picture by typing the number of pixels and the color code. */ + --image_border_color: #1f232e; + --image_border_px: 3px; + + /* You can change the width and size of the picture by typing the number of pixels. */ + --image_width: 140px; + --image_height: 140px; + + /* You can change the colors of the title and description section by typing the color codes. */ + --title_color: #fff; + --description_color: #fff; + + /* You can change the colors of social media icons by changing the color code. */ + --svg_color: #fff; + + /* You can change the background, text color and active color of the menu by changing the color codes. */ + --menu_background_color: #1d1e24; + --menu_text_color: #fff; + --menu_active_text_color: #d7e04f; + + /* You can change the button's background, text color and active color by changing the color codes. */ + --button_background_color: #1d1e24; + --button_text_color: #fff; + --button_text_hover_color: #d7e04f; + + /* You can change the background, text color and active color of the text field by changing the color codes. */ + --textarea_background_color: #1d1e24; + --textarea_text_color: #fff; + --textarea_link_text_color: #d7e04f; + + /* You can change the background, text color and active color of the footer area by changing the color codes. */ + --footer_background_color: #1d1e24; + --footer_text_color: #fff; + --footer_link_text_color: #d7e04f; +} + +/* Basic Codes */ + +body { + font: var(--font_size) var(--font_family); + font-weight: 400; + line-height: 1.5; + background: var(--background_color) var(--background_image) no-repeat center; + min-height: 100vh; + display: flex; + flex-direction: column; + flex-wrap: wrap; +} + +.flex_column_center { + display: flex; + flex-direction: column; + flex-wrap: wrap; + justify-content: center; + align-items: center; +} + +.flex_row_center { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; + align-items: center; +} + +.flex_no_wrap_row_center { + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: center; + align-items: center; +} + +/* Logo, Title and Description Codes */ + +.header_img { + padding-top: 1em; +} + +.header_img img { + height: var(--image_height); + width: var(--image_width); + border: var(--image_border_px) solid var(--image_border_color); + border-radius: 50%; + margin-bottom: 0.5em; +} + +.header_text h1 { + color: var(--title_color); + font-size: 2em; +} + +.header_text h2 { + color: var(--description_color); + font-size: 1.5em; +} + +/* Social Media Icons Codes */ + +.header_svg_list { + padding-top: 1em; +} + +.header_svg_item { + width: 2.1em; + height: 2.1em; + cursor: pointer; +} + +.header_svg_item + .header_svg_item { + margin-left: 1em; +} + +.header_svg_item svg { + fill: var(--svg_color); +} + +/* Menu Codes */ + +#header_nav_menu_item_1 { + color: var(--menu_active_text_color); +} + +#header_nav_menu_item_2, +#header_nav_menu_item_3 { + color: var(--menu_text_color); +} + + +.header_nav_menu_list { + padding-top: 1em; + margin-left: 1em; + margin-right: 1em; +} + +.header_nav_menu_item { + color: var(--menu_text_color); + background-color: var(--menu_background_color); + text-align: center; + list-style-type: none; + cursor: pointer; + padding: 0.5em; + border-radius: 0.3em; + cursor: pointer; + transition: 0.10s ease; + font-size: 1.1em; +} + +.header_nav_menu_item + .header_nav_menu_item { + margin-left: 0.4em; +} + +/* Menu Container Codes */ + +main { + margin-bottom: auto; +} + +#main_section_container_2, #main_section_container_3 { + display: none; +} + +.main_a_item { + margin-top: 1em; + text-decoration: none; +} + +.main_text_item { + display: flex; + align-items: center; + justify-content: center; + color: var(--button_text_color); + background-color: var(--button_background_color); + width: 41em; + margin-top: 1em; + padding: 0.8em; + border-radius: 0.3em; + min-height: 3.7em; + text-align: center; +} + +.main_button_item { + color: var(--button_text_color); + background-color: var(--button_background_color); + width: 41em; + border-radius: 1em; + min-height: 3.7em; + text-align: center; + cursor: pointer; +} + +.main_small_button_list { + display: flex; + flex-direction: row; +} + +.main_small_a_item { + margin-top: 1em; + text-decoration: none; +} + +.main_small_a_item + .main_small_a_item { + margin-left: 10px; +} + +.main_small_button_item:hover, +.main_button_item:hover { + color: var(--button_text_hover_color); + transform: scale(1.02); + transition: 0.10s ease; +} + +.main_small_button_item { + color: var(--button_text_color); + background-color: var(--button_background_color); + width: calc(41em / 2 - 5px); + border-radius: 1em; + min-height: 3.7em; + text-align: center; + cursor: pointer; +} + +/* Footer Codes */ + +.footer_div_item { + color: var(--footer_text_color); + background: var(--footer_background_color); + padding: 1em; + margin-top: 1.5em; +} + +.footer_a_item { + color: var(--footer_link_text_color); + text-decoration: none; +} + +/* Responsive Codes */ + +@media (max-width: 768px) { + .main_text_item { + width: 92vw; + } + + .main_small_button_item { + width: calc(92vw / 2 - 5px);; + } + + .main_button_item { + width: 92vw; + } + + .header_h_item { + width: 92vw; + text-align: center; + } + +} diff --git a/img/logo.png b/img/logo.png new file mode 100644 index 0000000..5e3908c Binary files /dev/null and b/img/logo.png differ diff --git a/img/wallpaper.png b/img/wallpaper.png new file mode 100644 index 0000000..d2c0f6f Binary files /dev/null and b/img/wallpaper.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..bed9645 --- /dev/null +++ b/index.html @@ -0,0 +1,202 @@ +<!-- +----------------- +https://github.com/ardacarofficial/links-website is open source project. +----------------- +--> + +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="UTF-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>links-website</title> + <meta name="description" content="List all your links on one website."> + <meta property="og:title" content="links-website" /> + <meta property="og:description" content="List all your links on one website." /> + <meta property="og:image" content="img/logo.png" /> + <meta property="og:author" content="John Doe" /> + <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap"> + <link rel="stylesheet" href="css/reset.css"> + <link rel="stylesheet" href="css/style.css"> + </head> + <body> + <header> + <!-- Logo, Title and Description Codes Start --> + <div class="header_img flex_column_center"> + <img src="img/logo.png" alt="Logo" /> + </div> + <div class="header_text flex_column_center"> + <h1 class="header_h_item">Your Title</h1> + <h2 class="header_h_item">Your Description</h2> + </div> + <!-- Logo, Title and Description Codes End --> + + <!-- Social Media Icons Codes Start --> + <div class="header_svg_list flex_row_center"> + + <!-- Icon 1 Codes --> + <div class="header_svg_item"> + <a href="#link" target="_blank" rel="nofollow"> + <svg enable-background="new 0 0 24 24" viewBox="0 0 24 24"> + <path d="M23,12A11,11,0,1,0,10.279,22.865h0a11.08,11.08,0,0,0,3.436,0h0A10.952,10.952,0,0,0,23,12ZM10.859,21.935v-6.9a.5.5,0,0,0-.5-.5H8.193V12.5h2.166a.5.5,0,0,0,.5-.5V9.686c0-2.278,1.264-3.585,3.459-3.585a15.392,15.392,0,0,1,1.858.137V7.89h-.824l-.019,0a2,2,0,0,0-2.181,1.735,1.8,1.8,0,0,0-.011.4V12a.5.5,0,0,0,.5.5H15.97l-.312,2.035H13.641a.5.5,0,0,0-.5.5v6.9A10.124,10.124,0,0,1,10.859,21.935Zm3.282-.166V15.535h1.946a.5.5,0,0,0,.5-.425l.465-3.035a.5.5,0,0,0-.494-.575H14.141V10.016a1.267,1.267,0,0,1,.308-.821,1.218,1.218,0,0,1,.9-.3h1.324a.5.5,0,0,0,.5-.5V5.806a.5.5,0,0,0-.42-.494A16.661,16.661,0,0,0,14.325,5.1c-2.754,0-4.466,1.757-4.466,4.585V11.5H7.693a.5.5,0,0,0-.5.5v3.035a.5.5,0,0,0,.5.5H9.859v6.234a10,10,0,1,1,4.282,0Z"></path> + </svg> + </a> + </div> + <!-- Icon 2 Codes --> + <div class="header_svg_item"> + <a href="#link" target="_blank" rel="nofollow"> + <svg enable-background="new 0 0 24 24" viewBox="0 0 24 24"> + <path d="M8.1,21.034A12.717,12.717,0,0,1,1.23,19.019a.5.5,0,0,1,.329-.917,8.273,8.273,0,0,0,4.992-1,4.807,4.807,0,0,1-3.173-3.13.5.5,0,0,1,.348-.636A4.821,4.821,0,0,1,1.843,9.523a.548.548,0,0,1,.247-.458.506.506,0,0,1,.5-.034l.091.049A4.816,4.816,0,0,1,2.529,4a.507.507,0,0,1,.393-.247.5.5,0,0,1,.427.183,11.781,11.781,0,0,0,7.9,4.27c-.013-.144-.02-.289-.02-.435a4.81,4.81,0,0,1,8.116-3.493,8.157,8.157,0,0,0,2.32-.93.5.5,0,0,1,.73.583,4.781,4.781,0,0,1-.662,1.32c.191-.067.378-.143.563-.225a.5.5,0,0,1,.585.135.5.5,0,0,1,.034.6,9.2,9.2,0,0,1-2.057,2.2c0,.1,0,.208,0,.313A12.636,12.636,0,0,1,8.1,21.034ZM3.527,19.105a11.72,11.72,0,0,0,4.577.929A11.645,11.645,0,0,0,19.863,8.275c0-.179,0-.357-.012-.533a.5.5,0,0,1,.207-.43,8.181,8.181,0,0,0,.959-.81,9.068,9.068,0,0,1-.932.16.5.5,0,0,1-.316-.925,3.857,3.857,0,0,0,.977-.837,9.013,9.013,0,0,1-1.465.418.5.5,0,0,1-.461-.148,3.812,3.812,0,0,0-6.491,3.473.5.5,0,0,1-.1.434.489.489,0,0,1-.409.179A12.772,12.772,0,0,1,3.09,5.167,3.812,3.812,0,0,0,4.573,9.591a.5.5,0,0,1,.2.569.523.523,0,0,1-.491.347,4.772,4.772,0,0,1-1.36-.242A3.813,3.813,0,0,0,5.9,13.257a.5.5,0,0,1,.033.972,6.63,6.63,0,0,1-1.279.17,3.809,3.809,0,0,0,3.236,1.914.5.5,0,0,1,.3.894A9.081,9.081,0,0,1,3.527,19.105Z"></path> + </svg> + </a> + </div> + <!-- Icon 3 Codes --> + <div class="header_svg_item"> + <a href="#link" target="_blank" rel="nofollow"> + <svg enable-background="new 0 0 24 24" viewBox="0 0 24 24"> + <path d="M4.425,1.671A2.738,2.738,0,0,0,1.5,4.4,2.71,2.71,0,0,0,4.369,7.128H4.4a2.734,2.734,0,1,0,.028-5.457ZM4.4,6.128H4.369a1.736,1.736,0,1,1,.056-3.457A1.737,1.737,0,1,1,4.4,6.128Z"></path> + <path d="M6.541,8.431H2.253a.5.5,0,0,0-.5.5v12.9a.5.5,0,0,0,.5.5H6.541a.5.5,0,0,0,.5-.5V8.931A.5.5,0,0,0,6.541,8.431Zm-.5,12.9H2.753V9.431H6.041Z"></path> + <path d="M17.064,8.128A4.691,4.691,0,0,0,13.7,9.362V8.931a.5.5,0,0,0-.5-.5H8.914a.5.5,0,0,0-.5.523c.053,1.183,0,12.756,0,12.873a.5.5,0,0,0,.5.5H13.2a.5.5,0,0,0,.5-.5v-7.2a2.749,2.749,0,0,1,.1-.86,1.869,1.869,0,0,1,1.737-1.254c.413,0,1.671,0,1.671,2.417v6.9a.5.5,0,0,0,.5.5H22a.5.5,0,0,0,.5-.5v-7.4C22.5,10.485,20.467,8.128,17.064,8.128Zm4.436,13.2H18.213v-6.4c0-2.973-1.673-3.417-2.671-3.417a2.83,2.83,0,0,0-2.664,1.878,3.253,3.253,0,0,0-.177,1.236v6.7H9.416c.009-2.058.04-9.654.009-11.9H12.7v1.328a.5.5,0,0,0,.92.272,3.769,3.769,0,0,1,3.443-1.9c2.819,0,4.436,1.934,4.436,5.305Z"></path> + </svg> + </a> + </div> + <!-- Icon 4 Codes --> + <div class="header_svg_item"> + <a href="#link" target="_blank" rel="nofollow"> + <svg enable-background="new 0 0 24 24" viewBox="0 0 24 24"> + <path d="M21.938,7.71a7.329,7.329,0,0,0-.456-2.394,4.615,4.615,0,0,0-1.1-1.694,4.61,4.61,0,0,0-1.7-1.1,7.318,7.318,0,0,0-2.393-.456C15.185,2.012,14.817,2,12,2s-3.185.012-4.29.062a7.329,7.329,0,0,0-2.394.456,4.615,4.615,0,0,0-1.694,1.1,4.61,4.61,0,0,0-1.1,1.7A7.318,7.318,0,0,0,2.062,7.71C2.012,8.814,2,9.182,2,12s.012,3.186.062,4.29a7.329,7.329,0,0,0,.456,2.394,4.615,4.615,0,0,0,1.1,1.694,4.61,4.61,0,0,0,1.7,1.1,7.318,7.318,0,0,0,2.393.456c1.1.05,1.472.062,4.29.062s3.186-.012,4.29-.062a7.329,7.329,0,0,0,2.394-.456,4.9,4.9,0,0,0,2.8-2.8,7.318,7.318,0,0,0,.456-2.393c.05-1.1.062-1.472.062-4.29S21.988,8.814,21.938,7.71Zm-1,8.534a6.351,6.351,0,0,1-.388,2.077,3.9,3.9,0,0,1-2.228,2.229,6.363,6.363,0,0,1-2.078.388C15.159,20.988,14.8,21,12,21s-3.159-.012-4.244-.062a6.351,6.351,0,0,1-2.077-.388,3.627,3.627,0,0,1-1.35-.879,3.631,3.631,0,0,1-.879-1.349,6.363,6.363,0,0,1-.388-2.078C3.012,15.159,3,14.8,3,12s.012-3.159.062-4.244A6.351,6.351,0,0,1,3.45,5.679a3.627,3.627,0,0,1,.879-1.35A3.631,3.631,0,0,1,5.678,3.45a6.363,6.363,0,0,1,2.078-.388C8.842,3.012,9.205,3,12,3s3.158.012,4.244.062a6.351,6.351,0,0,1,2.077.388,3.627,3.627,0,0,1,1.35.879,3.631,3.631,0,0,1,.879,1.349,6.363,6.363,0,0,1,.388,2.078C20.988,8.841,21,9.2,21,12S20.988,15.159,20.938,16.244Z"></path> + <path d="M17.581,5.467a.953.953,0,1,0,.952.952A.954.954,0,0,0,17.581,5.467Z"></path> + <path d="M12,7.073A4.927,4.927,0,1,0,16.927,12,4.932,4.932,0,0,0,12,7.073Zm0,8.854A3.927,3.927,0,1,1,15.927,12,3.932,3.932,0,0,1,12,15.927Z"></path> + </svg> + </a> + </div> + </div> + <!-- Social Media Icons Codes End --> + + <!-- Menu Codes Start --> + <nav> + <ul class="header_nav_menu_list flex_no_wrap_row_center"> + <li data-target="#main_section_container_1" id="header_nav_menu_item_1" class="header_nav_menu_item" href="">Menu 1</li> + <li data-target="#main_section_container_2" id="header_nav_menu_item_2" class="header_nav_menu_item" href="">Menu 2</li> + <li data-target="#main_section_container_3" id="header_nav_menu_item_3" class="header_nav_menu_item" href="">Menu 3</li> + </ul> + </nav> + <!-- Menu Codes End --> + </header> + <main> + <!-- Menu Container 1 Codes Start --> + <section id="main_section_container_1" class="flex_column_center"> + <!-- Menu Text Item --> + <div class="main_text_item"> + <p>Menu 1 text Lorem ipsum dolor sit amet consectetur adipisicing elit. Animi molestiae nesciunt, exercitationem quaerat maxime non!</p> + </div> + <!-- Menu Small Item --> + <div class="main_small_button_list"> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 1 Small Item</button> + </a> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 1 Small Item</button> + </a> + </div> + <!-- Menu Small Item --> + <div class="main_small_button_list"> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 1 Small Item</button> + </a> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 1 Small Item</button> + </a> + </div> + <!-- Menu Item --> + <a class="main_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_button_item">Menu 1 Item</button> + </a> + <!-- Menu Item --> + <a class="main_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_button_item">Menu 1 Item</button> + </a> + </section> + <!-- Menu Container 1 Codes End --> + + <!-- Menu Container 2 Codes Start --> + <section id="main_section_container_2" class="flex_column_center"> + <!-- Menu Text Item --> + <div class="main_text_item"> + <p>Menu 2 text Lorem ipsum dolor sit amet consectetur adipisicing elit. Animi molestiae nesciunt, exercitationem quaerat maxime non!</p> + </div> + <!-- Menu Small Item --> + <div class="main_small_button_list"> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 2 Small Item</button> + </a> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 2 Small Item</button> + </a> + </div> + <!-- Menu Small Item --> + <div class="main_small_button_list"> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 2 Small Item</button> + </a> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 2 Small Item</button> + </a> + </div> + <!-- Menu Item --> + <a class="main_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_button_item">Menu 2 Item</button> + </a> + <!-- Menu Item --> + <a class="main_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_button_item">Menu 2 Item</button> + </a> + </section> + <!-- Menu Container 2 Codes End --> + + <!-- Menu Container 3 Codes Start --> + <section id="main_section_container_3" class="flex_column_center"> + <!-- Menu Text Item --> + <div class="main_text_item"> + <p>Menu 3 text Lorem ipsum dolor sit amet consectetur adipisicing elit. Animi molestiae nesciunt, exercitationem quaerat maxime non!</p> + </div> + <!-- Menu Small Item --> + <div class="main_small_button_list"> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 3 Small Item</button> + </a> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 3 Small Item</button> + </a> + </div> + <!-- Menu Small Item --> + <div class="main_small_button_list"> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 3 Small Item</button> + </a> + <a class="main_small_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_small_button_item">Menu 3 Small Item</button> + </a> + </div> + <!-- Menu Item --> + <a class="main_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_button_item">Menu 3 Item</button> + </a> + <!-- Menu Item --> + <a class="main_a_item" href="#link" target="_blank" rel="nofollow"> + <button class="main_button_item">Menu 3 Item</button> + </a> + </section> + <!-- Menu Container 3 Codes End --> + </main> + <footer> + <!-- Footer Codes Start --> + <div class="footer_div_item flex_row_center"> + <a class="footer_a_item" href="#link">Your Name</a> | Copyright Text + </div> + </footer> + <!-- Footer Codes End --> + <script src="js/main.js"></script> + </body> +</html> diff --git a/js/main.js b/js/main.js new file mode 100644 index 0000000..2edb346 --- /dev/null +++ b/js/main.js @@ -0,0 +1,15 @@ +/* Menu Active Codes */ + +let targets = document.querySelectorAll('[data-target]') +targets.forEach(element => { + element.addEventListener('click', () => { + var target = document.querySelector(element.dataset.target) + targets.forEach(element2 => { + var target2 = document.querySelector(element2.dataset.target) + element2.style.color = 'var(--menu_text_color)' + target2.style.display = 'none' + }); + element.style.color = 'var(--menu_active_text_color)' + target.style.display= 'flex' + }) +})